com.ibm.wsspi.wssecurity.auth.callback

Class CallbackHandlerFactoryImpl

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.auth.callback.CallbackHandlerFactoryImpl
All implemented interfaces:
CallbackHandlerFactory, Initializable
Direct known subclasses:
WSCallbackHandlerFactoryImpl

Deprecated.
  1. public class CallbackHandlerFactoryImpl
  2. extends java.lang.Object
  3. implements CallbackHandlerFactory
A CallbackHandlerFactory implementation. This will create a CallbackHandler implementation that understands the following callbacks:

Version:
5.02
See Also:
CallbackHandlerFactory, CallbackHandler, NameCallback, PasswordCallback, BinaryTokenCallback, XMLTokenReceiverCallback, PropertyCallback

Field Summary

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

Constructor Summary

Constructor and Description
CallbackHandlerFactoryImpl()
Deprecated.

Method Summary

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

  1. protected java.lang.String username
Deprecated.

realm

  1. protected java.lang.String realm
Deprecated.

password

  1. protected char[] password
Deprecated.

tokenBytes

  1. protected byte[] tokenBytes
Deprecated.

xmlToken

  1. protected org.w3c.dom.Element xmlToken
Deprecated.

message

  1. protected org.w3c.dom.Document message
Deprecated.

properties

  1. protected java.util.Map properties
Deprecated.

Constructor Detail

CallbackHandlerFactoryImpl

  1. public CallbackHandlerFactoryImpl( )
Deprecated.

Method Detail

init

  1. public void init(java.util.Map map)
  2. 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:

setUsername

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

setRealm

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

setPassword

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

setTokenBytes

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

setXMLToken

  1. public void setXMLToken(org.w3c.dom.Element xmlToken)
Deprecated.
Sets a custom XML token.
Specified by:
Parameters:
xmlToken - A custom XML token.

setSOAPMessage

  1. public void setSOAPMessage(org.w3c.dom.Document message)
Deprecated.
Sets an entire SOAP message.
Specified by:
Parameters:
message - An entire SOAP message.

setProperties

  1. 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:
Parameters:
properties - A Map object which contains name-value pairs.

newCallbackHandler

  1. 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:
Returns:
a CallbackHandler object.

toString

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