org.apache.geronimo.security.jaas
Class UsernamePasswordCallback

java.lang.Object
  extended by org.apache.geronimo.security.jaas.UsernamePasswordCallback
All Implemented Interfaces:
CallbackHandler

public class UsernamePasswordCallback
extends Object
implements CallbackHandler

Convenience callback handler.


Constructor Summary
UsernamePasswordCallback(String username, char[] password)
           
 
Method Summary
 void handle(Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernamePasswordCallback

public UsernamePasswordCallback(String username,
                                char[] password)
Method Detail

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.