public abstract class BaseAuthenticator extends Object implements Authenticator
Authenticator.AuthenticationStatus| Constructor and Description |
|---|
BaseAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
Account |
getAccount()
Returns a
Account if a successful authentication was made. |
Authenticator.AuthenticationStatus |
getStatus()
Returns the current status of the authentication attempt.
|
void |
postAuthenticate()
Post-authentication logic.
|
protected void |
setAccount(Account account) |
protected void |
setStatus(Authenticator.AuthenticationStatus status) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticatepublic Authenticator.AuthenticationStatus getStatus()
AuthenticatorReturns the current status of the authentication attempt.
getStatus in interface Authenticatorprotected void setStatus(Authenticator.AuthenticationStatus status)
protected void setAccount(Account account)
public Account getAccount()
AuthenticatorReturns a Account if a successful authentication was made. Otherwise it should
return null.
getAccount in interface Authenticatorpublic void postAuthenticate()
AuthenticatorPost-authentication logic. This method is always invoked after an authentication attempt.
postAuthenticate in interface AuthenticatorCopyright © 2018 JBoss by Red Hat. All rights reserved.