com.ibm.wsspi.wssecurity.auth.callback
Class CallbackHandlerFactoryImpl
- java.lang.Object
com.ibm.wsspi.wssecurity.auth.callback.CallbackHandlerFactoryImpl
All implemented interfaces:
Direct known subclasses:
Deprecated.
- public class CallbackHandlerFactoryImpl
- extends java.lang.Object
- implements CallbackHandlerFactory
CallbackHandlerFactory implementation. This will create
a CallbackHandler implementation that understands the following callbacks:
- javax.security.auth.callback.NameCallback
- javax.security.auth.callback.PasswordCallback
- com.ibm.wsspi.wssecurity.auth.callback.BinaryTokenCallback
- com.ibm.wsspi.wssecurity.auth.callback.XMLTokenReceiverCallback
- com.ibm.wsspi.wssecurity.auth.callback.PropertyCallback
Version:
5.02
See Also:
CallbackHandlerFactory,
CallbackHandler,
NameCallback,
PasswordCallback,
BinaryTokenCallback,
XMLTokenReceiverCallback,
PropertyCallbackField Summary
| Modifier and Type | Field and Description |
|---|---|
|
message
Deprecated.
|
|
password
Deprecated.
|
|
properties
Deprecated.
|
|
realm
Deprecated.
|
|
tokenBytes
Deprecated.
|
|
username
Deprecated.
|
|
xmlToken
Deprecated.
|
Constructor Summary
| Constructor and Description |
|---|
CallbackHandlerFactoryImpl()
Deprecated.
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
init(java.util.Map map)
Deprecated. Initializes the object.
|
|
newCallbackHandler()
Deprecated. Returns a
CallbackHandler object.
|
|
setPassword(char[] password)
Deprecated. Sets a password in the
<UsernameToken> element.
|
|
setProperties(java.util.Map properties)
Deprecated. Sets a
Map object which contains name-value pairs in
configuration XMI files.
|
|
setRealm(java.lang.String realm)
Deprecated. Sets a realm name.
|
|
setSOAPMessage(org.w3c.dom.Document message)
Deprecated. Sets an entire SOAP message.
|
|
setTokenBytes(byte[] tokenBytes)
Deprecated. Sets a decoded byte array in the
<BinarySecurityToken>
element.
|
|
setUsername(java.lang.String username)
Deprecated. Sets a username in the
<UsernameToken> element.
|
|
setXMLToken(org.w3c.dom.Element xmlToken)
Deprecated. Sets a custom XML token.
|
|
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.
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
- 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.
Initializable