|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.javamail.authentication.LoginAuthenticator
public class LoginAuthenticator
| Field Summary | |
|---|---|
protected static int |
COMPLETE
|
protected String |
password
|
protected static int |
PASSWORD
|
protected int |
stage
|
protected String |
username
|
protected static int |
USERNAME
|
| Constructor Summary | |
|---|---|
LoginAuthenticator(String username,
String password)
Main constructor. |
|
| Method Summary | |
|---|---|
byte[] |
evaluateChallenge(byte[] challenge)
Evaluate a PLAIN login challenge, returning the a result string that should satisfy the clallenge. |
String |
getMechanismName()
Retrieve the authenticator mechanism name. |
boolean |
hasInitialResponse()
Respond to the hasInitialResponse query. |
boolean |
isComplete()
Indicate whether the challenge/response process is complete. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int USERNAME
protected static final int PASSWORD
protected static final int COMPLETE
protected String username
protected String password
protected int stage
| Constructor Detail |
|---|
public LoginAuthenticator(String username,
String password)
username - The login user name.password - The login password.| Method Detail |
|---|
public boolean hasInitialResponse()
hasInitialResponse in interface ClientAuthenticatorpublic boolean isComplete()
isComplete in interface ClientAuthenticatorpublic String getMechanismName()
getMechanismName in interface ClientAuthenticator
public byte[] evaluateChallenge(byte[] challenge)
throws MessagingException
evaluateChallenge in interface ClientAuthenticatorchallenge - The decoded challenge data, as a byte array
MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||