public class DefaultCallbackHandler extends Object implements CallbackHandler
| Constructor and Description |
|---|
DefaultCallbackHandler(String username,
char[] password)
Initializes the UsernamePasswordHandler with the username and password to
use.
|
DefaultCallbackHandler(String username,
Object credential) |
public DefaultCallbackHandler(String username, char[] password)
username - the user namepassword - the password for this userpublic void handle(Callback[] callbacks) throws UnsupportedCallbackException
handle in interface CallbackHandlerUnsupportedCallbackException, - thrown if any callback of type other than NameCallback or
PasswordCallback are seen.UnsupportedCallbackExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.