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

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

public class PasswordBasedUserAccount
extends UserAccount


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

Constructor Detail

PasswordBasedUserAccount

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

equals

public boolean equals(Object obj)