Constructor and Description |
---|
UsernameTokenProcessor() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getDerivedKey(javax.security.auth.callback.CallbackHandler cb) |
String |
getId()
Get the Id of the processor.
|
UsernameToken |
getUt()
Get the processed UsernameToken.
|
void |
handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
Vector returnResults,
WSSConfig wsc) |
WSUsernameTokenPrincipal |
handleUsernameToken(org.w3c.dom.Element token,
javax.security.auth.callback.CallbackHandler cb)
Check the UsernameToken element.
|
public void handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, Vector returnResults, WSSConfig wsc) throws WSSecurityException
handleToken
in interface Processor
WSSecurityException
public WSUsernameTokenPrincipal handleUsernameToken(org.w3c.dom.Element token, javax.security.auth.callback.CallbackHandler cb) throws WSSecurityException
USERNAME_TOKEN_UNKNOWN
.token
- the DOM element that contains the UsernameTokencb
- the reference to the callback objectWSSecurityException
public String getId()
Processor
public UsernameToken getUt()
public byte[] getDerivedKey(javax.security.auth.callback.CallbackHandler cb) throws WSSecurityException
WSSecurityException
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.