Class MechanismInformationCallback

java.lang.Object
org.wildfly.security.auth.callback.MechanismInformationCallback
All Implemented Interfaces:
Callback, ExtendedCallback

public class MechanismInformationCallback extends Object implements ExtendedCallback
A Callback to pass the information about the current mechanism to the CallbackHandler. As an informational Callback it is optional for the CallbackHandler to handle this.
Author:
Darran Lofthouse
  • Constructor Details

    • MechanismInformationCallback

      public MechanismInformationCallback(MechanismInformation mechanismInformation)
      Construct a new instance with the appropriate mechanism information.
      Parameters:
      mechanismInformation - the mechanism information for the current authentication attempt.
  • Method Details

    • getMechanismInformation

      public MechanismInformation getMechanismInformation()
      Get the type of the mechanism information for the current authentication attempt.
      Returns:
      the type of the mechanism for the current authentication.