|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.model.DirectoryEntity
com.atlassian.crowd.integration.model.RemotePrincipal
public class RemotePrincipal
The RemotePrincipal is in an implementation of the crowd principal
interface. This represents an entity, such as a login id for an individual.
| Field Summary | |
|---|---|
protected java.util.List<PasswordCredential> |
credentialHistory
Credentials history. |
protected java.util.List<PasswordCredential> |
credentials
Credentials for the entity. |
static java.lang.String |
DISPLAYNAME
Key for if the principal has a display name attribute. |
static java.lang.String |
EMAIL
Key for the email attribute. |
static java.lang.String |
FIRSTNAME
Key for the first name attribute. |
protected java.util.Set<RemoteGroup> |
groups
Groups the principal is a member of. |
static java.lang.String |
INVALID_PASSWORD_ATTEMPTS
Key for the total invalid password attempts. |
static java.lang.String |
LAST_AUTHENTICATED
Key for the last authentication. |
static java.lang.String |
LASTNAME
Key for the last name attribute. |
static java.lang.String |
PASSWORD_LASTCHANGED
Key for the password last changed attribute. |
static java.lang.String |
REQUIRES_PASSSWORD_CHANGE
Key for if the principal needs to change their password. |
protected java.util.Set<RemoteRole> |
roles
Roles the principal is a member of. |
| Fields inherited from class com.atlassian.crowd.integration.model.DirectoryEntity |
|---|
active, attributes, conception, description, directoryID, ID, lastModified, name |
| Constructor Summary | |
|---|---|
RemotePrincipal()
|
|
RemotePrincipal(RemotePrincipal principal)
|
|
RemotePrincipal(java.lang.String name)
|
|
| Method Summary | |
|---|---|
java.util.List<PasswordCredential> |
getCredentialHistory()
|
java.util.List<PasswordCredential> |
getCredentials()
|
java.lang.String |
getEmail()
|
void |
setCredentialHistory(java.util.List<PasswordCredential> credentialHistory)
|
void |
setCredentials(java.util.List<PasswordCredential> credentials)
|
void |
setEmail(java.lang.String email)
|
| Methods inherited from class com.atlassian.crowd.integration.model.DirectoryEntity |
|---|
compareTo, equals, getAttribute, getAttributes, getConception, getDescription, getDirectoryID, getID, getLastModified, getName, getSingleAttributeValue, hashCode, isActive, setActive, setAttribute, setAttributes, setConception, setDescription, setDirectoryID, setID, setLastModified, setName, setOrReplaceAttribute, setOrReplaceAttribute, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, getName, hashCode, toString |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
public static final java.lang.String FIRSTNAME
public static final java.lang.String LASTNAME
public static final java.lang.String EMAIL
public static final java.lang.String PASSWORD_LASTCHANGED
public static final java.lang.String LAST_AUTHENTICATED
public static final java.lang.String INVALID_PASSWORD_ATTEMPTS
public static final java.lang.String REQUIRES_PASSSWORD_CHANGE
protected java.util.List<PasswordCredential> credentials
protected java.util.List<PasswordCredential> credentialHistory
protected java.util.Set<RemoteGroup> groups
protected java.util.Set<RemoteRole> roles
public static final java.lang.String DISPLAYNAME
| Constructor Detail |
|---|
public RemotePrincipal()
public RemotePrincipal(java.lang.String name)
public RemotePrincipal(RemotePrincipal principal)
| Method Detail |
|---|
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public java.util.List<PasswordCredential> getCredentials()
public void setCredentials(java.util.List<PasswordCredential> credentials)
public java.util.List<PasswordCredential> getCredentialHistory()
public void setCredentialHistory(java.util.List<PasswordCredential> credentialHistory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||