org.mule.module.jaas
Class MuleCallbackHandler

java.lang.Object
  extended by org.mule.module.jaas.MuleCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class MuleCallbackHandler
extends Object
implements CallbackHandler


Constructor Summary
MuleCallbackHandler(Authentication authentication)
           
 
Method Summary
 void handle(Callback[] callbacks)
          The handle() method handles the callbacks to be passed to the Jaas security.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuleCallbackHandler

public MuleCallbackHandler(Authentication authentication)
Parameters:
authentication -
Method Detail

handle

public final void handle(Callback[] callbacks)
                  throws IOException,
                         UnsupportedCallbackException
The handle() method handles the callbacks to be passed to the Jaas security. It makes use of two types of callbacks: the NameCallback and the PasswordCallback.

Specified by:
handle in interface CallbackHandler
Parameters:
callbacks -
Throws:
IOException
UnsupportedCallbackException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.