SimplePasswordValidationCallbackHandler@Deprecated public class SimplePasswordValidationCallbackHandler extends AbstractWsPasswordCallbackHandler implements org.springframework.beans.factory.InitializingBean
Properties object. Password
validation is done on a case-sensitive basis.setUsers(java.util.Properties)logger| Constructor and Description |
|---|
SimplePasswordValidationCallbackHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected void |
handleUsernameToken(org.apache.ws.security.WSPasswordCallback callback)
Deprecated.
Invoked when the callback has a
WSPasswordCallback.USERNAME_TOKEN usage. |
void |
setUsers(Properties users)
Deprecated.
Sets the users to validate against.
|
void |
setUsersMap(Map<String,String> users)
Deprecated.
|
handleCleanup, handleCustomToken, handleDecrypt, handleInternal, handleSecretKey, handleSecurityContextToken, handleSignature, handleUsernameTokenPrincipalhandlepublic SimplePasswordValidationCallbackHandler()
public void setUsers(Properties users)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected void handleUsernameToken(org.apache.ws.security.WSPasswordCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractWsPasswordCallbackHandlerWSPasswordCallback.USERNAME_TOKEN usage.
This method is invoked when WSS4J needs the password to fill in or to verify a UsernameToken.
Default implementation throws an UnsupportedCallbackException.
handleUsernameToken in class AbstractWsPasswordCallbackHandlerIOExceptionUnsupportedCallbackExceptionCopyright © 2020 Pivotal Software. All rights reserved.