org.openorb.orb.csiv2
Class CSIUser
java.lang.Object
|
+--org.openorb.orb.csiv2.CSIUser
- public class CSIUser
- extends java.lang.Object
This class is needed as a container for storing both name, a password
and eventually an identity in a thread local variable.
- Author:
- Michael Rumpf
|
Constructor Summary |
CSIUser(java.lang.String name,
char[] password)
Constructor. |
CSIUser(java.lang.String name,
java.lang.String password)
Constructor. |
|
Method Summary |
void |
addIdentity(java.lang.String id)
Add an identity to the user. |
java.lang.String |
getIdentity()
Return the identity of the user. |
java.lang.String |
getName()
Return the name of the user. |
char[] |
getPassword()
Return the password of the user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSIUser
public CSIUser(java.lang.String name,
char[] password)
- Constructor.
- Parameters:
name - The name of the user.password - The password of the user.
CSIUser
public CSIUser(java.lang.String name,
java.lang.String password)
- Constructor.
- Parameters:
name - The name of the user.password - The password of the user.
addIdentity
public void addIdentity(java.lang.String id)
- Add an identity to the user.
- Parameters:
id - The name of the identity.
getName
public java.lang.String getName()
- Return the name of the user.
- Returns:
- The user's name.
getPassword
public char[] getPassword()
- Return the password of the user.
- Returns:
- The user's password.
getIdentity
public java.lang.String getIdentity()
- Return the identity of the user.
- Returns:
- The user's identity.