Class RealmEntity

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

@Entity public class RealmEntity extends Object
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • id

      protected String id
    • name

      protected String name
    • enabled

      protected boolean enabled
    • sslRequired

      protected String sslRequired
    • registrationAllowed

      protected boolean registrationAllowed
    • registrationEmailAsUsername

      protected boolean registrationEmailAsUsername
    • verifyEmail

      protected boolean verifyEmail
    • resetPasswordAllowed

      protected boolean resetPasswordAllowed
    • loginWithEmailAllowed

      protected boolean loginWithEmailAllowed
    • duplicateEmailsAllowed

      protected boolean duplicateEmailsAllowed
    • rememberMe

      protected boolean rememberMe
    • passwordPolicy

      protected String passwordPolicy
    • otpPolicyType

      protected String otpPolicyType
    • otpPolicyAlgorithm

      protected String otpPolicyAlgorithm
    • otpPolicyInitialCounter

      protected int otpPolicyInitialCounter
    • otpPolicyDigits

      protected int otpPolicyDigits
    • otpPolicyLookAheadWindow

      protected int otpPolicyLookAheadWindow
    • otpPolicyPeriod

      protected int otpPolicyPeriod
    • editUsernameAllowed

      protected boolean editUsernameAllowed
    • accessTokenLifespan

      protected int accessTokenLifespan
    • accessTokenLifespanForImplicitFlow

      protected int accessTokenLifespanForImplicitFlow
    • accessCodeLifespan

      protected int accessCodeLifespan
    • accessCodeLifespanUserAction

      protected int accessCodeLifespanUserAction
    • accessCodeLifespanLogin

      protected int accessCodeLifespanLogin
    • notBefore

      protected int notBefore
    • loginTheme

      protected String loginTheme
    • accountTheme

      protected String accountTheme
    • adminTheme

      protected String adminTheme
    • emailTheme

      protected String emailTheme
    • smtpConfig

      protected Map<String,String> smtpConfig
    • defaultGroupIds

      protected Set<String> defaultGroupIds
    • eventsEnabled

      protected boolean eventsEnabled
    • eventsExpiration

      protected long eventsExpiration
    • eventsListeners

      protected Set<String> eventsListeners
    • enabledEventTypes

      protected Set<String> enabledEventTypes
    • adminEventsEnabled

      protected boolean adminEventsEnabled
    • adminEventsDetailsEnabled

      protected boolean adminEventsDetailsEnabled
    • masterAdminClient

      protected String masterAdminClient
    • defaultRoleId

      protected String defaultRoleId
    • identityProviders

      protected List<IdentityProviderEntity> identityProviders
    • browserFlow

      protected String browserFlow
    • registrationFlow

      protected String registrationFlow
    • directGrantFlow

      protected String directGrantFlow
    • resetCredentialsFlow

      protected String resetCredentialsFlow
    • clientAuthenticationFlow

      protected String clientAuthenticationFlow
    • dockerAuthenticationFlow

      protected String dockerAuthenticationFlow
    • internationalizationEnabled

      protected boolean internationalizationEnabled
    • supportedLocales

      protected Set<String> supportedLocales
    • defaultLocale

      protected String defaultLocale
  • Constructor Details

    • RealmEntity

      public RealmEntity()
  • Method Details

    • 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)
    • getSslRequired

      public String getSslRequired()
    • setSslRequired

      public void setSslRequired(String sslRequired)
    • isRegistrationAllowed

      public boolean isRegistrationAllowed()
    • setRegistrationAllowed

      public void setRegistrationAllowed(boolean registrationAllowed)
    • isRegistrationEmailAsUsername

      public boolean isRegistrationEmailAsUsername()
    • setRegistrationEmailAsUsername

      public void setRegistrationEmailAsUsername(boolean registrationEmailAsUsername)
    • isRememberMe

      public boolean isRememberMe()
    • setRememberMe

      public void setRememberMe(boolean rememberMe)
    • isVerifyEmail

      public boolean isVerifyEmail()
    • setVerifyEmail

      public void setVerifyEmail(boolean verifyEmail)
    • isLoginWithEmailAllowed

      public boolean isLoginWithEmailAllowed()
    • setLoginWithEmailAllowed

      public void setLoginWithEmailAllowed(boolean loginWithEmailAllowed)
    • isDuplicateEmailsAllowed

      public boolean isDuplicateEmailsAllowed()
    • setDuplicateEmailsAllowed

      public void setDuplicateEmailsAllowed(boolean duplicateEmailsAllowed)
    • isResetPasswordAllowed

      public boolean isResetPasswordAllowed()
    • setResetPasswordAllowed

      public void setResetPasswordAllowed(boolean resetPasswordAllowed)
    • isEditUsernameAllowed

      public boolean isEditUsernameAllowed()
    • setEditUsernameAllowed

      public void setEditUsernameAllowed(boolean editUsernameAllowed)
    • isRevokeRefreshToken

      public boolean isRevokeRefreshToken()
    • setRevokeRefreshToken

      public void setRevokeRefreshToken(boolean revokeRefreshToken)
    • getRefreshTokenMaxReuse

      public int getRefreshTokenMaxReuse()
    • setRefreshTokenMaxReuse

      public void setRefreshTokenMaxReuse(int revokeRefreshTokenCount)
    • getSsoSessionIdleTimeout

      public int getSsoSessionIdleTimeout()
    • setSsoSessionIdleTimeout

      public void setSsoSessionIdleTimeout(int ssoSessionIdleTimeout)
    • getSsoSessionMaxLifespan

      public int getSsoSessionMaxLifespan()
    • setSsoSessionMaxLifespan

      public void setSsoSessionMaxLifespan(int ssoSessionMaxLifespan)
    • getSsoSessionIdleTimeoutRememberMe

      public int getSsoSessionIdleTimeoutRememberMe()
    • setSsoSessionIdleTimeoutRememberMe

      public void setSsoSessionIdleTimeoutRememberMe(int ssoSessionIdleTimeoutRememberMe)
    • getSsoSessionMaxLifespanRememberMe

      public int getSsoSessionMaxLifespanRememberMe()
    • setSsoSessionMaxLifespanRememberMe

      public void setSsoSessionMaxLifespanRememberMe(int ssoSessionMaxLifespanRememberMe)
    • getOfflineSessionIdleTimeout

      public int getOfflineSessionIdleTimeout()
    • setOfflineSessionIdleTimeout

      public void setOfflineSessionIdleTimeout(int offlineSessionIdleTimeout)
    • getAccessTokenLifespan

      public int getAccessTokenLifespan()
    • setAccessTokenLifespan

      public void setAccessTokenLifespan(int accessTokenLifespan)
    • getAccessTokenLifespanForImplicitFlow

      public int getAccessTokenLifespanForImplicitFlow()
    • setAccessTokenLifespanForImplicitFlow

      public void setAccessTokenLifespanForImplicitFlow(int accessTokenLifespanForImplicitFlow)
    • getAccessCodeLifespan

      public int getAccessCodeLifespan()
    • setAccessCodeLifespan

      public void setAccessCodeLifespan(int accessCodeLifespan)
    • getAccessCodeLifespanUserAction

      public int getAccessCodeLifespanUserAction()
    • setAccessCodeLifespanUserAction

      public void setAccessCodeLifespanUserAction(int accessCodeLifespanUserAction)
    • getAccessCodeLifespanLogin

      public int getAccessCodeLifespanLogin()
    • setAccessCodeLifespanLogin

      public void setAccessCodeLifespanLogin(int accessCodeLifespanLogin)
    • getRequiredCredentials

      public Collection<RequiredCredentialEntity> getRequiredCredentials()
    • setRequiredCredentials

      public void setRequiredCredentials(Collection<RequiredCredentialEntity> requiredCredentials)
    • getSmtpConfig

      public Map<String,String> getSmtpConfig()
    • setSmtpConfig

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

      public Set<String> getDefaultGroupIds()
    • setDefaultGroupIds

      public void setDefaultGroupIds(Set<String> defaultGroups)
    • 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)
    • isEventsEnabled

      public boolean isEventsEnabled()
    • setEventsEnabled

      public void setEventsEnabled(boolean eventsEnabled)
    • getEventsExpiration

      public long getEventsExpiration()
    • setEventsExpiration

      public void setEventsExpiration(long eventsExpiration)
    • getEventsListeners

      public Set<String> getEventsListeners()
    • setEventsListeners

      public void setEventsListeners(Set<String> eventsListeners)
    • getEnabledEventTypes

      public Set<String> getEnabledEventTypes()
    • setEnabledEventTypes

      public void setEnabledEventTypes(Set<String> enabledEventTypes)
    • isAdminEventsEnabled

      public boolean isAdminEventsEnabled()
    • setAdminEventsEnabled

      public void setAdminEventsEnabled(boolean adminEventsEnabled)
    • isAdminEventsDetailsEnabled

      public boolean isAdminEventsDetailsEnabled()
    • setAdminEventsDetailsEnabled

      public void setAdminEventsDetailsEnabled(boolean adminEventsDetailsEnabled)
    • getMasterAdminClient

      public String getMasterAdminClient()
    • setMasterAdminClient

      public void setMasterAdminClient(String masterAdminClient)
    • getDefaultRoleId

      public String getDefaultRoleId()
    • setDefaultRoleId

      public void setDefaultRoleId(String defaultRoleId)
    • getUserFederationProviders

      public List<UserFederationProviderEntity> getUserFederationProviders()
    • setUserFederationProviders

      public void setUserFederationProviders(List<UserFederationProviderEntity> userFederationProviders)
    • getUserFederationMappers

      public Collection<UserFederationMapperEntity> getUserFederationMappers()
    • setUserFederationMappers

      public void setUserFederationMappers(Collection<UserFederationMapperEntity> userFederationMappers)
    • getAttributes

      public Collection<RealmAttributeEntity> getAttributes()
    • setAttributes

      public void setAttributes(Collection<RealmAttributeEntity> attributes)
    • getIdentityProviders

      public List<IdentityProviderEntity> getIdentityProviders()
    • setIdentityProviders

      public void setIdentityProviders(List<IdentityProviderEntity> identityProviders)
    • addIdentityProvider

      public void addIdentityProvider(IdentityProviderEntity entity)
    • isInternationalizationEnabled

      public boolean isInternationalizationEnabled()
    • setInternationalizationEnabled

      public void setInternationalizationEnabled(boolean internationalizationEnabled)
    • getSupportedLocales

      public Set<String> getSupportedLocales()
    • setSupportedLocales

      public void setSupportedLocales(Set<String> supportedLocales)
    • getDefaultLocale

      public String getDefaultLocale()
    • setDefaultLocale

      public void setDefaultLocale(String defaultLocale)
    • getIdentityProviderMappers

      public Collection<IdentityProviderMapperEntity> getIdentityProviderMappers()
    • setIdentityProviderMappers

      public void setIdentityProviderMappers(Collection<IdentityProviderMapperEntity> identityProviderMappers)
    • getAuthenticatorConfigs

      public Collection<AuthenticatorConfigEntity> getAuthenticatorConfigs()
    • setAuthenticatorConfigs

      public void setAuthenticatorConfigs(Collection<AuthenticatorConfigEntity> authenticators)
    • getRequiredActionProviders

      public Collection<RequiredActionProviderEntity> getRequiredActionProviders()
    • setRequiredActionProviders

      public void setRequiredActionProviders(Collection<RequiredActionProviderEntity> requiredActionProviders)
    • getAuthenticationFlows

      public Collection<AuthenticationFlowEntity> getAuthenticationFlows()
    • setAuthenticationFlows

      public void setAuthenticationFlows(Collection<AuthenticationFlowEntity> authenticationFlows)
    • getComponents

      public Set<ComponentEntity> getComponents()
    • setComponents

      public void setComponents(Set<ComponentEntity> components)
    • getOtpPolicyType

      public String getOtpPolicyType()
    • setOtpPolicyType

      public void setOtpPolicyType(String otpPolicyType)
    • getOtpPolicyAlgorithm

      public String getOtpPolicyAlgorithm()
    • setOtpPolicyAlgorithm

      public void setOtpPolicyAlgorithm(String otpPolicyAlgorithm)
    • getOtpPolicyInitialCounter

      public int getOtpPolicyInitialCounter()
    • setOtpPolicyInitialCounter

      public void setOtpPolicyInitialCounter(int otpPolicyInitialCounter)
    • getOtpPolicyDigits

      public int getOtpPolicyDigits()
    • setOtpPolicyDigits

      public void setOtpPolicyDigits(int otpPolicyDigits)
    • getOtpPolicyLookAheadWindow

      public int getOtpPolicyLookAheadWindow()
    • setOtpPolicyLookAheadWindow

      public void setOtpPolicyLookAheadWindow(int otpPolicyLookAheadWindow)
    • getOtpPolicyPeriod

      public int getOtpPolicyPeriod()
    • setOtpPolicyPeriod

      public void setOtpPolicyPeriod(int otpPolicyPeriod)
    • getBrowserFlow

      public String getBrowserFlow()
    • setBrowserFlow

      public void setBrowserFlow(String browserFlow)
    • getRegistrationFlow

      public String getRegistrationFlow()
    • setRegistrationFlow

      public void setRegistrationFlow(String registrationFlow)
    • getDirectGrantFlow

      public String getDirectGrantFlow()
    • setDirectGrantFlow

      public void setDirectGrantFlow(String directGrantFlow)
    • getResetCredentialsFlow

      public String getResetCredentialsFlow()
    • setResetCredentialsFlow

      public void setResetCredentialsFlow(String resetCredentialsFlow)
    • getClientAuthenticationFlow

      public String getClientAuthenticationFlow()
    • setClientAuthenticationFlow

      public void setClientAuthenticationFlow(String clientAuthenticationFlow)
    • getDockerAuthenticationFlow

      public String getDockerAuthenticationFlow()
    • setDockerAuthenticationFlow

      public RealmEntity setDockerAuthenticationFlow(String dockerAuthenticationFlow)
    • setAllowUserManagedAccess

      public void setAllowUserManagedAccess(boolean allowUserManagedAccess)
    • isAllowUserManagedAccess

      public boolean isAllowUserManagedAccess()
    • getRealmLocalizationTexts

      public Map<String,RealmLocalizationTextsEntity> getRealmLocalizationTexts()
    • setRealmLocalizationTexts

      public void setRealmLocalizationTexts(Map<String,RealmLocalizationTextsEntity> realmLocalizationTexts)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object