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, wait
authenticate
public Authenticator.AuthenticationStatus getStatus()
Authenticator
Returns the current status of the authentication attempt.
getStatus
in interface Authenticator
protected void setStatus(Authenticator.AuthenticationStatus status)
protected void setAccount(Account account)
public Account getAccount()
Authenticator
Returns a Account
if a successful authentication was made. Otherwise it should
return null.
getAccount
in interface Authenticator
public void postAuthenticate()
Authenticator
Post-authentication logic. This method is always invoked after an authentication attempt.
postAuthenticate
in interface Authenticator
Copyright © 2018 JBoss by Red Hat. All rights reserved.