org.keycloak.models

## Class PasswordPolicy

- java.lang.Object
- - org.keycloak.models.PasswordPolicy

-     public class PasswordPolicy
      extends Object

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PasswordPolicy(String policyString)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getHashIterations()`
    `String` | `toString()`
    `String` | `validate(String password)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PasswordPolicy

          public PasswordPolicy(String policyString)

  - ### Method Detail

    - #### getHashIterations

          public int getHashIterations()

      Returns:
        -1 if no hash iterations setting

    - #### validate

          public String validate(String password)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015. All Rights Reserved.