Class HvlOAuthUserPasswordPolicy

java.lang.Object
tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
tr.com.havelsan.javarch.domain.model.entity.HvlEntity
tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.user.entity.HvlOAuthUserPasswordPolicy
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity>, tr.com.havelsan.javarch.data.commons.structure.HvlEntityStructure<Long>

@Entity public class HvlOAuthUserPasswordPolicy extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which defines password policy fields.
See Also:
  • Field Details

    • TABLE_NAME

      public static final String TABLE_NAME
      The constant TABLE_NAME.
      See Also:
    • NAME_FIELD_COLUMN

      public static final String NAME_FIELD_COLUMN
      The constant NAME_FIELD_COLUMN.
      See Also:
    • ENABLED_FIELD_COLUMN

      public static final String ENABLED_FIELD_COLUMN
      The constant ENABLED_FIELD_COLUMN.
      See Also:
    • MIN_LENGTH_FIELD_COLUMN

      public static final String MIN_LENGTH_FIELD_COLUMN
      The constant MIN_LENGTH_FIELD_COLUMN.
      See Also:
    • MAX_LENGTH_FIELD_COLUMN

      public static final String MAX_LENGTH_FIELD_COLUMN
      The constant MAX_LENGTH_FIELD_COLUMN.
      See Also:
    • UPPER_CASE_CHAR_COUNT_FIELD_COLUMN

      public static final String UPPER_CASE_CHAR_COUNT_FIELD_COLUMN
      The constant UPPER_CASE_CHAR_COUNT_FIELD_COLUMN.
      See Also:
    • LOWER_CASE_CHAR_COUNT_FIELD_COLUMN

      public static final String LOWER_CASE_CHAR_COUNT_FIELD_COLUMN
      The constant LOWER_CASE_CHAR_COUNT_FIELD_COLUMN.
      See Also:
    • NUMERIC_CHAR_COUNT_FIELD_COLUMN

      public static final String NUMERIC_CHAR_COUNT_FIELD_COLUMN
      The constant NUMERIC_CHAR_COUNT_FIELD_COLUMN.
      See Also:
    • SYMBOL_CHAR_COUNT_FIELD_COLUMN

      public static final String SYMBOL_CHAR_COUNT_FIELD_COLUMN
      The constant SYMBOL_CHAR_COUNT_FIELD_COLUMN.
      See Also:
    • THREE_SAME_CHARACTERS_ALLOWED_FIELD_COLUMN

      public static final String THREE_SAME_CHARACTERS_ALLOWED_FIELD_COLUMN
      The constant THREE_SAME_CHARACTERS_ALLOWED_FIELD_COLUMN.
      See Also:
    • THREE_CONSECUTIVE_NUMBERS_ALLOWED_FIELD_COLUMN

      public static final String THREE_CONSECUTIVE_NUMBERS_ALLOWED_FIELD_COLUMN
      The constant THREE_CONSECUTIVE_NUMBERS_ALLOWED_FIELD_COLUMN.
      See Also:
    • THREE_CONSECUTIVE_ALPHABETICAL_LETTERS_ALLOWED_FIELD_COLUMN

      public static final String THREE_CONSECUTIVE_ALPHABETICAL_LETTERS_ALLOWED_FIELD_COLUMN
      The constant THREE_CONSECUTIVE_ALPHABETICAL_LETTERS_ALLOWED_FIELD_COLUMN.
      See Also:
    • PERSONAL_INFORMATION_ALLOWED_FIELD_COLUMN

      public static final String PERSONAL_INFORMATION_ALLOWED_FIELD_COLUMN
      The constant PERSONAL_INFORMATION_ALLOWED_FIELD_COLUMN.
      See Also:
    • NOT_EQUALS_LAST_PASSWORD_COUNT_FIELD_COLUMN

      public static final String NOT_EQUALS_LAST_PASSWORD_COUNT_FIELD_COLUMN
      The constant NOT_EQUALS_LAST_PASSWORD_COUNT_FIELD_COLUMN.
      See Also:
    • MAX_PASSWORD_AGE_FIELD_COLUMN

      public static final String MAX_PASSWORD_AGE_FIELD_COLUMN
      The constant MAX_PASSWORD_AGE_FIELD_COLUMN.
      See Also:
    • UUID_UNIQUE_KEY

      public static final String UUID_UNIQUE_KEY
      The constant UUID_UNIQUE_KEY.
      See Also:
    • NAME_UNIQUE_KEY

      public static final String NAME_UNIQUE_KEY
      The constant NAME_UNIQUE_KEY.
      See Also:
    • ENABLED_UNIQUE_KEY

      public static final String ENABLED_UNIQUE_KEY
      The constant ENABLED_UNIQUE_KEY.
      See Also:
    • UUID_INDEX

      public static final String UUID_INDEX
      The constant UUID_INDEX.
      See Also:
    • NAME_LOWER_FUNCTION_INDEX

      public static final String NAME_LOWER_FUNCTION_INDEX
      The constant NAME_LOWER_FUNCTION_INDEX.
      See Also:
  • Constructor Details

    • HvlOAuthUserPasswordPolicy

      public HvlOAuthUserPasswordPolicy()
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getEnabled

      public Boolean getEnabled()
      Gets enabled.
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets enabled.
      Parameters:
      enabled - the enabled
    • getMinLength

      public Integer getMinLength()
      Gets min length.
      Returns:
      the min length
    • setMinLength

      public void setMinLength(Integer minLength)
      Sets min length.
      Parameters:
      minLength - the min length
    • getMaxLength

      public Integer getMaxLength()
      Gets max length.
      Returns:
      the max length
    • setMaxLength

      public void setMaxLength(Integer maxLength)
      Sets max length.
      Parameters:
      maxLength - the max length
    • getUpperCaseCharCount

      public Integer getUpperCaseCharCount()
      Gets upper case char count.
      Returns:
      the upper case char count
    • setUpperCaseCharCount

      public void setUpperCaseCharCount(Integer upperCaseCharCount)
      Sets upper case char count.
      Parameters:
      upperCaseCharCount - the upper case char count
    • getLowerCaseCharCount

      public Integer getLowerCaseCharCount()
      Gets lower case char count.
      Returns:
      the lower case char count
    • setLowerCaseCharCount

      public void setLowerCaseCharCount(Integer lowerCaseCharCount)
      Sets lower case char count.
      Parameters:
      lowerCaseCharCount - the lower case char count
    • getNumericCharCount

      public Integer getNumericCharCount()
      Gets numeric char count.
      Returns:
      the numeric char count
    • setNumericCharCount

      public void setNumericCharCount(Integer numericCharCount)
      Sets numeric char count.
      Parameters:
      numericCharCount - the numeric char count
    • getSymbolCharCount

      public Integer getSymbolCharCount()
      Gets symbol char count.
      Returns:
      the symbol char count
    • setSymbolCharCount

      public void setSymbolCharCount(Integer symbolCharCount)
      Sets symbol char count.
      Parameters:
      symbolCharCount - the symbol char count
    • isThreeSameCharactersAllowed

      public boolean isThreeSameCharactersAllowed()
      Is three same characters allowed boolean.
      Returns:
      the boolean
    • setThreeSameCharactersAllowed

      public void setThreeSameCharactersAllowed(boolean threeSameCharactersAllowed)
      Sets three same characters allowed.
      Parameters:
      threeSameCharactersAllowed - the three same characters allowed
    • isThreeConsecutiveNumbersAllowed

      public boolean isThreeConsecutiveNumbersAllowed()
      Is three consecutive numbers allowed boolean.
      Returns:
      the boolean
    • setThreeConsecutiveNumbersAllowed

      public void setThreeConsecutiveNumbersAllowed(boolean threeConsecutiveNumbersAllowed)
      Sets three consecutive numbers allowed.
      Parameters:
      threeConsecutiveNumbersAllowed - the three consecutive numbers allowed
    • isThreeConsecutiveAlphabeticalLettersAllowed

      public boolean isThreeConsecutiveAlphabeticalLettersAllowed()
      Is three consecutive alphabetical letters allowed boolean.
      Returns:
      the boolean
    • setThreeConsecutiveAlphabeticalLettersAllowed

      public void setThreeConsecutiveAlphabeticalLettersAllowed(boolean threeConsecutiveAlphabeticalLettersAllowed)
      Sets three consecutive alphabetical letters allowed.
      Parameters:
      threeConsecutiveAlphabeticalLettersAllowed - the three consecutive alphabetical letters allowed
    • isPersonalInformationAllowed

      public boolean isPersonalInformationAllowed()
      Is personal information allowed boolean.
      Returns:
      the boolean
    • setPersonalInformationAllowed

      public void setPersonalInformationAllowed(boolean personalInformationAllowed)
      Sets personal information allowed.
      Parameters:
      personalInformationAllowed - the personal information allowed
    • getNotEqualsLastPasswordCount

      public Integer getNotEqualsLastPasswordCount()
      Gets not equals last password count.
      Returns:
      the not equals last password count
    • setNotEqualsLastPasswordCount

      public void setNotEqualsLastPasswordCount(Integer notEqualsLastPasswordCount)
      Sets not equals last password count.
      Parameters:
      notEqualsLastPasswordCount - the not equals last password count
    • getMaxPasswordAge

      public Integer getMaxPasswordAge()
      Gets max password age.
      Returns:
      the max password age
    • setMaxPasswordAge

      public void setMaxPasswordAge(Integer maxPasswordAge)
      Sets max password age.
      Parameters:
      maxPasswordAge - the max password age