com.elasticpath.commons.util.impl
Class PasswordGeneratorImpl

java.lang.Object
  extended by com.elasticpath.commons.util.impl.PasswordGeneratorImpl
All Implemented Interfaces:
PasswordGenerator

public class PasswordGeneratorImpl
extends java.lang.Object
implements PasswordGenerator

This password generator generate random passwords with only letters and digits.


Field Summary
 
Fields inherited from interface com.elasticpath.commons.util.PasswordGenerator
DEFAULT_LENGTH
 
Constructor Summary
PasswordGeneratorImpl()
           
 
Method Summary
 java.lang.String getPassword()
          Return a random password with the default length.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordGeneratorImpl

public PasswordGeneratorImpl()
Method Detail

getPassword

public java.lang.String getPassword()
Return a random password with the default length.

Specified by:
getPassword in interface PasswordGenerator
Returns:
a random password with defautl length.