Package org.keycloak.models.jpa.entities
Class RealmEntity
java.lang.Object
org.keycloak.models.jpa.entities.RealmEntity
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected int
protected int
protected int
protected int
protected String
protected boolean
protected boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
protected boolean
protected String
protected boolean
protected boolean
protected long
protected String
protected List<IdentityProviderEntity>
protected boolean
protected String
protected boolean
protected String
protected String
protected int
protected String
protected int
protected int
protected int
protected int
protected String
protected String
protected boolean
protected boolean
protected String
protected boolean
protected String
protected boolean
protected String
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
int
int
int
int
int
long
getId()
getName()
int
int
int
int
int
int
int
int
int
int
int
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAccessCodeLifespan
(int accessCodeLifespan) void
setAccessCodeLifespanLogin
(int accessCodeLifespanLogin) void
setAccessCodeLifespanUserAction
(int accessCodeLifespanUserAction) void
setAccessTokenLifespan
(int accessTokenLifespan) void
setAccessTokenLifespanForImplicitFlow
(int accessTokenLifespanForImplicitFlow) void
setAccountTheme
(String theme) void
setAdminEventsDetailsEnabled
(boolean adminEventsDetailsEnabled) void
setAdminEventsEnabled
(boolean adminEventsEnabled) void
setAdminTheme
(String adminTheme) void
setAllowUserManagedAccess
(boolean allowUserManagedAccess) void
setAttributes
(Collection<RealmAttributeEntity> attributes) void
setAuthenticationFlows
(Collection<AuthenticationFlowEntity> authenticationFlows) void
setAuthenticatorConfigs
(Collection<AuthenticatorConfigEntity> authenticators) void
setBrowserFlow
(String browserFlow) void
setClientAuthenticationFlow
(String clientAuthenticationFlow) void
setComponents
(Set<ComponentEntity> components) void
setDefaultGroupIds
(Set<String> defaultGroups) void
setDefaultLocale
(String defaultLocale) void
setDefaultRoleId
(String defaultRoleId) void
setDirectGrantFlow
(String directGrantFlow) setDockerAuthenticationFlow
(String dockerAuthenticationFlow) void
setDuplicateEmailsAllowed
(boolean duplicateEmailsAllowed) void
setEditUsernameAllowed
(boolean editUsernameAllowed) void
setEmailTheme
(String emailTheme) void
setEnabled
(boolean enabled) void
setEnabledEventTypes
(Set<String> enabledEventTypes) void
setEventsEnabled
(boolean eventsEnabled) void
setEventsExpiration
(long eventsExpiration) void
setEventsListeners
(Set<String> eventsListeners) void
void
setIdentityProviderMappers
(Collection<IdentityProviderMapperEntity> identityProviderMappers) void
setIdentityProviders
(List<IdentityProviderEntity> identityProviders) void
setInternationalizationEnabled
(boolean internationalizationEnabled) void
setLoginTheme
(String theme) void
setLoginWithEmailAllowed
(boolean loginWithEmailAllowed) void
setMasterAdminClient
(String masterAdminClient) void
void
setNotBefore
(int notBefore) void
setOfflineSessionIdleTimeout
(int offlineSessionIdleTimeout) void
setOtpPolicyAlgorithm
(String otpPolicyAlgorithm) void
setOtpPolicyDigits
(int otpPolicyDigits) void
setOtpPolicyInitialCounter
(int otpPolicyInitialCounter) void
setOtpPolicyLookAheadWindow
(int otpPolicyLookAheadWindow) void
setOtpPolicyPeriod
(int otpPolicyPeriod) void
setOtpPolicyType
(String otpPolicyType) void
setPasswordPolicy
(String passwordPolicy) void
setRealmLocalizationTexts
(Map<String, RealmLocalizationTextsEntity> realmLocalizationTexts) void
setRefreshTokenMaxReuse
(int revokeRefreshTokenCount) void
setRegistrationAllowed
(boolean registrationAllowed) void
setRegistrationEmailAsUsername
(boolean registrationEmailAsUsername) void
setRegistrationFlow
(String registrationFlow) void
setRememberMe
(boolean rememberMe) void
setRequiredActionProviders
(Collection<RequiredActionProviderEntity> requiredActionProviders) void
setRequiredCredentials
(Collection<RequiredCredentialEntity> requiredCredentials) void
setResetCredentialsFlow
(String resetCredentialsFlow) void
setResetPasswordAllowed
(boolean resetPasswordAllowed) void
setRevokeRefreshToken
(boolean revokeRefreshToken) void
setSmtpConfig
(Map<String, String> smtpConfig) void
setSslRequired
(String sslRequired) void
setSsoSessionIdleTimeout
(int ssoSessionIdleTimeout) void
setSsoSessionIdleTimeoutRememberMe
(int ssoSessionIdleTimeoutRememberMe) void
setSsoSessionMaxLifespan
(int ssoSessionMaxLifespan) void
setSsoSessionMaxLifespanRememberMe
(int ssoSessionMaxLifespanRememberMe) void
setSupportedLocales
(Set<String> supportedLocales) void
setUserFederationMappers
(Collection<UserFederationMapperEntity> userFederationMappers) void
setUserFederationProviders
(List<UserFederationProviderEntity> userFederationProviders) void
setVerifyEmail
(boolean verifyEmail) toString()
-
Field Details
-
id
-
name
-
enabled
protected boolean enabled -
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
-
otpPolicyType
-
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
-
accountTheme
-
adminTheme
-
emailTheme
-
smtpConfig
-
defaultGroupIds
-
eventsEnabled
protected boolean eventsEnabled -
eventsExpiration
protected long eventsExpiration -
eventsListeners
-
enabledEventTypes
-
adminEventsEnabled
protected boolean adminEventsEnabled -
adminEventsDetailsEnabled
protected boolean adminEventsDetailsEnabled -
masterAdminClient
-
defaultRoleId
-
identityProviders
-
browserFlow
-
registrationFlow
-
directGrantFlow
-
resetCredentialsFlow
-
clientAuthenticationFlow
-
dockerAuthenticationFlow
-
internationalizationEnabled
protected boolean internationalizationEnabled -
supportedLocales
-
defaultLocale
-
-
Constructor Details
-
RealmEntity
public RealmEntity()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getSslRequired
-
setSslRequired
-
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
-
setRequiredCredentials
-
getSmtpConfig
-
setSmtpConfig
-
getDefaultGroupIds
-
setDefaultGroupIds
-
getPasswordPolicy
-
setPasswordPolicy
-
getLoginTheme
-
setLoginTheme
-
getAccountTheme
-
setAccountTheme
-
getAdminTheme
-
setAdminTheme
-
getEmailTheme
-
setEmailTheme
-
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
-
setEventsListeners
-
getEnabledEventTypes
-
setEnabledEventTypes
-
isAdminEventsEnabled
public boolean isAdminEventsEnabled() -
setAdminEventsEnabled
public void setAdminEventsEnabled(boolean adminEventsEnabled) -
isAdminEventsDetailsEnabled
public boolean isAdminEventsDetailsEnabled() -
setAdminEventsDetailsEnabled
public void setAdminEventsDetailsEnabled(boolean adminEventsDetailsEnabled) -
getMasterAdminClient
-
setMasterAdminClient
-
getDefaultRoleId
-
setDefaultRoleId
-
getUserFederationProviders
-
setUserFederationProviders
-
getUserFederationMappers
-
setUserFederationMappers
-
getAttributes
-
setAttributes
-
getIdentityProviders
-
setIdentityProviders
-
addIdentityProvider
-
isInternationalizationEnabled
public boolean isInternationalizationEnabled() -
setInternationalizationEnabled
public void setInternationalizationEnabled(boolean internationalizationEnabled) -
getSupportedLocales
-
setSupportedLocales
-
getDefaultLocale
-
setDefaultLocale
-
getIdentityProviderMappers
-
setIdentityProviderMappers
public void setIdentityProviderMappers(Collection<IdentityProviderMapperEntity> identityProviderMappers) -
getAuthenticatorConfigs
-
setAuthenticatorConfigs
-
getRequiredActionProviders
-
setRequiredActionProviders
public void setRequiredActionProviders(Collection<RequiredActionProviderEntity> requiredActionProviders) -
getAuthenticationFlows
-
setAuthenticationFlows
-
getComponents
-
setComponents
-
getOtpPolicyType
-
setOtpPolicyType
-
getOtpPolicyAlgorithm
-
setOtpPolicyAlgorithm
-
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
-
setBrowserFlow
-
getRegistrationFlow
-
setRegistrationFlow
-
getDirectGrantFlow
-
setDirectGrantFlow
-
getResetCredentialsFlow
-
setResetCredentialsFlow
-
getClientAuthenticationFlow
-
setClientAuthenticationFlow
-
getDockerAuthenticationFlow
-
setDockerAuthenticationFlow
-
setAllowUserManagedAccess
public void setAllowUserManagedAccess(boolean allowUserManagedAccess) -
isAllowUserManagedAccess
public boolean isAllowUserManagedAccess() -
getRealmLocalizationTexts
-
setRealmLocalizationTexts
public void setRealmLocalizationTexts(Map<String, RealmLocalizationTextsEntity> realmLocalizationTexts) -
equals
-
toString
-
hashCode
public int hashCode()
-