public class SimplePasswordValidationCallbackHandler extends AbstractCallbackHandler implements org.springframework.beans.factory.InitializingBean
Properties object. Password
validation is done on a case-sensitive basis.
This class only handles PasswordValidationCallbacks, and throws an
UnsupportedCallbackException for others
setUsers(java.util.Properties)logger| Constructor and Description |
|---|
SimplePasswordValidationCallbackHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
handleInternal(Callback callback)
Template method that should be implemented by subclasses.
|
void |
setUsers(Properties users)
Sets the users to validate against.
|
void |
setUsersMap(Map<String,String> users) |
handlepublic SimplePasswordValidationCallbackHandler()
public void setUsers(Properties users)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected void handleInternal(Callback callback) throws IOException, UnsupportedCallbackException
AbstractCallbackHandlerhandleInternal in class AbstractCallbackHandlerIOExceptionUnsupportedCallbackException