com.ibm.wsspi.wssecurity.auth.callback

Interface CallbackHandlerFactory

  • All Superinterfaces:
    Initializable
    All Known Implementing Classes:
    CallbackHandlerFactoryImpl, WSCallbackHandlerFactoryImpl

    Deprecated.

    public interface CallbackHandlerFactory
    extends Initializable
    A factory for CallbackHandler in the WS-Security toolkit. Developers who are providing CallbackHandler classes to the toolkit must implement this interface. The WS-Security runtime instantiates the implementation class and passes the authentication information from <wsse:Security> header to the CallbackHandlerFactory class through the set methods. Then the newCallbackHandler() method is invoked to obtain CallbackHandler object.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      javax.security.auth.callback.CallbackHandler newCallbackHandler()
      Deprecated. 
      Returns a CallbackHandler object.
      void setPassword(char[] password)
      Deprecated. 
      Sets a password in the <UsernameToken> element.
      void setProperties(java.util.Map properties)
      Deprecated. 
      Sets a Map object which contains name-value pairs in configuration XMI files.
      void setRealm(java.lang.String realm)
      Deprecated. 
      Sets a realm name.
      void setSOAPMessage(org.w3c.dom.Document SOAPMessage)
      Deprecated. 
      Sets an entire SOAP message.
      void setTokenBytes(byte[] tokenBytes)
      Deprecated. 
      Sets a decoded byte array in the <BinarySecurityToken> element.
      void setUsername(java.lang.String username)
      Deprecated. 
      Sets a username in the <UsernameToken> element.
      void setXMLToken(org.w3c.dom.Element xmlToken)
      Deprecated. 
      Sets a custom XML token.
    • Method Detail

      • setUsername

        void setUsername(java.lang.String username)
        Deprecated. 
        Sets a username in the <UsernameToken> element.
        Parameters:
        username - A username.
      • setRealm

        void setRealm(java.lang.String realm)
        Deprecated. 
        Sets a realm name. This method is reserved for future use.
        Parameters:
        realm - A realm name.
      • setPassword

        void setPassword(char[] password)
        Deprecated. 
        Sets a password in the <UsernameToken> element.
        Parameters:
        password - A password.
      • setTokenBytes

        void setTokenBytes(byte[] tokenBytes)
        Deprecated. 
        Sets a decoded byte array in the <BinarySecurityToken> element.
        Parameters:
        tokenBytes - A decoded byte array.
      • setXMLToken

        void setXMLToken(org.w3c.dom.Element xmlToken)
        Deprecated. 
        Sets a custom XML token.
        Parameters:
        xmlToken - A custom XML token.
      • setSOAPMessage

        void setSOAPMessage(org.w3c.dom.Document SOAPMessage)
        Deprecated. 
        Sets an entire SOAP message.
        Parameters:
        SOAPMessage - An entire SOAP message.
      • setProperties

        void setProperties(java.util.Map properties)
        Deprecated. 
        Sets a Map object which contains name-value pairs in configuration XMI files. They correspond to LoginMapping/Property elements.
        Parameters:
        properties - A Map object which contains name-value pairs.
      • newCallbackHandler

        javax.security.auth.callback.CallbackHandler newCallbackHandler()
        Deprecated. 
        Returns a CallbackHandler object. This method is invoked by the WS-Security runtime after set methods are invoked.
        Returns:
        a CallbackHandler object.
IBM WebSphere Application ServerTM
Release 9.0