org.mule.module.jaas
Class MuleCallbackHandler

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

public class MuleCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler


Constructor Summary
MuleCallbackHandler(Authentication authentication)
           
 
Method Summary
 void handle(javax.security.auth.callback.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(javax.security.auth.callback.Callback[] callbacks)
                  throws java.io.IOException,
                         javax.security.auth.callback.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 javax.security.auth.callback.CallbackHandler
Parameters:
callbacks -
Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException


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