Searched defs:mech (Results 1 - 3 of 3) sorted by relevance

/javamail/mail/src/test/java/com/sun/mail/imap/
H A DIMAPSaslHandler.java72 public void authenticate(String mech, String ir) throws IOException { argument
124 ss = Sasl.createSaslServer(mech, "imap", "localhost", null, cbh);
H A DIMAPHandler.java222 String mech = ct.nextToken().toUpperCase();
226 authenticate(mech, ir);
285 public void authenticate(String mech, String ir) throws IOException { argument
286 if (mech.equals("LOGIN"))
288 else if (mech.equals("PLAIN"))
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java856 private final String mech; // the mechanism name, set in the constructor field in class:SMTPTransport.Authenticator
859 Authenticator(String mech) { argument
860 this(mech, true);
863 Authenticator(String mech, boolean enabled) { argument
864 this.mech = mech.toUpperCase(Locale.ENGLISH);
869 return mech;
888 logger.fine("AUTH " + mech + " command trace suppressed");
892 resp = simpleCommand("AUTH " + mech + " " +
895 resp = simpleCommand("AUTH " + mech);
[all...]

Completed in 39 milliseconds