org.openliberty.arisid.jaas
Class SimplePasswordCallbackHandler
java.lang.Object
org.openliberty.arisid.jaas.SimplePasswordCallbackHandler
- All Implemented Interfaces:
- javax.security.auth.callback.CallbackHandler
public class SimplePasswordCallbackHandler
- extends java.lang.Object
- implements javax.security.auth.callback.CallbackHandler
Simple password callback. Typically used to allow applications to authenticate from within code.
Method Summary |
void |
handle(javax.security.auth.callback.Callback[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePasswordCallbackHandler
public SimplePasswordCallbackHandler(java.lang.String userid,
java.lang.String password)
SimplePasswordCallbackHandler
public SimplePasswordCallbackHandler(javax.security.auth.callback.CallbackHandler callback,
java.lang.String userid,
java.lang.String password)
handle
public void handle(javax.security.auth.callback.Callback[] args)
throws java.io.IOException,
javax.security.auth.callback.UnsupportedCallbackException
- Specified by:
handle
in interface javax.security.auth.callback.CallbackHandler
- Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException