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 Details

  • Method Details

    • succeeded

      public boolean succeeded()
      Determine whether authentication succeeded. Always returns the opposite of failed().
      Returns:
      true if authentication succeeded, false otherwise
    • failed

      public boolean failed()
      Determine whether authentication failed. Always returns the opposite of succeeded().
      Returns:
      true if the authentication failed, false otherwise