|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.idp.authn.provider.AbstractLoginHandler
public abstract class AbstractLoginHandler
Base class for authentication handlers.
Field Summary |
---|
Fields inherited from interface edu.internet2.middleware.shibboleth.idp.authn.LoginHandler |
---|
AUTHENTICATION_ERROR_KEY, AUTHENTICATION_EXCEPTION_KEY, AUTHENTICATION_METHOD_KEY, PRINCIPAL_KEY, PRINCIPAL_NAME_KEY, SUBJECT_KEY |
Constructor Summary | |
---|---|
protected |
AbstractLoginHandler()
Constructor. |
Method Summary | |
---|---|
long |
getAuthenticationDuration()
Gets the length of time, in milliseconds, after which a user authenticated by this handler should be re-authenticated. |
List<String> |
getSupportedAuthenticationMethods()
Gets the list of authentication methods this handler supports. |
void |
setAuthenticationDuration(long duration)
Sets the length of time, in milliseconds, after which a user should be re-authenticated. |
void |
setAuthenticationDurection(long duration)
Deprecated. use setAuthenticationDuration(long) |
void |
setSupportsForceAuthentication(boolean supported)
Sets whether this handler supports forced re-authentication. |
void |
setSupportsPassive(boolean supported)
Sets whether this handler supports passive authentication. |
boolean |
supportsForceAuthentication()
Returns if this handler supports the ability to force a user to (re-)authenticate. |
boolean |
supportsPassive()
Gets whether this handler supports passive authentication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.internet2.middleware.shibboleth.idp.authn.LoginHandler |
---|
login |
Constructor Detail |
---|
protected AbstractLoginHandler()
Method Detail |
---|
public List<String> getSupportedAuthenticationMethods()
getSupportedAuthenticationMethods
in interface LoginHandler
public long getAuthenticationDuration()
getAuthenticationDuration
in interface LoginHandler
public void setAuthenticationDuration(long duration)
duration
- length of time, in milliseconds, after which a user should be re-authenticatedpublic void setAuthenticationDurection(long duration)
setAuthenticationDuration(long)
duration
- length of time, in milliseconds, after which a user should be re-authenticatedpublic boolean supportsForceAuthentication()
supportsForceAuthentication
in interface LoginHandler
public void setSupportsForceAuthentication(boolean supported)
supported
- whether this handler supports forced re-authenticationpublic boolean supportsPassive()
supportsPassive
in interface LoginHandler
public void setSupportsPassive(boolean supported)
supported
- whether this handler supports passive authentication.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |