org.eclipse.higgins.idas.cp.jena2
Interface IUserAccount

All Known Implementing Classes:
UserAccount

public interface IUserAccount


Method Summary
 Object getCredentials()
           
 Key getKey()
           
 String getUserToken()
           
 

Method Detail

getKey

public Key getKey()
           throws org.eclipse.higgins.idas.api.IdASException
Returns:
The symmetric key used to encrypt/decrypt user's data. This key should be held in the user's account in encrypted form. The user's credentials should be used to encrypt/decrypt it.
Throws:
org.eclipse.higgins.idas.api.IdASException

getUserToken

public String getUserToken()
                    throws org.eclipse.higgins.idas.api.IdASException
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.
Throws:
org.eclipse.higgins.idas.api.IdASException

getCredentials

public Object getCredentials()
Returns:
Credentials used to open the context.