|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.authentication.User
This class represents a user within OpenJMS.
Constructor Summary | |
User()
Construct a new User |
|
User(java.lang.String username,
java.lang.String password)
Construct a new User |
Method Summary | |
java.lang.String |
getPassword()
Returns the user's password |
java.lang.String |
getUsername()
Returns the user's name |
void |
setPassword(java.lang.String password)
Sets the user's password |
void |
setUsername(java.lang.String username)
Sets the user's name |
java.lang.String |
toString()
Returns a stringified representation of this |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public User()
User
public User(java.lang.String username, java.lang.String password)
User
username
- the user's namepassword
- the user's passwordMethod Detail |
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the user's namepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the user's passwordpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |