Class HvlOAuthUserPasswordPolicyModel
java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.user.model.HvlOAuthUserPasswordPolicyModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
public class HvlOAuthUserPasswordPolicyModel
extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for password policy operations
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets 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.int
hashCode()
boolean
Is all users password must be changed boolean.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
setAllUsersPasswordMustBeChanged
(boolean allUsersPasswordMustBeChanged) Sets all users password must be changed.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.dto.model.HvlModel
getId, setId
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlSimpleModel
compareTo, getCreatedBy, getDateCreated, getDateUpdated, getDeleted, getDeletedDate, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setDeleted, setDeletedDate, setUpdatedBy, setUuid, setVersion
-
Field Details
-
NAME_FIELD
The constant NAME_FIELD.- See Also:
-
ACTIVE_FIELD
The constant ACTIVE_FIELD.- See Also:
-
-
Constructor Details
-
HvlOAuthUserPasswordPolicyModel
public HvlOAuthUserPasswordPolicyModel()
-
-
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
-
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
-
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
-
getMaxPasswordAge
Gets max password age.- Returns:
- the max password age
-
setMaxPasswordAge
Sets max password age.- Parameters:
maxPasswordAge
- the max password age
-
isAllUsersPasswordMustBeChanged
public boolean isAllUsersPasswordMustBeChanged()Is all users password must be changed boolean.- Returns:
- the boolean
-
setAllUsersPasswordMustBeChanged
public void setAllUsersPasswordMustBeChanged(boolean allUsersPasswordMustBeChanged) Sets all users password must be changed.- Parameters:
allUsersPasswordMustBeChanged
- the all users password must be changed
-
equals
- Overrides:
equals
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-