br.com.arsmachina.authentication.controller.impl
Class DummyPasswordEncrypter

java.lang.Object
  extended by br.com.arsmachina.authentication.controller.impl.DummyPasswordEncrypter
All Implemented Interfaces:
PasswordEncrypter

public class DummyPasswordEncrypter
extends Object
implements PasswordEncrypter

PasswordEncrypter implementation that does not really encrypt passwords.

Author:
Thiago H. de Paula Figueiredo

Constructor Summary
DummyPasswordEncrypter()
           
 
Method Summary
 String encrypt(String password)
          Returns password unchanged.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyPasswordEncrypter

public DummyPasswordEncrypter()
Method Detail

encrypt

public String encrypt(String password)
Returns password unchanged.

Specified by:
encrypt in interface PasswordEncrypter
Parameters:
password - a String.
Returns:
password.
See Also:
PasswordEncrypter.encrypt(java.lang.String)


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.