JBoss Remoting 4.0.0.Beta3

org.jboss.remoting3.security
Class PasswordClientCallbackHandler

java.lang.Object
  extended by org.jboss.remoting3.security.PasswordClientCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class PasswordClientCallbackHandler
extends Object
implements CallbackHandler

A callback handler which performs client authentication steps.


Field Summary
static char[] EMPTY_PASSWORD
          An empty password array.
 
Constructor Summary
PasswordClientCallbackHandler(String actualUserName, String actualUserRealm, char[] password)
          Create a new instance.
 
Method Summary
 void handle(Callback[] callbacks)
          Handle the array of given callbacks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_PASSWORD

public static final char[] EMPTY_PASSWORD
An empty password array.

Constructor Detail

PasswordClientCallbackHandler

public PasswordClientCallbackHandler(String actualUserName,
                                     String actualUserRealm,
                                     char[] password)
Create a new instance.

Parameters:
actualUserName - the user name to supply, or null for none
actualUserRealm - the user realm to supply, or null for none
password - the password to supply, or null for none
Method Detail

handle

public void handle(Callback[] callbacks)
            throws UnsupportedCallbackException
Handle the array of given callbacks.

Specified by:
handle in interface CallbackHandler
Parameters:
callbacks - the callbacks to handle
Throws:
UnsupportedCallbackException - if a callback is unsupported

JBoss Remoting 4.0.0.Beta3

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