KIE Remote Services :: Services 6.1.0.CR2

org.kie.remote.services.jms.security
Class UserPassCallbackHandler

java.lang.Object
  extended by 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).


Constructor Summary
UserPassCallbackHandler(String[] credentials)
           
 
Method Summary
 void handle(Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPassCallbackHandler

public UserPassCallbackHandler(String[] credentials)
Method Detail

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException

KIE Remote Services :: Services 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.