org.keycloak.models.jpa.entities

## Class RealmEntity

- java.lang.Object
- - org.keycloak.models.jpa.entities.RealmEntity

-     @Entity
      public class RealmEntity
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected int` | `accessCodeLifespan`
    `protected int` | `accessCodeLifespanUserAction`
    `protected int` | `accessTokenLifespan`
    `protected String` | `accountTheme`
    `protected String` | `adminTheme`
    `protected boolean` | `auditEnabled`
    `protected long` | `auditExpiration`
    `protected Set<String>` | `auditListeners`
    `protected boolean` | `bruteForceProtected`
    `protected Collection<RoleEntity>` | `defaultRoles`
    `protected String` | `emailTheme`
    `protected boolean` | `enabled`
    `protected int` | `failureFactor`
    `protected String` | `id`
    `protected Map<String,String>` | `ldapServerConfig`
    `protected String` | `loginTheme`
    `protected ApplicationEntity` | `masterAdminApp`
    `protected int` | `maxDeltaTimeSeconds`
    `protected int` | `maxFailureWaitSeconds`
    `protected int` | `minimumQuickLoginWaitSeconds`
    `protected String` | `name`
    `protected int` | `notBefore`
    `protected boolean` | `passwordCredentialGrantAllowed`
    `protected String` | `passwordPolicy`
    `protected String` | `privateKeyPem`
    `protected String` | `publicKeyPem`
    `protected long` | `quickLoginCheckMilliSeconds`
    `protected boolean` | `registrationAllowed`
    `protected boolean` | `rememberMe`
    `protected boolean` | `resetPasswordAllowed`
    `protected Map<String,String>` | `smtpConfig`
    `protected boolean` | `social`
    `protected Map<String,String>` | `socialConfig`
    `protected boolean` | `sslNotRequired`
    `protected boolean` | `updateProfileOnInitialSocialLogin`
    `protected boolean` | `verifyEmail`
    `protected int` | `waitIncrementSeconds`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RealmEntity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addRole(RealmRoleEntity role)`
    `int` | `getAccessCodeLifespan()`
    `int` | `getAccessCodeLifespanUserAction()`
    `int` | `getAccessTokenLifespan()`
    `String` | `getAccountTheme()`
    `String` | `getAdminTheme()`
    `Collection<ApplicationEntity>` | `getApplications()`
    `long` | `getAuditExpiration()`
    `Set<String>` | `getAuditListeners()`
    `List<AuthenticationProviderEntity>` | `getAuthenticationProviders()`
    `Collection<RoleEntity>` | `getDefaultRoles()`
    `String` | `getEmailTheme()`
    `int` | `getFailureFactor()`
    `String` | `getId()`
    `Map<String,String>` | `getLdapServerConfig()`
    `String` | `getLoginTheme()`
    `ApplicationEntity` | `getMasterAdminApp()`
    `int` | `getMaxDeltaTimeSeconds()`
    `int` | `getMaxFailureWaitSeconds()`
    `int` | `getMinimumQuickLoginWaitSeconds()`
    `String` | `getName()`
    `int` | `getNotBefore()`
    `String` | `getPasswordPolicy()`
    `String` | `getPrivateKeyPem()`
    `String` | `getPublicKeyPem()`
    `long` | `getQuickLoginCheckMilliSeconds()`
    `Collection<RequiredCredentialEntity>` | `getRequiredCredentials()`
    `Collection<RealmRoleEntity>` | `getRoles()`
    `Map<String,String>` | `getSmtpConfig()`
    `Map<String,String>` | `getSocialConfig()`
    `int` | `getSsoSessionIdleTimeout()`
    `int` | `getSsoSessionMaxLifespan()`
    `int` | `getWaitIncrementSeconds()`
    `boolean` | `isAuditEnabled()`
    `boolean` | `isBruteForceProtected()`
    `boolean` | `isEnabled()`
    `boolean` | `isPasswordCredentialGrantAllowed()`
    `boolean` | `isRegistrationAllowed()`
    `boolean` | `isRememberMe()`
    `boolean` | `isResetPasswordAllowed()`
    `boolean` | `isSocial()`
    `boolean` | `isSslNotRequired()`
    `boolean` | `isUpdateProfileOnInitialSocialLogin()`
    `boolean` | `isVerifyEmail()`
    `void` | `setAccessCodeLifespan(int accessCodeLifespan)`
    `void` | `setAccessCodeLifespanUserAction(int accessCodeLifespanUserAction)`
    `void` | `setAccessTokenLifespan(int accessTokenLifespan)`
    `void` | `setAccountTheme(String theme)`
    `void` | `setAdminTheme(String adminTheme)`
    `void` | `setApplications(Collection<ApplicationEntity> applications)`
    `void` | `setAuditEnabled(boolean auditEnabled)`
    `void` | `setAuditExpiration(long auditExpiration)`
    `void` | `setAuditListeners(Set<String> auditListeners)`
    `void` | `setAuthenticationProviders(List<AuthenticationProviderEntity> authenticationProviders)`
    `void` | `setBruteForceProtected(boolean bruteForceProtected)`
    `void` | `setDefaultRoles(Collection<RoleEntity> defaultRoles)`
    `void` | `setEmailTheme(String emailTheme)`
    `void` | `setEnabled(boolean enabled)`
    `void` | `setFailureFactor(int failureFactor)`
    `void` | `setId(String id)`
    `void` | `setLdapServerConfig(Map<String,String> ldapServerConfig)`
    `void` | `setLoginTheme(String theme)`
    `void` | `setMasterAdminApp(ApplicationEntity masterAdminApp)`
    `void` | `setMaxDeltaTimeSeconds(int maxDeltaTimeSeconds)`
    `void` | `setMaxFailureWaitSeconds(int maxFailureWaitSeconds)`
    `void` | `setMinimumQuickLoginWaitSeconds(int minimumQuickLoginWaitSeconds)`
    `void` | `setName(String name)`
    `void` | `setNotBefore(int notBefore)`
    `void` | `setPasswordCredentialGrantAllowed(boolean passwordCredentialGrantAllowed)`
    `void` | `setPasswordPolicy(String passwordPolicy)`
    `void` | `setPrivateKeyPem(String privateKeyPem)`
    `void` | `setPublicKeyPem(String publicKeyPem)`
    `void` | `setQuickLoginCheckMilliSeconds(long quickLoginCheckMilliSeconds)`
    `void` | `setRegistrationAllowed(boolean registrationAllowed)`
    `void` | `setRememberMe(boolean rememberMe)`
    `void` | `setRequiredCredentials(Collection<RequiredCredentialEntity> requiredCredentials)`
    `void` | `setResetPasswordAllowed(boolean resetPasswordAllowed)`
    `void` | `setRoles(Collection<RealmRoleEntity> roles)`
    `void` | `setSmtpConfig(Map<String,String> smtpConfig)`
    `void` | `setSocial(boolean social)`
    `void` | `setSocialConfig(Map<String,String> socialConfig)`
    `void` | `setSslNotRequired(boolean sslNotRequired)`
    `void` | `setSsoSessionIdleTimeout(int ssoSessionIdleTimeout)`
    `void` | `setSsoSessionMaxLifespan(int ssoSessionMaxLifespan)`
    `void` | `setUpdateProfileOnInitialSocialLogin(boolean updateProfileOnInitialSocialLogin)`
    `void` | `setVerifyEmail(boolean verifyEmail)`
    `void` | `setWaitIncrementSeconds(int waitIncrementSeconds)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### id

          protected String id

    - #### name

          protected String name

    - #### enabled

          protected boolean enabled

    - #### sslNotRequired

          protected boolean sslNotRequired

    - #### registrationAllowed

          protected boolean registrationAllowed

    - #### passwordCredentialGrantAllowed

          protected boolean passwordCredentialGrantAllowed

    - #### verifyEmail

          protected boolean verifyEmail

    - #### resetPasswordAllowed

          protected boolean resetPasswordAllowed

    - #### social

          protected boolean social

    - #### rememberMe

          protected boolean rememberMe

    - #### bruteForceProtected

          protected boolean bruteForceProtected

    - #### maxFailureWaitSeconds

          protected int maxFailureWaitSeconds

    - #### minimumQuickLoginWaitSeconds

          protected int minimumQuickLoginWaitSeconds

    - #### waitIncrementSeconds

          protected int waitIncrementSeconds

    - #### quickLoginCheckMilliSeconds

          protected long quickLoginCheckMilliSeconds

    - #### maxDeltaTimeSeconds

          protected int maxDeltaTimeSeconds

    - #### failureFactor

          protected int failureFactor

    - #### updateProfileOnInitialSocialLogin

          protected boolean updateProfileOnInitialSocialLogin

    - #### passwordPolicy

          protected String passwordPolicy

    - #### accessTokenLifespan

          protected int accessTokenLifespan

    - #### accessCodeLifespan

          protected int accessCodeLifespan

    - #### accessCodeLifespanUserAction

          protected int accessCodeLifespanUserAction

    - #### notBefore

          protected int notBefore

    - #### publicKeyPem

          protected String publicKeyPem

    - #### privateKeyPem

          protected String privateKeyPem

    - #### loginTheme

          protected String loginTheme

    - #### accountTheme

          protected String accountTheme

    - #### adminTheme

          protected String adminTheme

    - #### emailTheme

          protected String emailTheme

    - #### smtpConfig

          protected Map<String,String> smtpConfig

    - #### socialConfig

          protected Map<String,String> socialConfig

    - #### ldapServerConfig

          protected Map<String,String> ldapServerConfig

    - #### defaultRoles

          protected Collection<RoleEntity> defaultRoles

    - #### auditEnabled

          protected boolean auditEnabled

    - #### auditExpiration

          protected long auditExpiration

    - #### auditListeners

          protected Set<String> auditListeners

    - #### masterAdminApp

          protected ApplicationEntity masterAdminApp

  - ### Constructor Detail

    - #### RealmEntity

          public RealmEntity()

  - ### Method Detail

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### getName

          public String getName()

    - #### setName

          public void setName(String name)

    - #### isEnabled

          public boolean isEnabled()

    - #### setEnabled

          public void setEnabled(boolean enabled)

    - #### isSslNotRequired

          public boolean isSslNotRequired()

    - #### setSslNotRequired

          public void setSslNotRequired(boolean sslNotRequired)

    - #### isPasswordCredentialGrantAllowed

          public boolean isPasswordCredentialGrantAllowed()

    - #### setPasswordCredentialGrantAllowed

          public void setPasswordCredentialGrantAllowed(boolean passwordCredentialGrantAllowed)

    - #### isRegistrationAllowed

          public boolean isRegistrationAllowed()

    - #### setRegistrationAllowed

          public void setRegistrationAllowed(boolean registrationAllowed)

    - #### isRememberMe

          public boolean isRememberMe()

    - #### setRememberMe

          public void setRememberMe(boolean rememberMe)

    - #### isVerifyEmail

          public boolean isVerifyEmail()

    - #### setVerifyEmail

          public void setVerifyEmail(boolean verifyEmail)

    - #### isResetPasswordAllowed

          public boolean isResetPasswordAllowed()

    - #### setResetPasswordAllowed

          public void setResetPasswordAllowed(boolean resetPasswordAllowed)

    - #### isSocial

          public boolean isSocial()

    - #### setSocial

          public void setSocial(boolean social)

    - #### isUpdateProfileOnInitialSocialLogin

          public boolean isUpdateProfileOnInitialSocialLogin()

    - #### setUpdateProfileOnInitialSocialLogin

          public void setUpdateProfileOnInitialSocialLogin(boolean updateProfileOnInitialSocialLogin)

    - #### getSsoSessionIdleTimeout

          public int getSsoSessionIdleTimeout()

    - #### setSsoSessionIdleTimeout

          public void setSsoSessionIdleTimeout(int ssoSessionIdleTimeout)

    - #### getSsoSessionMaxLifespan

          public int getSsoSessionMaxLifespan()

    - #### setSsoSessionMaxLifespan

          public void setSsoSessionMaxLifespan(int ssoSessionMaxLifespan)

    - #### getAccessTokenLifespan

          public int getAccessTokenLifespan()

    - #### setAccessTokenLifespan

          public void setAccessTokenLifespan(int accessTokenLifespan)

    - #### getAccessCodeLifespan

          public int getAccessCodeLifespan()

    - #### setAccessCodeLifespan

          public void setAccessCodeLifespan(int accessCodeLifespan)

    - #### getAccessCodeLifespanUserAction

          public int getAccessCodeLifespanUserAction()

    - #### setAccessCodeLifespanUserAction

          public void setAccessCodeLifespanUserAction(int accessCodeLifespanUserAction)

    - #### getPublicKeyPem

          public String getPublicKeyPem()

    - #### setPublicKeyPem

          public void setPublicKeyPem(String publicKeyPem)

    - #### getPrivateKeyPem

          public String getPrivateKeyPem()

    - #### setPrivateKeyPem

          public void setPrivateKeyPem(String privateKeyPem)

    - #### getRequiredCredentials

          public Collection<RequiredCredentialEntity> getRequiredCredentials()

    - #### setRequiredCredentials

          public void setRequiredCredentials(Collection<RequiredCredentialEntity> requiredCredentials)

    - #### getAuthenticationProviders

          public List<AuthenticationProviderEntity> getAuthenticationProviders()

    - #### setAuthenticationProviders

          public void setAuthenticationProviders(List<AuthenticationProviderEntity> authenticationProviders)

    - #### getApplications

          public Collection<ApplicationEntity> getApplications()

    - #### setApplications

          public void setApplications(Collection<ApplicationEntity> applications)

    - #### getRoles

          public Collection<RealmRoleEntity> getRoles()

    - #### setRoles

          public void setRoles(Collection<RealmRoleEntity> roles)

    - #### addRole

          public void addRole(RealmRoleEntity role)

    - #### getSmtpConfig

          public Map<String,String> getSmtpConfig()

    - #### setSmtpConfig

          public void setSmtpConfig(Map<String,String> smtpConfig)

    - #### getSocialConfig

          public Map<String,String> getSocialConfig()

    - #### setSocialConfig

          public void setSocialConfig(Map<String,String> socialConfig)

    - #### getLdapServerConfig

          public Map<String,String> getLdapServerConfig()

    - #### setLdapServerConfig

          public void setLdapServerConfig(Map<String,String> ldapServerConfig)

    - #### getDefaultRoles

          public Collection<RoleEntity> getDefaultRoles()

    - #### setDefaultRoles

          public void setDefaultRoles(Collection<RoleEntity> defaultRoles)

    - #### getPasswordPolicy

          public String getPasswordPolicy()

    - #### setPasswordPolicy

          public void setPasswordPolicy(String passwordPolicy)

    - #### getLoginTheme

          public String getLoginTheme()

    - #### setLoginTheme

          public void setLoginTheme(String theme)

    - #### getAccountTheme

          public String getAccountTheme()

    - #### setAccountTheme

          public void setAccountTheme(String theme)

    - #### getAdminTheme

          public String getAdminTheme()

    - #### setAdminTheme

          public void setAdminTheme(String adminTheme)

    - #### getEmailTheme

          public String getEmailTheme()

    - #### setEmailTheme

          public void setEmailTheme(String emailTheme)

    - #### getNotBefore

          public int getNotBefore()

    - #### setNotBefore

          public void setNotBefore(int notBefore)

    - #### isBruteForceProtected

          public boolean isBruteForceProtected()

    - #### setBruteForceProtected

          public void setBruteForceProtected(boolean bruteForceProtected)

    - #### getMaxFailureWaitSeconds

          public int getMaxFailureWaitSeconds()

    - #### setMaxFailureWaitSeconds

          public void setMaxFailureWaitSeconds(int maxFailureWaitSeconds)

    - #### getMinimumQuickLoginWaitSeconds

          public int getMinimumQuickLoginWaitSeconds()

    - #### setMinimumQuickLoginWaitSeconds

          public void setMinimumQuickLoginWaitSeconds(int minimumQuickLoginWaitSeconds)

    - #### getWaitIncrementSeconds

          public int getWaitIncrementSeconds()

    - #### setWaitIncrementSeconds

          public void setWaitIncrementSeconds(int waitIncrementSeconds)

    - #### getQuickLoginCheckMilliSeconds

          public long getQuickLoginCheckMilliSeconds()

    - #### setQuickLoginCheckMilliSeconds

          public void setQuickLoginCheckMilliSeconds(long quickLoginCheckMilliSeconds)

    - #### getMaxDeltaTimeSeconds

          public int getMaxDeltaTimeSeconds()

    - #### setMaxDeltaTimeSeconds

          public void setMaxDeltaTimeSeconds(int maxDeltaTimeSeconds)

    - #### getFailureFactor

          public int getFailureFactor()

    - #### setFailureFactor

          public void setFailureFactor(int failureFactor)

    - #### isAuditEnabled

          public boolean isAuditEnabled()

    - #### setAuditEnabled

          public void setAuditEnabled(boolean auditEnabled)

    - #### getAuditExpiration

          public long getAuditExpiration()

    - #### setAuditExpiration

          public void setAuditExpiration(long auditExpiration)

    - #### getAuditListeners

          public Set<String> getAuditListeners()

    - #### setAuditListeners

          public void setAuditListeners(Set<String> auditListeners)

    - #### getMasterAdminApp

          public ApplicationEntity getMasterAdminApp()

    - #### setMasterAdminApp

          public void setMasterAdminApp(ApplicationEntity masterAdminApp)

Copyright © 2014. All Rights Reserved.