|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.security.auth.callback.NonPromptCallbackHandler
public class NonPromptCallbackHandler
The NonPromptCallbackHandler
gathers the authentication data from the constructor
and passes it to the login module. These data includes Kerberos realm name, Kerberos principal name and password.
Supported Callback
s:
com.ibm.websphere.security.auth.callback.WSRealmNameCallbackImpl
javax.security.auth.callback.NameCallback
javax.security.auth.callback.PasswordCallback
WSRealmNameCallbackImpl
,
NameCallback
,
PasswordCallback
Constructor Summary | |
---|---|
NonPromptCallbackHandler()
Constructor with no parameters. |
|
NonPromptCallbackHandler(java.lang.String realmName,
java.lang.String userid,
java.lang.String password)
Constructs a NonPromptCallbackHandler using realmName , userid and password
parameters. |
Method Summary | |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
This implementation of NonPromptCallbackHandler collects the Kerberos realm name, principal name and password data
supplied via the constructor
and pushes them to the login module. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonPromptCallbackHandler()
public NonPromptCallbackHandler(java.lang.String realmName, java.lang.String userid, java.lang.String password)
NonPromptCallbackHandler
using realmName
, userid
and password
parameters.
The parameters should include only stateless information.
realName
- The Kerberos realm name.userid
- The Kerberos user name.password
- The Kerberos user password.Method Detail |
---|
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
NonPromptCallbackHandler
collects the Kerberos realm name, principal name and password data
supplied via the constructor
and pushes them to the login module. If the realm name can not determined at the time
of login prompt, a "<default>" realm name will be displayed.
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- An array of Callback
objects provided by the underlying
security service which contains the information
requested to be retrieved or displayed.
java.io.IOException
- If an input or output error occurs.
javax.security.auth.callback.UnsupportedCallbackException
- If the implementation of this method does not support one or more of the
Callback
s specified in the callbacks parameter.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |