public class RealmRepresentation extends Object
Constructor and Description |
---|
RealmRepresentation() |
protected String id
protected String realm
protected String displayName
protected String displayNameHtml
protected Integer notBefore
protected String defaultSignatureAlgorithm
protected Boolean revokeRefreshToken
protected Integer refreshTokenMaxReuse
protected Integer accessTokenLifespan
protected Integer accessTokenLifespanForImplicitFlow
protected Integer ssoSessionIdleTimeout
protected Integer ssoSessionMaxLifespan
protected Integer ssoSessionIdleTimeoutRememberMe
protected Integer ssoSessionMaxLifespanRememberMe
protected Integer offlineSessionIdleTimeout
protected Boolean offlineSessionMaxLifespanEnabled
protected Integer offlineSessionMaxLifespan
protected Integer accessCodeLifespan
protected Integer accessCodeLifespanUserAction
protected Integer accessCodeLifespanLogin
protected Integer actionTokenGeneratedByAdminLifespan
protected Integer actionTokenGeneratedByUserLifespan
protected Boolean enabled
protected String sslRequired
@Deprecated protected Boolean passwordCredentialGrantAllowed
protected Boolean registrationAllowed
protected Boolean registrationEmailAsUsername
protected Boolean rememberMe
protected Boolean verifyEmail
protected Boolean loginWithEmailAllowed
protected Boolean duplicateEmailsAllowed
protected Boolean resetPasswordAllowed
protected Boolean editUsernameAllowed
@Deprecated protected Boolean userCacheEnabled
@Deprecated protected Boolean realmCacheEnabled
protected Boolean bruteForceProtected
protected Boolean permanentLockout
protected Integer maxFailureWaitSeconds
protected Integer minimumQuickLoginWaitSeconds
protected Integer waitIncrementSeconds
protected Long quickLoginCheckMilliSeconds
protected Integer maxDeltaTimeSeconds
protected Integer failureFactor
@Deprecated protected String privateKey
@Deprecated protected String publicKey
@Deprecated protected String certificate
@Deprecated protected String codeSecret
protected RolesRepresentation roles
protected List<GroupRepresentation> groups
@Deprecated protected Set<String> requiredCredentials
protected String passwordPolicy
protected String otpPolicyType
protected String otpPolicyAlgorithm
protected Integer otpPolicyInitialCounter
protected Integer otpPolicyDigits
protected Integer otpPolicyLookAheadWindow
protected Integer otpPolicyPeriod
protected List<UserRepresentation> users
protected List<UserRepresentation> federatedUsers
protected List<ScopeMappingRepresentation> scopeMappings
protected Map<String,List<ScopeMappingRepresentation>> clientScopeMappings
protected List<ClientRepresentation> clients
protected List<ClientScopeRepresentation> clientScopes
protected List<UserFederationProviderRepresentation> userFederationProviders
protected List<UserFederationMapperRepresentation> userFederationMappers
protected String loginTheme
protected String accountTheme
protected String adminTheme
protected String emailTheme
protected Boolean eventsEnabled
protected Long eventsExpiration
protected Boolean adminEventsEnabled
protected Boolean adminEventsDetailsEnabled
protected Boolean internationalizationEnabled
protected String defaultLocale
protected List<AuthenticationFlowRepresentation> authenticationFlows
protected List<AuthenticatorConfigRepresentation> authenticatorConfig
protected List<RequiredActionProviderRepresentation> requiredActions
protected String browserFlow
protected String registrationFlow
protected String directGrantFlow
protected String resetCredentialsFlow
protected String clientAuthenticationFlow
protected String dockerAuthenticationFlow
protected String keycloakVersion
protected Boolean userManagedAccessAllowed
@Deprecated protected Boolean social
@Deprecated protected Boolean updateProfileOnInitialSocialLogin
@Deprecated protected Map<String,String> socialProviders
@Deprecated protected Map<String,List<ScopeMappingRepresentation>> applicationScopeMappings
@Deprecated protected List<ApplicationRepresentation> applications
@Deprecated protected List<OAuthClientRepresentation> oauthClients
@Deprecated protected List<ClientTemplateRepresentation> clientTemplates
public String getId()
public void setId(String id)
public String getRealm()
public void setRealm(String realm)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getDisplayNameHtml()
public void setDisplayNameHtml(String displayNameHtml)
public List<UserRepresentation> getUsers()
public List<ApplicationRepresentation> getApplications()
public void setUsers(List<UserRepresentation> users)
public UserRepresentation user(String username)
public List<ClientRepresentation> getClients()
public void setClients(List<ClientRepresentation> clients)
public Boolean isEnabled()
public void setEnabled(Boolean enabled)
public String getSslRequired()
public void setSslRequired(String sslRequired)
public String getDefaultSignatureAlgorithm()
public void setDefaultSignatureAlgorithm(String defaultSignatureAlgorithm)
public Boolean getRevokeRefreshToken()
public void setRevokeRefreshToken(Boolean revokeRefreshToken)
public Integer getRefreshTokenMaxReuse()
public void setRefreshTokenMaxReuse(Integer refreshTokenMaxReuse)
public Integer getAccessTokenLifespan()
public void setAccessTokenLifespan(Integer accessTokenLifespan)
public Integer getAccessTokenLifespanForImplicitFlow()
public void setAccessTokenLifespanForImplicitFlow(Integer accessTokenLifespanForImplicitFlow)
public Integer getSsoSessionIdleTimeout()
public void setSsoSessionIdleTimeout(Integer ssoSessionIdleTimeout)
public Integer getSsoSessionMaxLifespan()
public void setSsoSessionMaxLifespan(Integer ssoSessionMaxLifespan)
public Integer getSsoSessionMaxLifespanRememberMe()
public void setSsoSessionMaxLifespanRememberMe(Integer ssoSessionMaxLifespanRememberMe)
public Integer getSsoSessionIdleTimeoutRememberMe()
public void setSsoSessionIdleTimeoutRememberMe(Integer ssoSessionIdleTimeoutRememberMe)
public Integer getOfflineSessionIdleTimeout()
public void setOfflineSessionIdleTimeout(Integer offlineSessionIdleTimeout)
public Boolean getOfflineSessionMaxLifespanEnabled()
public void setOfflineSessionMaxLifespanEnabled(Boolean offlineSessionMaxLifespanEnabled)
public Integer getOfflineSessionMaxLifespan()
public void setOfflineSessionMaxLifespan(Integer offlineSessionMaxLifespan)
public List<ScopeMappingRepresentation> getScopeMappings()
public ScopeMappingRepresentation clientScopeMapping(String clientName)
public ScopeMappingRepresentation clientScopeScopeMapping(String clientScopeName)
@Deprecated public Set<String> getRequiredCredentials()
@Deprecated public void setRequiredCredentials(Set<String> requiredCredentials)
public String getPasswordPolicy()
public void setPasswordPolicy(String passwordPolicy)
public Integer getAccessCodeLifespan()
public void setAccessCodeLifespan(Integer accessCodeLifespan)
public Integer getAccessCodeLifespanUserAction()
public void setAccessCodeLifespanUserAction(Integer accessCodeLifespanUserAction)
public Integer getAccessCodeLifespanLogin()
public void setAccessCodeLifespanLogin(Integer accessCodeLifespanLogin)
public Integer getActionTokenGeneratedByAdminLifespan()
public void setActionTokenGeneratedByAdminLifespan(Integer actionTokenGeneratedByAdminLifespan)
public Integer getActionTokenGeneratedByUserLifespan()
public void setActionTokenGeneratedByUserLifespan(Integer actionTokenGeneratedByUserLifespan)
public String getPrivateKey()
public void setPrivateKey(String privateKey)
public String getPublicKey()
public void setPublicKey(String publicKey)
public String getCertificate()
public void setCertificate(String certificate)
public String getCodeSecret()
public void setCodeSecret(String codeSecret)
public Boolean isPasswordCredentialGrantAllowed()
public Boolean isRegistrationAllowed()
public void setRegistrationAllowed(Boolean registrationAllowed)
public Boolean isRegistrationEmailAsUsername()
public void setRegistrationEmailAsUsername(Boolean registrationEmailAsUsername)
public Boolean isRememberMe()
public void setRememberMe(Boolean rememberMe)
public Boolean isVerifyEmail()
public void setVerifyEmail(Boolean verifyEmail)
public Boolean isLoginWithEmailAllowed()
public void setLoginWithEmailAllowed(Boolean loginWithEmailAllowed)
public Boolean isDuplicateEmailsAllowed()
public void setDuplicateEmailsAllowed(Boolean duplicateEmailsAllowed)
public Boolean isResetPasswordAllowed()
public void setResetPasswordAllowed(Boolean resetPassword)
public Boolean isEditUsernameAllowed()
public void setEditUsernameAllowed(Boolean editUsernameAllowed)
@Deprecated public Boolean isSocial()
@Deprecated public Boolean isUpdateProfileOnInitialSocialLogin()
public void setBrowserSecurityHeaders(Map<String,String> browserSecurityHeaders)
@Deprecated public Map<String,String> getSocialProviders()
@Deprecated public List<OAuthClientRepresentation> getOauthClients()
public Map<String,List<ScopeMappingRepresentation>> getClientScopeMappings()
public void setClientScopeMappings(Map<String,List<ScopeMappingRepresentation>> clientScopeMappings)
@Deprecated public Map<String,List<ScopeMappingRepresentation>> getApplicationScopeMappings()
public RolesRepresentation getRoles()
public void setRoles(RolesRepresentation roles)
public String getLoginTheme()
public void setLoginTheme(String loginTheme)
public String getAccountTheme()
public void setAccountTheme(String accountTheme)
public String getAdminTheme()
public void setAdminTheme(String adminTheme)
public String getEmailTheme()
public void setEmailTheme(String emailTheme)
public Integer getNotBefore()
public void setNotBefore(Integer notBefore)
public Boolean isBruteForceProtected()
public void setBruteForceProtected(Boolean bruteForceProtected)
public Boolean isPermanentLockout()
public void setPermanentLockout(Boolean permanentLockout)
public Integer getMaxFailureWaitSeconds()
public void setMaxFailureWaitSeconds(Integer maxFailureWaitSeconds)
public Integer getMinimumQuickLoginWaitSeconds()
public void setMinimumQuickLoginWaitSeconds(Integer minimumQuickLoginWaitSeconds)
public Integer getWaitIncrementSeconds()
public void setWaitIncrementSeconds(Integer waitIncrementSeconds)
public Long getQuickLoginCheckMilliSeconds()
public void setQuickLoginCheckMilliSeconds(Long quickLoginCheckMilliSeconds)
public Integer getMaxDeltaTimeSeconds()
public void setMaxDeltaTimeSeconds(Integer maxDeltaTimeSeconds)
public Integer getFailureFactor()
public void setFailureFactor(Integer failureFactor)
public Boolean isEventsEnabled()
public void setEventsEnabled(boolean eventsEnabled)
public Long getEventsExpiration()
public void setEventsExpiration(long eventsExpiration)
public Boolean isAdminEventsEnabled()
public void setAdminEventsEnabled(Boolean adminEventsEnabled)
public Boolean isAdminEventsDetailsEnabled()
public void setAdminEventsDetailsEnabled(Boolean adminEventsDetailsEnabled)
public List<UserFederationProviderRepresentation> getUserFederationProviders()
public void setUserFederationProviders(List<UserFederationProviderRepresentation> userFederationProviders)
public List<UserFederationMapperRepresentation> getUserFederationMappers()
public void setUserFederationMappers(List<UserFederationMapperRepresentation> userFederationMappers)
public void addUserFederationMapper(UserFederationMapperRepresentation userFederationMapper)
public List<IdentityProviderRepresentation> getIdentityProviders()
public void setIdentityProviders(List<IdentityProviderRepresentation> identityProviders)
public void addIdentityProvider(IdentityProviderRepresentation identityProviderRepresentation)
public List<ProtocolMapperRepresentation> getProtocolMappers()
public void addProtocolMapper(ProtocolMapperRepresentation rep)
public void setProtocolMappers(List<ProtocolMapperRepresentation> protocolMappers)
public Boolean isInternationalizationEnabled()
public void setInternationalizationEnabled(Boolean internationalizationEnabled)
public void addSupportedLocales(String locale)
public String getDefaultLocale()
public void setDefaultLocale(String defaultLocale)
public List<IdentityProviderMapperRepresentation> getIdentityProviderMappers()
public void setIdentityProviderMappers(List<IdentityProviderMapperRepresentation> identityProviderMappers)
public void addIdentityProviderMapper(IdentityProviderMapperRepresentation rep)
public List<AuthenticationFlowRepresentation> getAuthenticationFlows()
public void setAuthenticationFlows(List<AuthenticationFlowRepresentation> authenticationFlows)
public List<AuthenticatorConfigRepresentation> getAuthenticatorConfig()
public void setAuthenticatorConfig(List<AuthenticatorConfigRepresentation> authenticatorConfig)
public List<RequiredActionProviderRepresentation> getRequiredActions()
public void setRequiredActions(List<RequiredActionProviderRepresentation> requiredActions)
public String getOtpPolicyType()
public void setOtpPolicyType(String otpPolicyType)
public String getOtpPolicyAlgorithm()
public void setOtpPolicyAlgorithm(String otpPolicyAlgorithm)
public Integer getOtpPolicyInitialCounter()
public void setOtpPolicyInitialCounter(Integer otpPolicyInitialCounter)
public Integer getOtpPolicyDigits()
public void setOtpPolicyDigits(Integer otpPolicyDigits)
public Integer getOtpPolicyLookAheadWindow()
public void setOtpPolicyLookAheadWindow(Integer otpPolicyLookAheadWindow)
public Integer getOtpPolicyPeriod()
public void setOtpPolicyPeriod(Integer otpPolicyPeriod)
public void setOtpSupportedApplications(List<String> otpSupportedApplications)
public String getBrowserFlow()
public void setBrowserFlow(String browserFlow)
public String getRegistrationFlow()
public void setRegistrationFlow(String registrationFlow)
public String getDirectGrantFlow()
public void setDirectGrantFlow(String directGrantFlow)
public String getResetCredentialsFlow()
public void setResetCredentialsFlow(String resetCredentialsFlow)
public String getClientAuthenticationFlow()
public void setClientAuthenticationFlow(String clientAuthenticationFlow)
public String getDockerAuthenticationFlow()
public RealmRepresentation setDockerAuthenticationFlow(String dockerAuthenticationFlow)
public String getKeycloakVersion()
public void setKeycloakVersion(String keycloakVersion)
public List<GroupRepresentation> getGroups()
public void setGroups(List<GroupRepresentation> groups)
@Deprecated public List<ClientTemplateRepresentation> getClientTemplates()
public List<ClientScopeRepresentation> getClientScopes()
public void setClientScopes(List<ClientScopeRepresentation> clientScopes)
public void setDefaultDefaultClientScopes(List<String> defaultDefaultClientScopes)
public void setDefaultOptionalClientScopes(List<String> defaultOptionalClientScopes)
public MultivaluedHashMap<String,ComponentExportRepresentation> getComponents()
public void setComponents(MultivaluedHashMap<String,ComponentExportRepresentation> components)
public boolean isIdentityFederationEnabled()
public List<UserRepresentation> getFederatedUsers()
public void setFederatedUsers(List<UserRepresentation> federatedUsers)
public void setUserManagedAccessAllowed(Boolean userManagedAccessAllowed)
public Boolean isUserManagedAccessAllowed()
Copyright © 2019 JBoss by Red Hat. All rights reserved.