org.eclipse.higgins.idas.cp.jena2.impl.authentication
Class UserAccount

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 Object getCredentials()
           
 String getUserToken()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.cp.jena2.IUserAccount
getKey
 

Constructor Detail

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
Method Detail

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.