org.eclipse.higgins.idas.cp.jena2.impl.authentication
Class UserAccount
java.lang.Object
org.eclipse.higgins.idas.cp.jena2.impl.authentication.UserAccount
- All Implemented Interfaces:
- IUserAccount
- Direct Known Subclasses:
- PasswordBasedUserAccount
- public abstract class UserAccount
- extends Object
- implements IUserAccount
|
Constructor Summary |
UserAccount(com.hp.hpl.jena.ontology.OntModel model,
com.hp.hpl.jena.ontology.Individual accountInd,
Object credentials)
|
UserAccount
public UserAccount(com.hp.hpl.jena.ontology.OntModel model,
com.hp.hpl.jena.ontology.Individual accountInd,
Object credentials)
throws org.eclipse.higgins.idas.api.IdASException
- Parameters:
model - accountInd - credentials -
- Throws:
org.eclipse.higgins.idas.api.IdASException
getCredentials
public Object getCredentials()
- Specified by:
getCredentials in interface IUserAccount
- Returns:
- Credentials used to open the context.
getUserToken
public String getUserToken()
- Specified by:
getUserToken in interface IUserAccount
- Returns:
- The token used to mark user subjects.
Should be unique for each user within the context or null.
If this value is not null, the user opened the context can operate (get|modify|delete) only with subjects marked with this token (Individual of DigitalSibject should have $userToken datatype property with this value).
If this value is null, the user opened the context has unlimited access to the context.