Class PasswordPolicy

    • Constructor Detail

      • PasswordPolicy

        public PasswordPolicy()
      • PasswordPolicy

        public PasswordPolicy​(Long id,
                              String description,
                              String type,
                              Long renewalTime,
                              Long maximumPeriod,
                              Long maximumPeriodExpired,
                              Long minimumPeriod,
                              Long minimumLength,
                              Long maximumLength,
                              String regularExpression,
                              Long minimumUppercase,
                              Long maximumUppercase,
                              Long minimumLowercase,
                              Long maximumLowercase,
                              Long minimumNumbers,
                              Long maximumNumbers,
                              Long minimumSymbols,
                              Long maximumSymbols,
                              Long maximumHistorical,
                              String userType,
                              String userTypeDescription,
                              String usersDomainCode,
                              String passwordDomainCode,
                              Integer maxFailures,
                              Integer unlockAfterSeconds,
                              boolean allowPasswordQuery,
                              boolean allowPasswordChange,
                              boolean complexPasswords,
                              String validationScript,
                              String validationScriptDescription)
      • PasswordPolicy

        public PasswordPolicy​(boolean allowPasswordQuery,
                              boolean allowPasswordChange,
                              boolean complexPasswords)
    • Method Detail

      • getId

        public Long getId()
        Gets value for attribute id
      • setId

        public void setId​(Long id)
        Sets value for attribute id
      • getDescription

        public String getDescription()
        Gets value for attribute description
      • setDescription

        public void setDescription​(String description)
        Sets value for attribute description
      • getType

        public String getType()
        Gets value for attribute type
      • setType

        public void setType​(String type)
        Sets value for attribute type
      • getRenewalTime

        public Long getRenewalTime()
        Gets value for attribute renewalTime
      • setRenewalTime

        public void setRenewalTime​(Long renewalTime)
        Sets value for attribute renewalTime
      • getMaximumPeriod

        public Long getMaximumPeriod()
        Gets value for attribute maximumPeriod
      • setMaximumPeriod

        public void setMaximumPeriod​(Long maximumPeriod)
        Sets value for attribute maximumPeriod
      • getMaximumPeriodExpired

        public Long getMaximumPeriodExpired()
        Gets value for attribute maximumPeriodExpired
      • setMaximumPeriodExpired

        public void setMaximumPeriodExpired​(Long maximumPeriodExpired)
        Sets value for attribute maximumPeriodExpired
      • getMinimumPeriod

        public Long getMinimumPeriod()
        Gets value for attribute minimumPeriod
      • setMinimumPeriod

        public void setMinimumPeriod​(Long minimumPeriod)
        Sets value for attribute minimumPeriod
      • getMinimumLength

        public Long getMinimumLength()
        Gets value for attribute minimumLength
      • setMinimumLength

        public void setMinimumLength​(Long minimumLength)
        Sets value for attribute minimumLength
      • getMaximumLength

        public Long getMaximumLength()
        Gets value for attribute maximumLength
      • setMaximumLength

        public void setMaximumLength​(Long maximumLength)
        Sets value for attribute maximumLength
      • getRegularExpression

        public String getRegularExpression()
        Gets value for attribute regularExpression
      • setRegularExpression

        public void setRegularExpression​(String regularExpression)
        Sets value for attribute regularExpression
      • getMinimumUppercase

        public Long getMinimumUppercase()
        Gets value for attribute minimumUppercase
      • setMinimumUppercase

        public void setMinimumUppercase​(Long minimumUppercase)
        Sets value for attribute minimumUppercase
      • getMaximumUppercase

        public Long getMaximumUppercase()
        Gets value for attribute maximumUppercase
      • setMaximumUppercase

        public void setMaximumUppercase​(Long maximumUppercase)
        Sets value for attribute maximumUppercase
      • getMinimumLowercase

        public Long getMinimumLowercase()
        Gets value for attribute minimumLowercase
      • setMinimumLowercase

        public void setMinimumLowercase​(Long minimumLowercase)
        Sets value for attribute minimumLowercase
      • getMaximumLowercase

        public Long getMaximumLowercase()
        Gets value for attribute maximumLowercase
      • setMaximumLowercase

        public void setMaximumLowercase​(Long maximumLowercase)
        Sets value for attribute maximumLowercase
      • getMinimumNumbers

        public Long getMinimumNumbers()
        Gets value for attribute minimumNumbers
      • setMinimumNumbers

        public void setMinimumNumbers​(Long minimumNumbers)
        Sets value for attribute minimumNumbers
      • getMaximumNumbers

        public Long getMaximumNumbers()
        Gets value for attribute maximumNumbers
      • setMaximumNumbers

        public void setMaximumNumbers​(Long maximumNumbers)
        Sets value for attribute maximumNumbers
      • getMinimumSymbols

        public Long getMinimumSymbols()
        Gets value for attribute minimumSymbols
      • setMinimumSymbols

        public void setMinimumSymbols​(Long minimumSymbols)
        Sets value for attribute minimumSymbols
      • getMaximumSymbols

        public Long getMaximumSymbols()
        Gets value for attribute maximumSymbols
      • setMaximumSymbols

        public void setMaximumSymbols​(Long maximumSymbols)
        Sets value for attribute maximumSymbols
      • getMaximumHistorical

        public Long getMaximumHistorical()
        Gets value for attribute maximumHistorical
      • setMaximumHistorical

        public void setMaximumHistorical​(Long maximumHistorical)
        Sets value for attribute maximumHistorical
      • getUserType

        public String getUserType()
        Gets value for attribute userType
      • setUserType

        public void setUserType​(String userType)
        Sets value for attribute userType
      • getUserTypeDescription

        public String getUserTypeDescription()
        Gets value for attribute userTypeDescription
      • setUserTypeDescription

        public void setUserTypeDescription​(String userTypeDescription)
        Sets value for attribute userTypeDescription
      • getUsersDomainCode

        public String getUsersDomainCode()
        Gets value for attribute usersDomainCode
      • setUsersDomainCode

        public void setUsersDomainCode​(String usersDomainCode)
        Sets value for attribute usersDomainCode
      • getPasswordDomainCode

        public String getPasswordDomainCode()
        Gets value for attribute passwordDomainCode
      • setPasswordDomainCode

        public void setPasswordDomainCode​(String passwordDomainCode)
        Sets value for attribute passwordDomainCode
      • getMaxFailures

        public Integer getMaxFailures()
        Gets value for attribute maxFailures
      • setMaxFailures

        public void setMaxFailures​(Integer maxFailures)
        Sets value for attribute maxFailures
      • getUnlockAfterSeconds

        public Integer getUnlockAfterSeconds()
        Gets value for attribute unlockAfterSeconds
      • setUnlockAfterSeconds

        public void setUnlockAfterSeconds​(Integer unlockAfterSeconds)
        Sets value for attribute unlockAfterSeconds
      • isAllowPasswordQuery

        public boolean isAllowPasswordQuery()
        Gets value for attribute allowPasswordQuery
      • setAllowPasswordQuery

        public void setAllowPasswordQuery​(boolean allowPasswordQuery)
        Sets value for attribute allowPasswordQuery
      • isAllowPasswordChange

        public boolean isAllowPasswordChange()
        Gets value for attribute allowPasswordChange
      • setAllowPasswordChange

        public void setAllowPasswordChange​(boolean allowPasswordChange)
        Sets value for attribute allowPasswordChange
      • isComplexPasswords

        public boolean isComplexPasswords()
        Gets value for attribute complexPasswords
      • setComplexPasswords

        public void setComplexPasswords​(boolean complexPasswords)
        Sets value for attribute complexPasswords
      • getValidationScript

        public String getValidationScript()
        Gets value for attribute validationScript
      • setValidationScript

        public void setValidationScript​(String validationScript)
        Sets value for attribute validationScript
      • getValidationScriptDescription

        public String getValidationScriptDescription()
        Gets value for attribute validationScriptDescription
      • setValidationScriptDescription

        public void setValidationScriptDescription​(String validationScriptDescription)
        Sets value for attribute validationScriptDescription
      • toString

        public String toString()
        Returns a string representation of the value object.
        Overrides:
        toString in class Object
      • toPasswordPolicy

        public static PasswordPolicy toPasswordPolicy​(PoliticaContrasenya vo)
        Creates a PasswordPolicy value object based on a PoliticaContrasenya object.
      • toPasswordPolicyArray

        public static PasswordPolicy[] toPasswordPolicyArray​(PoliticaContrasenya[] source)
        Creates a PasswordPolicy array on a PoliticaContrasenya array.
      • toPasswordPolicy

        public static void toPasswordPolicy​(PoliticaContrasenya source,
                                            PasswordPolicy target)
        Updates a PasswordPolicy value object based on a PoliticaContrasenya object.