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

java.lang.Object
  extended byorg.eclipse.higgins.idas.cp.jena2.impl.authentication.UserAccount
      extended byorg.eclipse.higgins.idas.cp.jena2.impl.authentication.PPIDBasedUserAccount
All Implemented Interfaces:
IUserAccount

public class PPIDBasedUserAccount
extends UserAccount


Constructor Summary
PPIDBasedUserAccount(com.hp.hpl.jena.ontology.OntModel model, com.hp.hpl.jena.ontology.Individual accountInd, Object credentials)
           
 
Method Summary
 Key getKey()
           
 
Methods inherited from class org.eclipse.higgins.idas.cp.jena2.impl.authentication.UserAccount
getCredentials, getUserToken
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PPIDBasedUserAccount

public PPIDBasedUserAccount(com.hp.hpl.jena.ontology.OntModel model,
                            com.hp.hpl.jena.ontology.Individual accountInd,
                            Object credentials)
                     throws org.eclipse.higgins.idas.api.IdASException
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