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 PasswordValidationCallback
s, 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) |
handle
public SimplePasswordValidationCallbackHandler()
public void setUsers(Properties users)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected void handleInternal(Callback callback) throws IOException, UnsupportedCallbackException
AbstractCallbackHandler
handleInternal
in class AbstractCallbackHandler
IOException
UnsupportedCallbackException
Copyright © 2020 Pivotal Software. All rights reserved.