com.ibm.wsspi.security.auth.callback

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.CallbackHandler

    The WSMappingCallbackHandler returns either (i) a Hashmap callback and a reference of a ManagedConnectionFactory.

    Since:
    WebSphere V 6.0
    • Constructor Summary

      Constructors 
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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[].
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WSMappingCallbackHandler

        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.

        Parameters:
        properties -
        managedConnectionFactory -
    • Method Detail

      • handle

        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[].

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