| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UsernamePassword
This interface encapsulates a username/password pair. Instances of UsernamePassword are immutable.
Note: implementations of this interface are not required to be thread-safe. Clients of this interface are responsible to do synchronization if required by the usage pattern.
| Method Summary | |
|---|---|
|  char[] | getPassword()Note: to maintain the immutability of UsernamePassword, a new copy of the password character array is returned. | 
|  String | getUsername() | 
| Method Detail | 
|---|
String getUsername()
IllegalStateException - if this UsernamePassword has already been
 disposed.char[] getPassword()
IllegalStateException - if this UsernamePassword has already been
 disposed.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||