org.mule.extras.jaas
Class MuleCallbackHandler

java.lang.Object
  extended byorg.mule.extras.jaas.MuleCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class MuleCallbackHandler
extends Object
implements CallbackHandler

Author:
Marie.Rizzo

Constructor Summary
MuleCallbackHandler(UMOAuthentication 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(UMOAuthentication 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-2008 MuleSource, Inc.. All Rights Reserved.