IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.security.auth.callback
Class WSMappingCallbackHandler

java.lang.Object
  extended by com.ibm.wsspi.security.auth.callback.WSMappingCallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

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

The WSMappingCallbackHandler returns either (i) a Hashmap callback and a reference of a ManagedConnectionFactory or (ii) an alias callback and a reference of a ManagedConnectionFactory, depending on the callback types.

Since:
WebSphere V 6.0
Version:
WebSphere V 6.0

Constructor Summary
WSMappingCallbackHandler(java.util.Map properties, javax.resource.spi.ManagedConnectionFactory mcf)
           Construct a WSMappingCallbackHandler object with a resource reference binding properties and the correcponding authentication data and the target ManagedConnectionFactory.
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
           Return either a properties object and a reference of the target ManagedConnectionFactory via Callback[], or an alias of authentication data and a reference of the target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSMappingCallbackHandler

public WSMappingCallbackHandler(java.util.Map properties,
                                javax.resource.spi.ManagedConnectionFactory mcf)

Construct a WSMappingCallbackHandler object with a resource reference binding properties and the correcponding authentication data and the target ManagedConnectionFactory.

Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws javax.security.auth.callback.UnsupportedCallbackException

Return either a properties object and a reference of the target ManagedConnectionFactory via Callback[], or an alias of authentication data and a reference of the target. ManagedConnectionFactory via Callback[], depending on the passed in Callback[].

Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Throws:
javax.security.auth.callback.UnsupportedCallbackException

IBM WebSphere Application ServerTM
Release 7