JBoss Test 1.2.0.Final

org.jboss.test.util
Class AppCallbackHandler

java.lang.Object
  extended by org.jboss.test.util.AppCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class AppCallbackHandler
extends Object
implements CallbackHandler

An implemeentation of the JAAS CallbackHandler interface that handles NameCallbacks, PasswordCallbac, TextInputCallback and the JBoss ByteArrayCallback

Version:
$Revision: 43776 $
Author:
Scott.Stark@jboss.org

Constructor Summary
AppCallbackHandler(String username, char[] password)
           
AppCallbackHandler(String username, char[] password, byte[] data)
           
AppCallbackHandler(String username, char[] password, byte[] data, String text)
           
 
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

AppCallbackHandler

public AppCallbackHandler(String username,
                          char[] password)

AppCallbackHandler

public AppCallbackHandler(String username,
                          char[] password,
                          byte[] data)

AppCallbackHandler

public AppCallbackHandler(String username,
                          char[] password,
                          byte[] data,
                          String text)
Method Detail

handle

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

JBoss Test 1.2.0.Final

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.