Package ru.bgcrm.util

# Class PswdUtil

java.lang.Object
ru.bgcrm.util.PswdUtil

Direct Known Subclasses:
  `PswdUtil.UserPswdUtil`

public class PswdUtil extends Object
Password utilities.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `PswdUtil.UserPswdUtil`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `EMPTY_PASSWORD`
  Empty value for sending to FE.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PswdUtil(ConfigMap config, String prefix)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `checkPassword(String pswd)`
  `void`
  `checkPassword(String pswd1, String pswd2)`
  `String`
  `generatePassword()`
  `String`
  `getPasswordChars()`
  `int`
  `getPasswordLengthAuto()`
  `int`
  `getPasswordLengthMax()`
  `int`
  `getPasswordLengthMin()`

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

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

- ## Field Details

  - ### EMPTY_PASSWORD

    public static final String EMPTY_PASSWORD
    Empty value for sending to FE.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### PswdUtil

    public PswdUtil(ConfigMap config, String prefix)

- ## Method Details

  - ### generatePassword

    public String generatePassword()

  - ### checkPassword

    public void checkPassword(String pswd) throws BGMessageException
    Throws:
      `BGMessageException`

  - ### checkPassword

    public void checkPassword(String pswd1, String pswd2) throws BGMessageException
    Throws:
      `BGMessageException`

  - ### getPasswordLengthMin

    public int getPasswordLengthMin()

  - ### getPasswordLengthMax

    public int getPasswordLengthMax()

  - ### getPasswordLengthAuto

    public int getPasswordLengthAuto()

  - ### getPasswordChars

    public String getPasswordChars()