org.springframework.security.config.authentication
Class PasswordEncoderParser

java.lang.Object
  extended by org.springframework.security.config.authentication.PasswordEncoderParser

public class PasswordEncoderParser
extends Object

Stateful parser for the element. Will produce a PasswordEncoder and (optionally) a SaltSource.


Field Summary
static String ATT_HASH
           
 
Constructor Summary
PasswordEncoderParser(Element element, ParserContext parserContext)
           
 
Method Summary
static BeanDefinition createPasswordEncoderBeanDefinition(String hash, boolean useBase64)
           
 BeanMetadataElement getPasswordEncoder()
           
 BeanMetadataElement getSaltSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATT_HASH

public static final String ATT_HASH
See Also:
Constant Field Values
Constructor Detail

PasswordEncoderParser

public PasswordEncoderParser(Element element,
                             ParserContext parserContext)
Method Detail

createPasswordEncoderBeanDefinition

public static BeanDefinition createPasswordEncoderBeanDefinition(String hash,
                                                                 boolean useBase64)

getPasswordEncoder

public BeanMetadataElement getPasswordEncoder()

getSaltSource

public BeanMetadataElement getSaltSource()