com.ibm.wsspi.wssecurity.auth.callback

Class CallbackHandlerFactoryImpl

  • java.lang.Object
    • com.ibm.wsspi.wssecurity.auth.callback.CallbackHandlerFactoryImpl
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected org.w3c.dom.Document message
      Deprecated. 
       
      protected char[] password
      Deprecated. 
       
      protected java.util.Map properties
      Deprecated. 
       
      protected java.lang.String realm
      Deprecated. 
       
      protected byte[] tokenBytes
      Deprecated. 
       
      protected java.lang.String username
      Deprecated. 
       
      protected org.w3c.dom.Element xmlToken
      Deprecated. 
       
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void init(java.util.Map map)
      Deprecated. 
      Initializes the object.
      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 message)
      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.
      java.lang.String toString()
      Deprecated. 
      Returns a the name of this class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • username

        protected java.lang.String username
        Deprecated. 
      • realm

        protected java.lang.String realm
        Deprecated. 
      • password

        protected char[] password
        Deprecated. 
      • tokenBytes

        protected byte[] tokenBytes
        Deprecated. 
      • xmlToken

        protected org.w3c.dom.Element xmlToken
        Deprecated. 
      • message

        protected org.w3c.dom.Document message
        Deprecated. 
      • properties

        protected java.util.Map properties
        Deprecated. 
    • Constructor Detail

      • CallbackHandlerFactoryImpl

        public CallbackHandlerFactoryImpl()
        Deprecated. 
    • Method Detail

      • init

        public void init(java.util.Map map)
                  throws SoapSecurityException
        Deprecated. 
        Description copied from interface: Initializable
        Initializes the object.
        Specified by:
        init in interface Initializable
        Parameters:
        map - a Map object which contains name-value pairs. These pairs are specified in <Property> elements in the configuration XMI files.
        Throws:
        SoapSecurityException
      • setUsername

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

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

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

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

        public void setXMLToken(org.w3c.dom.Element xmlToken)
        Deprecated. 
        Sets a custom XML token.
        Specified by:
        setXMLToken in interface CallbackHandlerFactory
        Parameters:
        xmlToken - A custom XML token.
      • setSOAPMessage

        public void setSOAPMessage(org.w3c.dom.Document message)
        Deprecated. 
        Sets an entire SOAP message.
        Specified by:
        setSOAPMessage in interface CallbackHandlerFactory
        Parameters:
        message - An entire SOAP message.
      • setProperties

        public 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.
        Specified by:
        setProperties in interface CallbackHandlerFactory
        Parameters:
        properties - A Map object which contains name-value pairs.
      • newCallbackHandler

        public 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.
        Specified by:
        newCallbackHandler in interface CallbackHandlerFactory
        Returns:
        a CallbackHandler object.
      • toString

        public java.lang.String toString()
        Deprecated. 
        Returns a the name of this class.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The name of this class.
IBM WebSphere Application ServerTM
Release 9.0