public class RealmRepresentation extends Object
Constructor and Description |
---|
RealmRepresentation() |
protected String id
protected String realm
protected Integer notBefore
protected Integer accessTokenLifespan
protected Integer ssoSessionIdleTimeout
protected Integer ssoSessionMaxLifespan
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
protected Boolean userCacheEnabled
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 String passwordPolicy
protected List<UserRepresentation> users
protected List<ScopeMappingRepresentation> scopeMappings
protected Map<String,List<ScopeMappingRepresentation>> clientScopeMappings
protected List<ClientRepresentation> clients
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
@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 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 Integer getAccessTokenLifespan()
public void setAccessTokenLifespan(Integer accessTokenLifespan)
public Integer getSsoSessionIdleTimeout()
public void setSsoSessionIdleTimeout(Integer ssoSessionIdleTimeout)
public Integer getSsoSessionMaxLifespan()
public void setSsoSessionMaxLifespan(Integer ssoSessionMaxLifespan)
public List<ScopeMappingRepresentation> getScopeMappings()
public ScopeMappingRepresentation scopeMapping(String username)
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 isRealmCacheEnabled()
public void setRealmCacheEnabled(Boolean realmCacheEnabled)
public Boolean isUserCacheEnabled()
public void setUserCacheEnabled(Boolean userCacheEnabled)
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 boolean isIdentityFederationEnabled()
public List<ProtocolMapperRepresentation> getProtocolMappers()
public void addProtocolMapper(ProtocolMapperRepresentation rep)
public void setProtocolMappers(List<ProtocolMapperRepresentation> protocolMappers)
public Boolean isInternationalizationEnabled()
public void setInternationalizationEnabled(Boolean internationalizationEnabled)
public String getDefaultLocale()
public void setDefaultLocale(String defaultLocale)
public List<IdentityProviderMapperRepresentation> getIdentityProviderMappers()
public void setIdentityProviderMappers(List<IdentityProviderMapperRepresentation> identityProviderMappers)
public void addIdentityProviderMapper(IdentityProviderMapperRepresentation rep)
Copyright © 2015 JBoss by Red Hat. All rights reserved.