public class AuthenticationMethodInformationImpl extends Object implements AuthenticationMethodInformation
| コンストラクタと説明 |
|---|
AuthenticationMethodInformationImpl(Subject subject,
Principal principal,
String method,
org.joda.time.DateTime instant,
long duration)
Default constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(Object obj) |
long |
getAuthenticationDuration()
Gets the duration of this authentication method.
|
org.joda.time.DateTime |
getAuthenticationInstant()
Gets the time the user authenticated with this member.
|
String |
getAuthenticationMethod()
Gets the unique identifier for the authentication method.
|
Principal |
getAuthenticationPrincipal()
Gets the principal, for the
Subject of the session, created by this authentication method. |
Subject |
getAuthenticationSubject()
Gets the Subject created by this authentication method.
|
int |
hashCode() |
boolean |
isExpired()
Gets whether this authentication method has expired and is not longer valid for use in constructing new sessions.
|
public AuthenticationMethodInformationImpl(Subject subject, Principal principal, String method, org.joda.time.DateTime instant, long duration)
subject - subject associated with the user's sessionprincipal - principal created by the authentication methodmethod - The unique identifier for the authentication methodinstant - The time the user authenticated with this memberduration - The duration of this authentication methodpublic Subject getAuthenticationSubject()
getAuthenticationSubject インタフェース内 AuthenticationMethodInformationpublic Principal getAuthenticationPrincipal()
Subject of the session, created by this authentication method.getAuthenticationPrincipal インタフェース内 AuthenticationMethodInformationpublic String getAuthenticationMethod()
getAuthenticationMethod インタフェース内 AuthenticationMethodInformationpublic org.joda.time.DateTime getAuthenticationInstant()
getAuthenticationInstant インタフェース内 AuthenticationMethodInformationpublic long getAuthenticationDuration()
getAuthenticationDuration インタフェース内 AuthenticationMethodInformationpublic boolean isExpired()
isExpired インタフェース内 AuthenticationMethodInformationCopyright © 2012. All Rights Reserved.