org.kie.remote.services.jms.security
Class UserPassCallbackHandler
java.lang.Object
org.kie.remote.services.jms.security.UserPassCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class UserPassCallbackHandler
- extends Object
- implements CallbackHandler
This is the basic, default implementation of a User/Pass callback handler
for a JAAS login.
This class is used by the JMS RequestMessageBean in order to retrieve
the subject for the user/pass info stored in a message (the Bean itself runs as
an anonymous user).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserPassCallbackHandler
public UserPassCallbackHandler(String[] credentials)
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- Specified by:
handle in interface CallbackHandler
- Throws:
IOException
UnsupportedCallbackException
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.