org.apache.jetspeed.security.spi.impl
Class SimpleCredentialPasswordValidator

java.lang.Object
  extended by org.apache.jetspeed.security.spi.impl.SimpleCredentialPasswordValidator
All Implemented Interfaces:
org.apache.jetspeed.security.spi.CredentialPasswordValidator

public class SimpleCredentialPasswordValidator
extends Object
implements org.apache.jetspeed.security.spi.CredentialPasswordValidator

SimpleCredentialPasswordValidator

Version:
$Id: SimpleCredentialPasswordValidator.java 516448 2007-03-09 16:25:47Z ate $
Author:
Ate Douma

Field Summary
private  int minNumberOfDigits
           
private  int minPasswordLength
           
 
Constructor Summary
SimpleCredentialPasswordValidator(int minPasswordLength, int minNumberOfDigits)
           
 
Method Summary
 void validate(String clearTextPassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minPasswordLength

private int minPasswordLength

minNumberOfDigits

private int minNumberOfDigits
Constructor Detail

SimpleCredentialPasswordValidator

public SimpleCredentialPasswordValidator(int minPasswordLength,
                                         int minNumberOfDigits)
Parameters:
minPasswordLength -
minNumberOfDigits -
Method Detail

validate

public void validate(String clearTextPassword)
              throws org.apache.jetspeed.security.SecurityException
Specified by:
validate in interface org.apache.jetspeed.security.spi.CredentialPasswordValidator
Throws:
org.apache.jetspeed.security.SecurityException
See Also:
CredentialPasswordValidator.validate(String)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.