|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.idp.session.impl.AuthenticationMethodInformationImpl
public class AuthenticationMethodInformationImpl
Information about an authentication method employed by a user.
Constructor Summary | |
---|---|
AuthenticationMethodInformationImpl(Subject subject,
Principal principal,
String method,
DateTime instant,
long duration)
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getAuthenticationDuration()
Gets the duration of this authentication method. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationMethodInformationImpl(Subject subject, Principal principal, String method, 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 methodMethod Detail |
---|
public Subject getAuthenticationSubject()
getAuthenticationSubject
in interface AuthenticationMethodInformation
public Principal getAuthenticationPrincipal()
Subject
of the session, created by this authentication method.
getAuthenticationPrincipal
in interface AuthenticationMethodInformation
public String getAuthenticationMethod()
getAuthenticationMethod
in interface AuthenticationMethodInformation
public DateTime getAuthenticationInstant()
getAuthenticationInstant
in interface AuthenticationMethodInformation
public long getAuthenticationDuration()
getAuthenticationDuration
in interface AuthenticationMethodInformation
public boolean isExpired()
isExpired
in interface AuthenticationMethodInformation
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |