Project Aristotle - ArisID Attribute Services

org.openliberty.arisid.jaas
Class SimplePasswordCallbackHandler

java.lang.Object
  extended by 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.


Constructor Summary
SimplePasswordCallbackHandler(javax.security.auth.callback.CallbackHandler callback, java.lang.String userid, java.lang.String password)
           
SimplePasswordCallbackHandler(java.lang.String userid, java.lang.String password)
           
 
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
 

Constructor Detail

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)
Method Detail

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

OpenLiberty.org - Licensed under Apache APL 2.0