com.atlassian.crowd.directory
Class PasswordScoreConstraint

java.lang.Object
  extended by com.atlassian.crowd.directory.PasswordScoreConstraint
All Implemented Interfaces:
PasswordConstraint

public class PasswordScoreConstraint
extends Object
implements PasswordConstraint


Constructor Summary
PasswordScoreConstraint(PasswordScore passwordScore, PasswordScoreService passwordScoreService)
           
 
Method Summary
 String toString()
           
 boolean validate(ValidatePasswordRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordScoreConstraint

public PasswordScoreConstraint(PasswordScore passwordScore,
                               PasswordScoreService passwordScoreService)
Parameters:
passwordScore - a minimum calculated score the password must match
passwordScoreService - A service to calculate the score of a PasswordCredential
Method Detail

validate

public boolean validate(ValidatePasswordRequest request)
Specified by:
validate in interface PasswordConstraint

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 Atlassian. All Rights Reserved.