public class UsernameTokenValidatorImpl extends Object implements UsernameTokenValidator
| Constructor and Description |
|---|
UsernameTokenValidatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T extends UsernameSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> |
validate(UsernameTokenType usernameTokenType,
TokenContext tokenContext) |
protected void |
verifyCustomPassword(String username,
PasswordString passwordType,
TokenContext tokenContext)
Verify a UsernameToken containing a password of some unknown (but specified) password
type.
|
protected void |
verifyDigestPassword(String username,
PasswordString passwordType,
byte[] nonceVal,
String created,
TokenContext tokenContext)
Verify a UsernameToken containing a password digest.
|
protected void |
verifyPlaintextPassword(String username,
PasswordString passwordType,
TokenContext tokenContext)
Verify a UsernameToken containing a plaintext password.
|
public <T extends UsernameSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> T validate(UsernameTokenType usernameTokenType, TokenContext tokenContext) throws WSSecurityException
validate in interface UsernameTokenValidatorWSSecurityExceptionprotected void verifyDigestPassword(String username, PasswordString passwordType, byte[] nonceVal, String created, TokenContext tokenContext) throws WSSecurityException
WSSecurityExceptionprotected void verifyPlaintextPassword(String username, PasswordString passwordType, TokenContext tokenContext) throws WSSecurityException
WSSecurityExceptionprotected void verifyCustomPassword(String username, PasswordString passwordType, TokenContext tokenContext) throws WSSecurityException
WSSecurityExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.