org.eclipse.higgins.idas.cp.jena2
Interface IUserAccount
- All Known Implementing Classes:
- PasswordBasedUserAccount, PPIDBasedUserAccount, UserAccount
public interface IUserAccount
getKey
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
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
Object getCredentials()
- Returns:
- Credentials used to open the context.