|
Ontimize Document Management 0.035EN | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ontimize.dms.jcr.security.JcrUserCredentials
public class JcrUserCredentials
| Constructor Summary | |
|---|---|
JcrUserCredentials(java.lang.Object id,
java.lang.String userID,
char[] password)
Create a new SimpleCredentials object, given a user ID
and password. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the named attribute as an Object,
or null if no attribute of the given name exists. |
java.lang.String[] |
getAttributeNames()
Returns the names of the attributes available to this credentials instance. |
java.lang.Object |
getId()
|
char[] |
getPassword()
Returns the user password. |
java.lang.String |
getUserID()
Returns the user ID. |
void |
removeAttribute(java.lang.String name)
Removes an attribute from this credentials instance. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Stores an attribute in this credentials instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JcrUserCredentials(java.lang.Object id,
java.lang.String userID,
char[] password)
SimpleCredentials object, given a user ID
and password.
Note that the given password is cloned before it is stored
in the new SimpleCredentials object. This should
avoid the risk of having unnecessary references to password data
lying around in memory.
userID - the user IDpassword - the user's password| Method Detail |
|---|
public char[] getPassword()
public java.lang.String getUserID()
public java.lang.Object getId()
public void setAttribute(java.lang.String name,
java.lang.Object value)
name - a String specifying the name of the attributevalue - the Object to be storedpublic java.lang.Object getAttribute(java.lang.String name)
Object,
or null if no attribute of the given name exists.
name - a String specifying the name of the attribute
Object containing the value of the attribute,
or null if the attribute does not existpublic void removeAttribute(java.lang.String name)
name - a String specifying the name of the attribute
to removepublic java.lang.String[] getAttributeNames()
|
Ontimize Document Management | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||