|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CallbackHandlerFactory
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 | |
---|---|
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. |
Methods inherited from interface com.ibm.wsspi.wssecurity.Initializable |
---|
init |
Method Detail |
---|
void setUsername(java.lang.String username)
<UsernameToken>
element.
username
- A username.void setRealm(java.lang.String realm)
realm
- A realm name.void setPassword(char[] password)
<UsernameToken>
element.
password
- A password.void setTokenBytes(byte[] tokenBytes)
<BinarySecurityToken>
element.
tokenBytes
- A decoded byte array.void setXMLToken(org.w3c.dom.Element xmlToken)
xmlToken
- A custom XML token.void setSOAPMessage(org.w3c.dom.Document SOAPMessage)
SOAPMessage
- An entire SOAP message.void setProperties(java.util.Map properties)
Map
object which contains name-value pairs in
configuration XMI files. They correspond to
LoginMapping/Property
elements.
properties
- A Map
object which contains name-value
pairs.javax.security.auth.callback.CallbackHandler newCallbackHandler()
CallbackHandler
object. This method is invoked
by the WS-Security runtime after set methods are invoked.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |