org.springframework.security.authentication.encoding
Class BaseDigestPasswordEncoder
java.lang.Object
org.springframework.security.authentication.encoding.BasePasswordEncoder
org.springframework.security.authentication.encoding.BaseDigestPasswordEncoder
- All Implemented Interfaces:
- PasswordEncoder
- Direct Known Subclasses:
- Md4PasswordEncoder, MessageDigestPasswordEncoder
public abstract class BaseDigestPasswordEncoder
- extends BasePasswordEncoder
Convenience base for digest password encoders.
- Version:
- $Id: BaseDigestPasswordEncoder.java 3550 2009-04-13 13:43:23Z ltaylor $
- Author:
- colin sampaleanu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseDigestPasswordEncoder
public BaseDigestPasswordEncoder()
getEncodeHashAsBase64
public boolean getEncodeHashAsBase64()
setEncodeHashAsBase64
public void setEncodeHashAsBase64(boolean encodeHashAsBase64)
- The encoded password is normally returned as Hex (32 char) version of the hash bytes. Setting this
property to true will cause the encoded pass to be returned as Base64 text, which will consume 24 characters.
- Parameters:
encodeHashAsBase64
- set to true for Base64 output
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.