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 Summary
Modifier and TypeFieldDescriptionstatic final String
The constant ENABLED_FIELD_COLUMN.static final String
The constant ENABLED_UNIQUE_KEY.static final String
The constant LOWER_CASE_CHAR_COUNT_FIELD_COLUMN.static final String
The constant MAX_LENGTH_FIELD_COLUMN.static final String
The constant MAX_PASSWORD_AGE_FIELD_COLUMN.static final String
The constant MIN_LENGTH_FIELD_COLUMN.static final String
The constant NAME_FIELD_COLUMN.static final String
The constant NAME_LOWER_FUNCTION_INDEX.static final String
The constant NAME_UNIQUE_KEY.static final String
The constant NOT_EQUALS_LAST_PASSWORD_COUNT_FIELD_COLUMN.static final String
The constant NUMERIC_CHAR_COUNT_FIELD_COLUMN.static final String
The constant PERSONAL_INFORMATION_ALLOWED_FIELD_COLUMN.static final String
The constant SYMBOL_CHAR_COUNT_FIELD_COLUMN.static final String
The constant TABLE_NAME.static final String
The constant THREE_CONSECUTIVE_ALPHABETICAL_LETTERS_ALLOWED_FIELD_COLUMN.static final String
The constant THREE_CONSECUTIVE_NUMBERS_ALLOWED_FIELD_COLUMN.static final String
The constant THREE_SAME_CHARACTERS_ALLOWED_FIELD_COLUMN.static final String
The constant UPPER_CASE_CHAR_COUNT_FIELD_COLUMN.static final String
The constant UUID_INDEX.static final String
The constant UUID_UNIQUE_KEY.Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
DELETED_DATE_FIELD, DELETED_DATE_FIELD_COLUMN, DELETED_FIELD, DELETED_FIELD_COLUMN
Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
CREATED_BY_FIELD, CREATED_BY_FIELD_COLUMN, CREATED_DATE_FIELD, CREATED_DATE_FIELD_COLUMN, ID_FIELD, ID_FIELD_COLUMN, UPDATED_BY_FIELD, UPDATED_BY_FIELD_COLUMN, UPDATED_DATE_FIELD, UPDATED_DATE_FIELD_COLUMN, UUID_FIELD, UUID_FIELD_COLUMN, VERSION_FIELD, VERSION_FIELD_COLUMN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets enabled.Gets lower case char count.Gets max length.Gets max password age.Gets min length.getName()
Gets name.Gets not equals last password count.Gets numeric char count.Gets symbol char count.Gets upper case char count.boolean
Is personal information allowed boolean.boolean
Is three consecutive alphabetical letters allowed boolean.boolean
Is three consecutive numbers allowed boolean.boolean
Is three same characters allowed boolean.void
setEnabled
(Boolean enabled) Sets enabled.void
setLowerCaseCharCount
(Integer lowerCaseCharCount) Sets lower case char count.void
setMaxLength
(Integer maxLength) Sets max length.void
setMaxPasswordAge
(Integer maxPasswordAge) Sets max password age.void
setMinLength
(Integer minLength) Sets min length.void
Sets name.void
setNotEqualsLastPasswordCount
(Integer notEqualsLastPasswordCount) Sets not equals last password count.void
setNumericCharCount
(Integer numericCharCount) Sets numeric char count.void
setPersonalInformationAllowed
(boolean personalInformationAllowed) Sets personal information allowed.void
setSymbolCharCount
(Integer symbolCharCount) Sets symbol char count.void
setThreeConsecutiveAlphabeticalLettersAllowed
(boolean threeConsecutiveAlphabeticalLettersAllowed) Sets three consecutive alphabetical letters allowed.void
setThreeConsecutiveNumbersAllowed
(boolean threeConsecutiveNumbersAllowed) Sets three consecutive numbers allowed.void
setThreeSameCharactersAllowed
(boolean threeSameCharactersAllowed) Sets three same characters allowed.void
setUpperCaseCharCount
(Integer upperCaseCharCount) Sets upper case char count.Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
getDeleted, getDeletedDate, setDeleted, setDeletedDate
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlEntity
getId, setId
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
compareTo, equals, getCreatedBy, getDateCreated, getDateUpdated, getUpdatedBy, getUuid, getVersion, hashCode, setCreatedBy, setDateCreated, setDateUpdated, setUpdatedBy, setUuid, setVersion
-
Field Details
-
TABLE_NAME
The constant TABLE_NAME.- See Also:
-
NAME_FIELD_COLUMN
The constant NAME_FIELD_COLUMN.- See Also:
-
ENABLED_FIELD_COLUMN
The constant ENABLED_FIELD_COLUMN.- See Also:
-
MIN_LENGTH_FIELD_COLUMN
The constant MIN_LENGTH_FIELD_COLUMN.- See Also:
-
MAX_LENGTH_FIELD_COLUMN
The constant MAX_LENGTH_FIELD_COLUMN.- See Also:
-
UPPER_CASE_CHAR_COUNT_FIELD_COLUMN
The constant UPPER_CASE_CHAR_COUNT_FIELD_COLUMN.- See Also:
-
LOWER_CASE_CHAR_COUNT_FIELD_COLUMN
The constant LOWER_CASE_CHAR_COUNT_FIELD_COLUMN.- See Also:
-
NUMERIC_CHAR_COUNT_FIELD_COLUMN
The constant NUMERIC_CHAR_COUNT_FIELD_COLUMN.- See Also:
-
SYMBOL_CHAR_COUNT_FIELD_COLUMN
The constant SYMBOL_CHAR_COUNT_FIELD_COLUMN.- See Also:
-
THREE_SAME_CHARACTERS_ALLOWED_FIELD_COLUMN
The constant THREE_SAME_CHARACTERS_ALLOWED_FIELD_COLUMN.- See Also:
-
THREE_CONSECUTIVE_NUMBERS_ALLOWED_FIELD_COLUMN
The constant THREE_CONSECUTIVE_NUMBERS_ALLOWED_FIELD_COLUMN.- See Also:
-
THREE_CONSECUTIVE_ALPHABETICAL_LETTERS_ALLOWED_FIELD_COLUMN
The constant THREE_CONSECUTIVE_ALPHABETICAL_LETTERS_ALLOWED_FIELD_COLUMN.- See Also:
-
PERSONAL_INFORMATION_ALLOWED_FIELD_COLUMN
The constant PERSONAL_INFORMATION_ALLOWED_FIELD_COLUMN.- See Also:
-
NOT_EQUALS_LAST_PASSWORD_COUNT_FIELD_COLUMN
The constant NOT_EQUALS_LAST_PASSWORD_COUNT_FIELD_COLUMN.- See Also:
-
MAX_PASSWORD_AGE_FIELD_COLUMN
The constant MAX_PASSWORD_AGE_FIELD_COLUMN.- See Also:
-
UUID_UNIQUE_KEY
The constant UUID_UNIQUE_KEY.- See Also:
-
NAME_UNIQUE_KEY
The constant NAME_UNIQUE_KEY.- See Also:
-
ENABLED_UNIQUE_KEY
The constant ENABLED_UNIQUE_KEY.- See Also:
-
UUID_INDEX
The constant UUID_INDEX.- See Also:
-
NAME_LOWER_FUNCTION_INDEX
The constant NAME_LOWER_FUNCTION_INDEX.- See Also:
-
-
Constructor Details
-
HvlOAuthUserPasswordPolicy
public HvlOAuthUserPasswordPolicy()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getEnabled
Gets enabled.- Returns:
- the enabled
-
setEnabled
Sets enabled.- Parameters:
enabled
- the enabled
-
getMinLength
Gets min length.- Returns:
- the min length
-
setMinLength
Sets min length.- Parameters:
minLength
- the min length
-
getMaxLength
Gets max length.- Returns:
- the max length
-
setMaxLength
Sets max length.- Parameters:
maxLength
- the max length
-
getUpperCaseCharCount
Gets upper case char count.- Returns:
- the upper case char count
-
setUpperCaseCharCount
Sets upper case char count.- Parameters:
upperCaseCharCount
- the upper case char count
-
getLowerCaseCharCount
Gets lower case char count.- Returns:
- the lower case char count
-
setLowerCaseCharCount
Sets lower case char count.- Parameters:
lowerCaseCharCount
- the lower case char count
-
getNumericCharCount
Gets numeric char count.- Returns:
- the numeric char count
-
setNumericCharCount
Sets numeric char count.- Parameters:
numericCharCount
- the numeric char count
-
getSymbolCharCount
Gets symbol char count.- Returns:
- the symbol char count
-
setSymbolCharCount
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
Gets not equals last password count.- Returns:
- the not equals last password count
-
setNotEqualsLastPasswordCount
Sets not equals last password count.- Parameters:
notEqualsLastPasswordCount
- the not equals last password count
-
getMaxPasswordAge
Gets max password age.- Returns:
- the max password age
-
setMaxPasswordAge
Sets max password age.- Parameters:
maxPasswordAge
- the max password age
-