Package com.ibm.di.api.remote.impl.rmi
Class NullPrompter
- java.lang.Object
-
- com.ibm.di.api.remote.impl.rmi.NullPrompter
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
public class NullPrompter extends java.lang.Object implements javax.security.auth.callback.CallbackHandlerThis class implementsCallbackHandlerinterface handling behaviour but without doing any prompting.The constructor with no parameters is overridden by
NullPrompterclass to hide the constructor with no parameters, since we are not prompting. *
-
-
Constructor Summary
Constructors Constructor Description NullPrompter(java.lang.String userName, char[] authenticator)Constructor with two parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(javax.security.auth.callback.Callback[] callbacks)Handles callbacks passed from the underlying security services.voidnukeEm()Clears the user name and authenticator.
-
-
-
Method Detail
-
nukeEm
public void nukeEm()
Clears the user name and authenticator.
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackExceptionHandles callbacks passed from the underlying security services.- Specified by:
handlein interfacejavax.security.auth.callback.CallbackHandler- Parameters:
callbacks- an array ofCallbackobjects provided by an underlying security service which contains the information requested to be retrieved or displayed- Throws:
java.io.IOException- if an I/O error occursjavax.security.auth.callback.UnsupportedCallbackException- if unrecognized callback occurs
-
-