org.springframework.security.providers.encoding
Class Md5PasswordEncoder
java.lang.Object
org.springframework.security.providers.encoding.BasePasswordEncoder
org.springframework.security.providers.encoding.BaseDigestPasswordEncoder
org.springframework.security.providers.encoding.MessageDigestPasswordEncoder
org.springframework.security.providers.encoding.Md5PasswordEncoder
- All Implemented Interfaces:
- PasswordEncoder
public class Md5PasswordEncoder
- extends MessageDigestPasswordEncoder
MD5 implementation of PasswordEncoder.
If a null
password is presented, it will be treated as an empty String
("")
password.
As MD5 is a one-way hash, the salt can contain any characters.
This is a convenience class that extends the
MessageDigestPasswordEncoder
and passes MD5 as the algorithm to use.
- Version:
- $Id$
- Author:
- Ray Krueger, colin sampaleanu, Ben Alex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Md5PasswordEncoder
public Md5PasswordEncoder()
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.