public class DSAMECallbackHandler extends Object implements CallbackHandler
CallbackHandler
and it can be passed to underlying
auth services so that it may interact with other components to retrieve
specific authentication data, such as usernames and passwords, or to display
certain information, such as error and warning messages.Modifier and Type | Class and Description |
---|---|
static class |
DSAMECallbackHandler.DSAMECallbackHandlerError
This error is used to control the authentication processing: if there is a problem while processing the
callbacks this error prevents the auth framework consider this error as an authentication module failure.
|
Constructor and Description |
---|
DSAMECallbackHandler(AMLoginContext am,
boolean isPureJAAS)
Creates
DSAMECallbackHandler object and it associates
login thread and login state with callback hndler |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
Retrieves or displays the information requested in the
provided Callbacks.
|
public DSAMECallbackHandler(AMLoginContext am, boolean isPureJAAS)
DSAMECallbackHandler
object and it associates
login thread and login state with callback hndleram
- AMLoginContext
for this callbackpublic void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
Retrieves or displays the information requested in the provided Callbacks.
This method implementation checks the
instance(s) of the Callback
object(s) passed in
to retrieve or display the requested information.
handle
in interface CallbackHandler
callbacks
- an array of Callback
objects provided
by an underlying security service which contains
the information requested to be retrieved or displayed.IOException
- if an input or output error occurs.UnsupportedCallbackException
- if the implementation of this
method does not support one or more of the Callbacks
specified in the callbacks
parameter.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.