Class MechanismInformationCallback
java.lang.Object
org.wildfly.security.auth.callback.MechanismInformationCallback
- All Implemented Interfaces:
Callback,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 Summary
ConstructorsConstructorDescriptionMechanismInformationCallback(MechanismInformation mechanismInformation) Construct a new instance with the appropriate mechanism information. -
Method Summary
Modifier and TypeMethodDescriptionGet the type of the mechanism information for the current authentication attempt.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
-
Constructor Details
-
MechanismInformationCallback
Construct a new instance with the appropriate mechanism information.- Parameters:
mechanismInformation- the mechanism information for the current authentication attempt.
-
-
Method Details
-
getMechanismInformation
Get the type of the mechanism information for the current authentication attempt.- Returns:
- the type of the mechanism for the current authentication.
-