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
.
Constructor and Description |
---|
WSMappingCallbackHandler(java.util.Map properties,
javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)
Construct a
WSMappingCallbackHandler object with a resource reference binding properties
and the corresponding authentication data and the target ManagedConnectionFactory . |
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Return a properties object and a reference of the target
ManagedConnectionFactory via Callback[] . |
public WSMappingCallbackHandler(java.util.Map properties, javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)
Construct a WSMappingCallbackHandler
object with a resource reference binding properties
and the corresponding authentication data and the target ManagedConnectionFactory
.
properties
- managedConnectionFactory
- public void handle(javax.security.auth.callback.Callback[] callbacks) throws javax.security.auth.callback.UnsupportedCallbackException
Return a properties object and a reference of the target
ManagedConnectionFactory
via Callback[]
.
handle
in interface javax.security.auth.callback.CallbackHandler
javax.security.auth.callback.UnsupportedCallbackException