public abstract class AbstractLoginHandler extends Object implements LoginHandler
AUTHENTICATION_ERROR_KEY, AUTHENTICATION_EXCEPTION_KEY, AUTHENTICATION_INSTANT_KEY, AUTHENTICATION_METHOD_KEY, PRINCIPAL_KEY, PRINCIPAL_NAME_KEY, SUBJECT_KEY
修飾子 | コンストラクタと説明 |
---|---|
protected |
AbstractLoginHandler()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
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)
推奨されていません。
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
login
public List<String> getSupportedAuthenticationMethods()
getSupportedAuthenticationMethods
インタフェース内 LoginHandler
public long getAuthenticationDuration()
getAuthenticationDuration
インタフェース内 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
インタフェース内 LoginHandler
public void setSupportsForceAuthentication(boolean supported)
supported
- whether this handler supports forced re-authenticationpublic boolean supportsPassive()
supportsPassive
インタフェース内 LoginHandler
public void setSupportsPassive(boolean supported)
supported
- whether this handler supports passive authentication.Copyright © 2012. All Rights Reserved.