org.openorb.orb.csiv2
Class CSIServerJAASModule.CSICallbackHandler

java.lang.Object
  extended by org.openorb.orb.csiv2.CSIServerJAASModule.CSICallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
Enclosing class:
CSIServerJAASModule

public static class CSIServerJAASModule.CSICallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler

This is an implementation of the CallbackHandler interface. It provides passing the user's name and password to the JAAS LoginContext.

Author:
Michael Rumpf

Constructor Summary
CSIServerJAASModule.CSICallbackHandler(java.lang.String username, char[] password)
           
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSIServerJAASModule.CSICallbackHandler

public CSIServerJAASModule.CSICallbackHandler(java.lang.String username,
                                              char[] password)
Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws java.io.IOException,
                   javax.security.auth.callback.UnsupportedCallbackException
Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException