|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.directory.sdk.http.types.AuthenticationResult
public class AuthenticationResult
Represents a HTTP authentication result.
Constructor Summary | |
---|---|
AuthenticationResult(java.lang.Object principal,
java.util.Collection<java.lang.String> authorities,
long authTime)
Construct a new Authentication Result with the provided information. |
Method Summary | |
---|---|
java.util.Collection<java.lang.String> |
getAuthorities()
The authorities that the principal has been granted. |
long |
getAuthTime()
Retrieves the time that the user authenticated with the server. |
java.lang.Object |
getPrincipal()
The identity of the authenticated principal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationResult(java.lang.Object principal, java.util.Collection<java.lang.String> authorities, long authTime)
principal
- The object representing the authenticated principal.authorities
- The authorities that the principal has been granted.authTime
- The time at which the resource owner was authenticated with
the Identity Broker, in milliseconds since 1/1/70 12:00 AM.Method Detail |
---|
public java.lang.Object getPrincipal()
Principal
.public java.util.Collection<java.lang.String> getAuthorities()
public long getAuthTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |