org.jboss.remoting3.security
Class PasswordClientCallbackHandler
java.lang.Object
org.jboss.remoting3.security.PasswordClientCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class PasswordClientCallbackHandler
- extends Object
- implements CallbackHandler
A callback handler which performs client authentication steps.
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 |
EMPTY_PASSWORD
public static final char[] EMPTY_PASSWORD
- An empty password array.
PasswordClientCallbackHandler
public PasswordClientCallbackHandler(String actualUserName,
String actualUserRealm,
char[] password)
- Create a new instance.
- Parameters:
actualUserName
- the user name to supply, or null
for noneactualUserRealm
- the user realm to supply, or null
for nonepassword
- the password to supply, or null
for none
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
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.