|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tyrex.security.NamePasswordCallback
Callback for name/password authentication. Can be used by a login module to request the user name, password and realm in order to authenticate.
This information will be supplied by a non-GUI capable container.
The realm is supplied by the login module, and may be ignored, used to obtain a suitable name/password, or determine that no name/password is available for that login module.
Constructor Summary | |
NamePasswordCallback()
|
Method Summary | |
java.lang.String |
getName()
Returns the retrieved name. |
char[] |
getPassword()
Returns the retrieved password. |
java.lang.String |
getRealm()
Returns the realm. |
void |
setName(java.lang.String name)
Sets the retrieved name. |
void |
setPassword(char[] password)
Sets the retrieved password. |
void |
setRealm(java.lang.String realm)
Sets the realm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NamePasswordCallback()
Method Detail |
public void setName(java.lang.String name)
name
- The retrieved name (may be null)public java.lang.String getName()
public void setPassword(char[] password)
public char[] getPassword()
public void setRealm(java.lang.String realm)
public java.lang.String getRealm()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |