Class WSMappingCallbackHandler
- java.lang.Object
-
- 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.CallbackHandlerThe
WSMappingCallbackHandlerreturns either (i) a Hashmap callback and a reference of aManagedConnectionFactory.- Since:
- WebSphere V 6.0
-
-
Constructor Summary
Constructors Constructor Description WSMappingCallbackHandler(java.util.Map properties, javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)Construct aWSMappingCallbackHandlerobject with a resource reference binding properties and the corresponding authentication data and the targetManagedConnectionFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(javax.security.auth.callback.Callback[] callbacks)Return a properties object and a reference of the targetManagedConnectionFactoryviaCallback[].
-
-
-
Constructor Detail
-
WSMappingCallbackHandler
public WSMappingCallbackHandler(java.util.Map properties, javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)Construct a
WSMappingCallbackHandlerobject with a resource reference binding properties and the corresponding authentication data and the targetManagedConnectionFactory.- Parameters:
properties-managedConnectionFactory-
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws javax.security.auth.callback.UnsupportedCallbackExceptionReturn a properties object and a reference of the target
ManagedConnectionFactoryviaCallback[].- Specified by:
handlein interfacejavax.security.auth.callback.CallbackHandler- Throws:
javax.security.auth.callback.UnsupportedCallbackException
-
-