org.jboss.dna.graph
Class JaasSecurityContext.UserPasswordCallbackHandler
java.lang.Object
org.jboss.dna.graph.JaasSecurityContext.UserPasswordCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
- Enclosing class:
- JaasSecurityContext
public static final class JaasSecurityContext.UserPasswordCallbackHandler
- extends Object
- implements CallbackHandler
A simple callback handler
implementation that attempts to provide a user ID and password to any
callbacks that it handles.
JaasSecurityContext.UserPasswordCallbackHandler
public JaasSecurityContext.UserPasswordCallbackHandler(String userId,
char[] password)
handle
public void handle(Callback[] callbacks)
throws UnsupportedCallbackException,
IOException
-
- Specified by:
handle
in interface CallbackHandler
- Throws:
UnsupportedCallbackException
IOException
- See Also:
CallbackHandler.handle(javax.security.auth.callback.Callback[])
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.