Class Md5PasswordEncoder

  extended by
      extended by
          extended by
              extended by
All Implemented Interfaces:

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.

$Id: 3550 2009-04-13 13:43:23Z ltaylor $
Ray Krueger, colin sampaleanu, Ben Alex

Constructor Summary
Method Summary
Methods inherited from class
encodePassword, getAlgorithm, getMessageDigest, isPasswordValid
Methods inherited from class
getEncodeHashAsBase64, setEncodeHashAsBase64
Methods inherited from class
demergePasswordAndSalt, mergePasswordAndSalt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Md5PasswordEncoder()

Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.