com.atlassian.crowd.integration.model
Class RemotePrincipal

java.lang.Object
  extended by com.atlassian.crowd.integration.model.DirectoryEntity
      extended by com.atlassian.crowd.integration.model.RemotePrincipal
All Implemented Interfaces:
Serializable, Principal

public class RemotePrincipal
extends DirectoryEntity
implements Principal, Serializable

The RemotePrincipal is in an implementation of the crowd principal interface. This represents an entity, such as a login id for an individual.

See Also:
Serialized Form

Field Summary
protected  List credentialHistory
          Credentials history.
protected  List credentials
          Credentials for the entity.
static String EMAIL
          Key for the email attribute.
static String FIRSTNAME
          Key for the first name attribute.
static String INVALID_PASSWORD_ATTEMPTS
          Key for the total invalid password attempts.
static String LAST_AUTHNETICATED
          Key for the last authentication.
static String LASTNAME
          Key for the last name attribute.
static String PASSWORD_LASTCHANGED
          Key for the password last changed attribute.
static String REQUIRES_PASSSWORD_CHANGE
          Key for if the principal needs to change their password.
 
Fields inherited from class com.atlassian.crowd.integration.model.DirectoryEntity
active, attributes, conception, description, directoryID, ID, lastModified, name
 
Constructor Summary
RemotePrincipal()
           
RemotePrincipal(String name)
           
 
Method Summary
 List getCredentialHistory()
           
 List getCredentials()
           
 String getEmail()
           
 void setCredentialHistory(List credentialHistory)
           
 void setCredentials(List credentials)
           
 void setEmail(String email)
           
 
Methods inherited from class com.atlassian.crowd.integration.model.DirectoryEntity
equals, getAttribute, getAttributes, getConception, getDescription, getDirectoryID, getID, getLastModified, getName, hashCode, isActive, setActive, setAttribute, setAttribute, setAttributes, setConception, setDescription, setDirectoryID, setID, setLastModified, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Field Detail

FIRSTNAME

public static final String FIRSTNAME
Key for the first name attribute.

See Also:
Constant Field Values

LASTNAME

public static final String LASTNAME
Key for the last name attribute.

See Also:
Constant Field Values

EMAIL

public static final String EMAIL
Key for the email attribute.

See Also:
Constant Field Values

PASSWORD_LASTCHANGED

public static final String PASSWORD_LASTCHANGED
Key for the password last changed attribute.

See Also:
Constant Field Values

LAST_AUTHNETICATED

public static final String LAST_AUTHNETICATED
Key for the last authentication.

See Also:
Constant Field Values

INVALID_PASSWORD_ATTEMPTS

public static final String INVALID_PASSWORD_ATTEMPTS
Key for the total invalid password attempts.

See Also:
Constant Field Values

REQUIRES_PASSSWORD_CHANGE

public static final String REQUIRES_PASSSWORD_CHANGE
Key for if the principal needs to change their password.

See Also:
Constant Field Values

credentials

protected List credentials
Credentials for the entity.


credentialHistory

protected List credentialHistory
Credentials history.

Constructor Detail

RemotePrincipal

public RemotePrincipal()

RemotePrincipal

public RemotePrincipal(String name)
Method Detail

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getCredentials

public List getCredentials()

setCredentials

public void setCredentials(List credentials)

getCredentialHistory

public List getCredentialHistory()

setCredentialHistory

public void setCredentialHistory(List credentialHistory)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.