tyrex.security
public class NamePasswordCallback extends Object implements Callback
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.
Version: $Revision: 1.4 $ $Date: 2001/03/12 19:20:18 $
Method Summary | |
---|---|
String | getName()
Returns the retrieved name.
|
char[] | getPassword()
Returns the retrieved password.
|
String | getRealm()
Returns the realm.
|
void | setName(String name)
Sets the retrieved name.
|
void | setPassword(char[] password)
Sets the retrieved password.
|
void | setRealm(String realm)
Sets the realm.
|
Returns: The retrieved name (may be null)
Returns: The retrieved password (may be null)
Returns: The realm (may be null)
Parameters: name The retrieved name (may be null)
Parameters: name The retrieved password (may be null)
Parameters: name The realm (may be null)