org.eparapher.core.crypto.tools
Class PasswordPolicyManager

java.lang.Object
  extended by org.eparapher.core.crypto.tools.PasswordPolicyManager

public class PasswordPolicyManager
extends Object

Password Policy Manager. Very Simple for the moment Can evolve to a scoring system such as : http://www.geekwisdom.com/js/passwordmeter.js

Author:
arnault

Method Summary
 void compileregexp()
           
static PasswordPolicyManager getIstance()
           
 int getPasswordStrength(String secret)
           
 boolean isMinCharsCheck(String secret)
           
 boolean isMinLowerCheck(String secret)
           
 boolean isMinNumberCheck(String secret)
           
 boolean isMinSpecialCheck(String secret)
           
 boolean isMinUpperCheck(String secret)
           
 boolean isSecPolicyValidated(String secret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIstance

public static PasswordPolicyManager getIstance()

compileregexp

public void compileregexp()

isMinCharsCheck

public boolean isMinCharsCheck(String secret)

isMinUpperCheck

public boolean isMinUpperCheck(String secret)

isMinLowerCheck

public boolean isMinLowerCheck(String secret)

isMinNumberCheck

public boolean isMinNumberCheck(String secret)

isMinSpecialCheck

public boolean isMinSpecialCheck(String secret)

isSecPolicyValidated

public boolean isSecPolicyValidated(String secret)

getPasswordStrength

public int getPasswordStrength(String secret)


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.