|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserIdentityInterface
A user identity is an authenticatable principal and credential within a given domain.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Compare against another object for equality. |
java.lang.Object |
getCredential()
Get the credential for this identity. |
java.lang.String |
getDomain()
Get the string identifying the domain this identity applies to. |
java.lang.String |
getMechanism()
Get the authentication mechanism for this identity. |
java.lang.Object |
getPrincipal()
Get the principal. |
java.lang.String |
getResolvedUserName()
Get the user name that was resolved by the authentication server. |
java.lang.Object |
getUserIdentity()
Deprecated. User getPrincipal instead. |
boolean |
isAuthenticated()
Return a flag indicating whether this identity has been authenticated or not. |
boolean |
isPrimary()
Return a flag indicating if this is the primary authentication credential set. |
void |
setAuthenticated(boolean value)
Set the flag indicating this identity has been authenticated. |
void |
setCredential(java.lang.Object credential)
Set the credential for this identity. |
void |
setDomain(java.lang.String domain)
Set the domain string for this identity. |
void |
setPrincipal(java.lang.Object principal)
Set the principal to use for authentication. |
void |
setUserIdentity(java.lang.Object identity)
Deprecated. This adds no useful information above and beyond the principal. |
Method Detail |
---|
boolean isAuthenticated()
boolean isPrimary()
void setAuthenticated(boolean value)
value
- A true/false indicator of authentication.java.lang.String getDomain()
void setDomain(java.lang.String domain)
domain
- The String that denotes the domain for this
identity.java.lang.Object getUserIdentity()
void setUserIdentity(java.lang.Object identity)
identity
- The new authenticated identity for the user in this
domain.java.lang.String getResolvedUserName()
void setPrincipal(java.lang.Object principal)
principal
- The principal to use to authenticate this user.java.lang.Object getPrincipal()
void setCredential(java.lang.Object credential)
credential
- A credential for this identity.java.lang.Object getCredential()
java.lang.String getMechanism()
boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- The object to compare against
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |