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 Boolean revokeRefreshToken
protected Integer accessTokenLifespan
protected Integer accessTokenLifespanForImplicitFlow
protected Integer ssoSessionIdleTimeout
protected Integer ssoSessionMaxLifespan
protected Integer offlineSessionIdleTimeout
protected Integer accessCodeLifespan
protected Integer accessCodeLifespanUserAction
protected Integer accessCodeLifespanLogin
protected Boolean enabled
protected String sslRequired
@Deprecated protected Boolean passwordCredentialGrantAllowed
protected Boolean registrationAllowed
protected Boolean registrationEmailAsUsername
protected Boolean rememberMe
protected Boolean verifyEmail
protected Boolean resetPasswordAllowed
protected Boolean editUsernameAllowed
@Deprecated protected Boolean userCacheEnabled
@Deprecated protected Boolean realmCacheEnabled
protected Boolean bruteForceProtected
protected Integer maxFailureWaitSeconds
protected Integer minimumQuickLoginWaitSeconds
protected Integer waitIncrementSeconds
protected Long quickLoginCheckMilliSeconds
protected Integer maxDeltaTimeSeconds
protected Integer failureFactor
protected String privateKey
protected String publicKey
protected String certificate
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<ScopeMappingRepresentation> scopeMappings
protected Map<String,List<ScopeMappingRepresentation>> clientScopeMappings
protected List<ClientRepresentation> clients
protected List<ClientTemplateRepresentation> clientTemplates
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 keycloakVersion
@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
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 Boolean getRevokeRefreshToken()
public void setRevokeRefreshToken(Boolean revokeRefreshToken)
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 getOfflineSessionIdleTimeout()
public void setOfflineSessionIdleTimeout(Integer offlineSessionIdleTimeout)
public List<ScopeMappingRepresentation> getScopeMappings()
public ScopeMappingRepresentation clientScopeMapping(String clientName)
public ScopeMappingRepresentation clientTemplateScopeMapping(String clientTemplateName)
@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 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 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 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 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 getKeycloakVersion()
public void setKeycloakVersion(String keycloakVersion)
public List<GroupRepresentation> getGroups()
public void setGroups(List<GroupRepresentation> groups)
public List<ClientTemplateRepresentation> getClientTemplates()
public void setClientTemplates(List<ClientTemplateRepresentation> clientTemplates)
public boolean isIdentityFederationEnabled()
Copyright © 2016 JBoss by Red Hat. All rights reserved.