org.cloudfoundry.identity.uaa.scim.validate
Class DefaultPasswordValidator

java.lang.Object
  extended by org.cloudfoundry.identity.uaa.scim.validate.DefaultPasswordValidator
All Implemented Interfaces:
PasswordValidator

public class DefaultPasswordValidator
extends Object
implements PasswordValidator

A standard password validator built using vt-password rules.

Author:
Luke Taylor

Constructor Summary
DefaultPasswordValidator()
           
 
Method Summary
 void validate(String password, ScimUser user)
          Validates the password as to whether it is valid for a specific user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPasswordValidator

public DefaultPasswordValidator()
Method Detail

validate

public void validate(String password,
                     ScimUser user)
              throws InvalidPasswordException
Description copied from interface: PasswordValidator
Validates the password as to whether it is valid for a specific user.

Specified by:
validate in interface PasswordValidator
Parameters:
password - the trial password
user - the user data to whom the password applies
Throws:
InvalidPasswordException


Copyright © 2013. All rights reserved.