Class AuthenticationCompleteCallback
java.lang.Object
org.wildfly.security.auth.callback.AuthenticationCompleteCallback
- All Implemented Interfaces:
Serializable,Callback,ExtendedCallback
public final class AuthenticationCompleteCallback
extends Object
implements ExtendedCallback, Serializable
An optional callback indicating the success or failure of the authentication operation. When this callback is
received, the callback handler may free any resources that were required to perform the authentication. This
callback should always be sent to the callback handler last.
- Author:
- David M. Lloyd
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthenticationCompleteCallbackstatic final AuthenticationCompleteCallback -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.callback.ExtendedCallback
isOptional, needsInformation
-
Field Details
-
SUCCEEDED
-
FAILED
-
-
Method Details
-
succeeded
public boolean succeeded()Determine whether authentication succeeded. Always returns the opposite offailed().- Returns:
trueif authentication succeeded,falseotherwise
-
failed
public boolean failed()Determine whether authentication failed. Always returns the opposite ofsucceeded().- Returns:
trueif the authentication failed,falseotherwise
-