|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.remote.impl.rmi.NullPrompter
public class NullPrompter
This class implements CallbackHandler
interface handling
behaviour but without doing any prompting.
The constructor with no parameters is overridden by NullPrompter
class to hide the constructor with no parameters, since we are not prompting. *
Constructor Summary | |
---|---|
NullPrompter(java.lang.String userName,
char[] authenticator)
Constructor with two parameters. |
Method Summary | |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handles callbacks passed from the underlying security services. |
void |
nukeEm()
Clears the user name and authenticator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullPrompter(java.lang.String userName, char[] authenticator)
userName
- authenticator
- Method Detail |
---|
public void nukeEm()
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- an array of Callback
objects provided by an
underlying security service which contains the information
requested to be retrieved or displayed
java.io.IOException
- if an I/O error occurs
javax.security.auth.callback.UnsupportedCallbackException
- if unrecognized callback occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |