Interface ClientAuthModule
- All Superinterfaces:
ClientAuth
A pluggable client-side authentication module in JASPIC. A ClientAuthModule implements the authentication logic
for client-side operations and is initialized with message policies, a callback handler, and configuration
options.
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]Returns the array of MessageInfo implementation classes supported by this module.voidinitialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map<String, Object> options) Initializes the authentication module with the given policies, callback handler, and options.Methods inherited from interface ClientAuth
cleanSubject, secureRequest, validateResponse
-
Method Details
-
initialize
void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy, CallbackHandler handler, Map<String, Object> options) throws AuthExceptionInitializes the authentication module with the given policies, callback handler, and options. This method is called once when the module is created.- Parameters:
requestPolicy- the message policy for requestsresponsePolicy- the message policy for responseshandler- the callback handler for obtaining sensitive dataoptions- configuration options for the module- Throws:
AuthException- if initialization fails
-
getSupportedMessageTypes
Class<?>[] getSupportedMessageTypes()Returns the array of MessageInfo implementation classes supported by this module.- Returns:
- an array of supported MessageInfo classes
-