Class SettingsDTO


  • public class SettingsDTO
    extends Object
    SettingsDTO
    • Constructor Detail

      • SettingsDTO

        public SettingsDTO()
    • Method Detail

      • getGrantTypes

        @Nullable
        public List<String> getGrantTypes()
        Get grantTypes
        Returns:
        grantTypes
      • setGrantTypes

        public void setGrantTypes​(List<String> grantTypes)
      • setScopes

        public void setScopes​(List<String> scopes)
      • applicationSharingEnabled

        public SettingsDTO applicationSharingEnabled​(Boolean applicationSharingEnabled)
      • isApplicationSharingEnabled

        @Nullable
        public Boolean isApplicationSharingEnabled()
        Get applicationSharingEnabled
        Returns:
        applicationSharingEnabled
      • setApplicationSharingEnabled

        public void setApplicationSharingEnabled​(Boolean applicationSharingEnabled)
      • mapExistingAuthApps

        public SettingsDTO mapExistingAuthApps​(Boolean mapExistingAuthApps)
      • isMapExistingAuthApps

        @Nullable
        public Boolean isMapExistingAuthApps()
        Get mapExistingAuthApps
        Returns:
        mapExistingAuthApps
      • setMapExistingAuthApps

        public void setMapExistingAuthApps​(Boolean mapExistingAuthApps)
      • apiGatewayEndpoint

        public SettingsDTO apiGatewayEndpoint​(String apiGatewayEndpoint)
      • getApiGatewayEndpoint

        @Nullable
        public String getApiGatewayEndpoint()
        Get apiGatewayEndpoint
        Returns:
        apiGatewayEndpoint
      • setApiGatewayEndpoint

        public void setApiGatewayEndpoint​(String apiGatewayEndpoint)
      • monetizationEnabled

        public SettingsDTO monetizationEnabled​(Boolean monetizationEnabled)
      • isMonetizationEnabled

        @Nullable
        public Boolean isMonetizationEnabled()
        Get monetizationEnabled
        Returns:
        monetizationEnabled
      • setMonetizationEnabled

        public void setMonetizationEnabled​(Boolean monetizationEnabled)
      • recommendationEnabled

        public SettingsDTO recommendationEnabled​(Boolean recommendationEnabled)
      • isRecommendationEnabled

        @Nullable
        public Boolean isRecommendationEnabled()
        Get recommendationEnabled
        Returns:
        recommendationEnabled
      • setRecommendationEnabled

        public void setRecommendationEnabled​(Boolean recommendationEnabled)
      • isUnlimitedTierPaid

        public SettingsDTO isUnlimitedTierPaid​(Boolean isUnlimitedTierPaid)
      • isIsUnlimitedTierPaid

        @Nullable
        public Boolean isIsUnlimitedTierPaid()
        Get isUnlimitedTierPaid
        Returns:
        isUnlimitedTierPaid
      • setIsUnlimitedTierPaid

        public void setIsUnlimitedTierPaid​(Boolean isUnlimitedTierPaid)
      • isAnonymousModeEnabled

        public SettingsDTO isAnonymousModeEnabled​(Boolean isAnonymousModeEnabled)
      • isIsAnonymousModeEnabled

        @Nullable
        public Boolean isIsAnonymousModeEnabled()
        Get isAnonymousModeEnabled
        Returns:
        isAnonymousModeEnabled
      • setIsAnonymousModeEnabled

        public void setIsAnonymousModeEnabled​(Boolean isAnonymousModeEnabled)
      • isPasswordChangeEnabled

        public SettingsDTO isPasswordChangeEnabled​(Boolean isPasswordChangeEnabled)
      • isIsPasswordChangeEnabled

        @Nullable
        public Boolean isIsPasswordChangeEnabled()
        Get isPasswordChangeEnabled
        Returns:
        isPasswordChangeEnabled
      • setIsPasswordChangeEnabled

        public void setIsPasswordChangeEnabled​(Boolean isPasswordChangeEnabled)
      • userStorePasswordPattern

        public SettingsDTO userStorePasswordPattern​(String userStorePasswordPattern)
      • getUserStorePasswordPattern

        @Nullable
        public String getUserStorePasswordPattern()
        The 'PasswordJavaRegEx' cofigured in the UserStoreManager
        Returns:
        userStorePasswordPattern
      • setUserStorePasswordPattern

        public void setUserStorePasswordPattern​(String userStorePasswordPattern)
      • passwordPolicyPattern

        public SettingsDTO passwordPolicyPattern​(String passwordPolicyPattern)
      • getPasswordPolicyPattern

        @Nullable
        public String getPasswordPolicyPattern()
        The regex configured in the Password Policy property 'passwordPolicy.pattern'
        Returns:
        passwordPolicyPattern
      • setPasswordPolicyPattern

        public void setPasswordPolicyPattern​(String passwordPolicyPattern)
      • passwordPolicyMinLength

        public SettingsDTO passwordPolicyMinLength​(Integer passwordPolicyMinLength)
      • getPasswordPolicyMinLength

        @Nullable
        public Integer getPasswordPolicyMinLength()
        If Password Policy Feature is enabled, the property 'passwordPolicy.min.length' is returned as the 'passwordPolicyMinLength'. If password policy is not enabled, default value -1 will be returned. And it should be noted that the regex pattern(s) returned in 'passwordPolicyPattern' and 'userStorePasswordPattern' properties too will affect the minimum password length allowed and an intersection of all conditions will be considered finally to validate the password.
        Returns:
        passwordPolicyMinLength
      • setPasswordPolicyMinLength

        public void setPasswordPolicyMinLength​(Integer passwordPolicyMinLength)
      • passwordPolicyMaxLength

        public SettingsDTO passwordPolicyMaxLength​(Integer passwordPolicyMaxLength)
      • getPasswordPolicyMaxLength

        @Nullable
        public Integer getPasswordPolicyMaxLength()
        If Password Policy Feature is enabled, the property 'passwordPolicy.max.length' is returned as the 'passwordPolicyMaxLength'. If password policy is not enabled, default value -1 will be returned. And it should be noted that the regex pattern(s) returned in 'passwordPolicyPattern' and 'userStorePasswordPattern' properties too will affect the maximum password length allowed and an intersection of all conditions will be considered finally to validate the password.
        Returns:
        passwordPolicyMaxLength
      • setPasswordPolicyMaxLength

        public void setPasswordPolicyMaxLength​(Integer passwordPolicyMaxLength)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object