Class SettingsDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.SettingsDTO
-
public class SettingsDTO extends Object
SettingsDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_API_GATEWAY_ENDPOINTstatic StringSERIALIZED_NAME_APPLICATION_SHARING_ENABLEDstatic StringSERIALIZED_NAME_GRANT_TYPESstatic StringSERIALIZED_NAME_IDENTITY_PROVIDERstatic StringSERIALIZED_NAME_IS_ANONYMOUS_MODE_ENABLEDstatic StringSERIALIZED_NAME_IS_PASSWORD_CHANGE_ENABLEDstatic StringSERIALIZED_NAME_IS_UNLIMITED_TIER_PAIDstatic StringSERIALIZED_NAME_MAP_EXISTING_AUTH_APPSstatic StringSERIALIZED_NAME_MONETIZATION_ENABLEDstatic StringSERIALIZED_NAME_PASSWORD_POLICY_MAX_LENGTHstatic StringSERIALIZED_NAME_PASSWORD_POLICY_MIN_LENGTHstatic StringSERIALIZED_NAME_PASSWORD_POLICY_PATTERNstatic StringSERIALIZED_NAME_RECOMMENDATION_ENABLEDstatic StringSERIALIZED_NAME_SCOPESstatic StringSERIALIZED_NAME_USER_STORE_PASSWORD_PATTERN
-
Constructor Summary
Constructors Constructor Description SettingsDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SettingsDTOapiGatewayEndpoint(String apiGatewayEndpoint)SettingsDTOapplicationSharingEnabled(Boolean applicationSharingEnabled)booleanequals(Object o)StringgetApiGatewayEndpoint()Get apiGatewayEndpointList<String>getGrantTypes()Get grantTypesSettingsIdentityProviderDTOgetIdentityProvider()Get identityProviderIntegergetPasswordPolicyMaxLength()If Password Policy Feature is enabled, the property 'passwordPolicy.max.length' is returned as the 'passwordPolicyMaxLength'.IntegergetPasswordPolicyMinLength()If Password Policy Feature is enabled, the property 'passwordPolicy.min.length' is returned as the 'passwordPolicyMinLength'.StringgetPasswordPolicyPattern()The regex configured in the Password Policy property 'passwordPolicy.pattern'List<String>getScopes()Get scopesStringgetUserStorePasswordPattern()The 'PasswordJavaRegEx' cofigured in the UserStoreManagerSettingsDTOgrantTypes(List<String> grantTypes)inthashCode()SettingsDTOidentityProvider(SettingsIdentityProviderDTO identityProvider)SettingsDTOisAnonymousModeEnabled(Boolean isAnonymousModeEnabled)BooleanisApplicationSharingEnabled()Get applicationSharingEnabledBooleanisIsAnonymousModeEnabled()Get isAnonymousModeEnabledBooleanisIsPasswordChangeEnabled()Get isPasswordChangeEnabledBooleanisIsUnlimitedTierPaid()Get isUnlimitedTierPaidBooleanisMapExistingAuthApps()Get mapExistingAuthAppsBooleanisMonetizationEnabled()Get monetizationEnabledSettingsDTOisPasswordChangeEnabled(Boolean isPasswordChangeEnabled)BooleanisRecommendationEnabled()Get recommendationEnabledSettingsDTOisUnlimitedTierPaid(Boolean isUnlimitedTierPaid)SettingsDTOmapExistingAuthApps(Boolean mapExistingAuthApps)SettingsDTOmonetizationEnabled(Boolean monetizationEnabled)SettingsDTOpasswordPolicyMaxLength(Integer passwordPolicyMaxLength)SettingsDTOpasswordPolicyMinLength(Integer passwordPolicyMinLength)SettingsDTOpasswordPolicyPattern(String passwordPolicyPattern)SettingsDTOrecommendationEnabled(Boolean recommendationEnabled)SettingsDTOscopes(List<String> scopes)voidsetApiGatewayEndpoint(String apiGatewayEndpoint)voidsetApplicationSharingEnabled(Boolean applicationSharingEnabled)voidsetGrantTypes(List<String> grantTypes)voidsetIdentityProvider(SettingsIdentityProviderDTO identityProvider)voidsetIsAnonymousModeEnabled(Boolean isAnonymousModeEnabled)voidsetIsPasswordChangeEnabled(Boolean isPasswordChangeEnabled)voidsetIsUnlimitedTierPaid(Boolean isUnlimitedTierPaid)voidsetMapExistingAuthApps(Boolean mapExistingAuthApps)voidsetMonetizationEnabled(Boolean monetizationEnabled)voidsetPasswordPolicyMaxLength(Integer passwordPolicyMaxLength)voidsetPasswordPolicyMinLength(Integer passwordPolicyMinLength)voidsetPasswordPolicyPattern(String passwordPolicyPattern)voidsetRecommendationEnabled(Boolean recommendationEnabled)voidsetScopes(List<String> scopes)voidsetUserStorePasswordPattern(String userStorePasswordPattern)StringtoString()SettingsDTOuserStorePasswordPattern(String userStorePasswordPattern)
-
-
-
Field Detail
-
SERIALIZED_NAME_GRANT_TYPES
public static final String SERIALIZED_NAME_GRANT_TYPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCOPES
public static final String SERIALIZED_NAME_SCOPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION_SHARING_ENABLED
public static final String SERIALIZED_NAME_APPLICATION_SHARING_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAP_EXISTING_AUTH_APPS
public static final String SERIALIZED_NAME_MAP_EXISTING_AUTH_APPS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_API_GATEWAY_ENDPOINT
public static final String SERIALIZED_NAME_API_GATEWAY_ENDPOINT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MONETIZATION_ENABLED
public static final String SERIALIZED_NAME_MONETIZATION_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECOMMENDATION_ENABLED
public static final String SERIALIZED_NAME_RECOMMENDATION_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_UNLIMITED_TIER_PAID
public static final String SERIALIZED_NAME_IS_UNLIMITED_TIER_PAID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDENTITY_PROVIDER
public static final String SERIALIZED_NAME_IDENTITY_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_ANONYMOUS_MODE_ENABLED
public static final String SERIALIZED_NAME_IS_ANONYMOUS_MODE_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_PASSWORD_CHANGE_ENABLED
public static final String SERIALIZED_NAME_IS_PASSWORD_CHANGE_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_STORE_PASSWORD_PATTERN
public static final String SERIALIZED_NAME_USER_STORE_PASSWORD_PATTERN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PASSWORD_POLICY_PATTERN
public static final String SERIALIZED_NAME_PASSWORD_POLICY_PATTERN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PASSWORD_POLICY_MIN_LENGTH
public static final String SERIALIZED_NAME_PASSWORD_POLICY_MIN_LENGTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PASSWORD_POLICY_MAX_LENGTH
public static final String SERIALIZED_NAME_PASSWORD_POLICY_MAX_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
grantTypes
public SettingsDTO grantTypes(List<String> grantTypes)
-
scopes
public SettingsDTO scopes(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)
-
identityProvider
public SettingsDTO identityProvider(SettingsIdentityProviderDTO identityProvider)
-
getIdentityProvider
@Nullable public SettingsIdentityProviderDTO getIdentityProvider()
Get identityProvider- Returns:
- identityProvider
-
setIdentityProvider
public void setIdentityProvider(SettingsIdentityProviderDTO identityProvider)
-
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)
-
-