Class CachedRealm
- java.lang.Object
- 
- org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
- 
- org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisioned
- 
- org.keycloak.models.cache.infinispan.entities.CachedRealm
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- CachedObject,- Revisioned
 
 public class CachedRealm extends AbstractExtendableRevisioned - Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisionedcachedWith
 
- 
 - 
Constructor SummaryConstructors Constructor Description CachedRealm(Long revision, RealmModel model)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisionedgetCachedWith
 - 
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisionedgetCacheTimestamp, getId, getRevision, setRevision
 
- 
 
- 
- 
- 
Field Detail- 
nameprotected String name 
 - 
displayNameprotected String displayName 
 - 
displayNameHtmlprotected String displayNameHtml 
 - 
enabledprotected boolean enabled 
 - 
sslRequiredprotected SslRequired sslRequired 
 - 
registrationAllowedprotected boolean registrationAllowed 
 - 
registrationEmailAsUsernameprotected boolean registrationEmailAsUsername 
 - 
rememberMeprotected boolean rememberMe 
 - 
verifyEmailprotected boolean verifyEmail 
 - 
loginWithEmailAllowedprotected boolean loginWithEmailAllowed 
 - 
duplicateEmailsAllowedprotected boolean duplicateEmailsAllowed 
 - 
resetPasswordAllowedprotected boolean resetPasswordAllowed 
 - 
identityFederationEnabledprotected boolean identityFederationEnabled 
 - 
editUsernameAllowedprotected boolean editUsernameAllowed 
 - 
bruteForceProtectedprotected boolean bruteForceProtected 
 - 
permanentLockoutprotected boolean permanentLockout 
 - 
maxFailureWaitSecondsprotected int maxFailureWaitSeconds 
 - 
minimumQuickLoginWaitSecondsprotected int minimumQuickLoginWaitSeconds 
 - 
waitIncrementSecondsprotected int waitIncrementSeconds 
 - 
quickLoginCheckMilliSecondsprotected long quickLoginCheckMilliSeconds 
 - 
maxDeltaTimeSecondsprotected int maxDeltaTimeSeconds 
 - 
failureFactorprotected int failureFactor 
 - 
defaultSignatureAlgorithmprotected String defaultSignatureAlgorithm 
 - 
revokeRefreshTokenprotected boolean revokeRefreshToken 
 - 
refreshTokenMaxReuseprotected int refreshTokenMaxReuse 
 - 
ssoSessionIdleTimeoutprotected int ssoSessionIdleTimeout 
 - 
ssoSessionMaxLifespanprotected int ssoSessionMaxLifespan 
 - 
ssoSessionIdleTimeoutRememberMeprotected int ssoSessionIdleTimeoutRememberMe 
 - 
ssoSessionMaxLifespanRememberMeprotected int ssoSessionMaxLifespanRememberMe 
 - 
offlineSessionIdleTimeoutprotected int offlineSessionIdleTimeout 
 - 
offlineSessionMaxLifespanEnabledprotected boolean offlineSessionMaxLifespanEnabled 
 - 
offlineSessionMaxLifespanprotected int offlineSessionMaxLifespan 
 - 
clientSessionIdleTimeoutprotected int clientSessionIdleTimeout 
 - 
clientSessionMaxLifespanprotected int clientSessionMaxLifespan 
 - 
clientOfflineSessionIdleTimeoutprotected int clientOfflineSessionIdleTimeout 
 - 
clientOfflineSessionMaxLifespanprotected int clientOfflineSessionMaxLifespan 
 - 
accessTokenLifespanprotected int accessTokenLifespan 
 - 
accessTokenLifespanForImplicitFlowprotected int accessTokenLifespanForImplicitFlow 
 - 
accessCodeLifespanprotected int accessCodeLifespan 
 - 
accessCodeLifespanUserActionprotected int accessCodeLifespanUserAction 
 - 
accessCodeLifespanLoginprotected int accessCodeLifespanLogin 
 - 
deviceConfigprotected LazyLoader<RealmModel,OAuth2DeviceConfig> deviceConfig 
 - 
cibaConfigprotected LazyLoader<RealmModel,CibaConfig> cibaConfig 
 - 
parConfigprotected LazyLoader<RealmModel,ParConfig> parConfig 
 - 
actionTokenGeneratedByAdminLifespanprotected int actionTokenGeneratedByAdminLifespan 
 - 
actionTokenGeneratedByUserLifespanprotected int actionTokenGeneratedByUserLifespan 
 - 
notBeforeprotected int notBefore 
 - 
passwordPolicyprotected PasswordPolicy passwordPolicy 
 - 
otpPolicyprotected OTPPolicy otpPolicy 
 - 
webAuthnPolicyprotected WebAuthnPolicy webAuthnPolicy 
 - 
webAuthnPasswordlessPolicyprotected WebAuthnPolicy webAuthnPasswordlessPolicy 
 - 
loginThemeprotected String loginTheme 
 - 
accountThemeprotected String accountTheme 
 - 
adminThemeprotected String adminTheme 
 - 
emailThemeprotected String emailTheme 
 - 
masterAdminClientprotected String masterAdminClient 
 - 
requiredCredentialsprotected List<RequiredCredentialModel> requiredCredentials 
 - 
componentsByParentprotected MultivaluedHashMap<String,ComponentModel> componentsByParent 
 - 
componentsByParentAndTypeprotected MultivaluedHashMap<String,ComponentModel> componentsByParentAndType 
 - 
componentsprotected Map<String,ComponentModel> components 
 - 
identityProvidersprotected List<IdentityProviderModel> identityProviders 
 - 
authenticationFlowsprotected Map<String,AuthenticationFlowModel> authenticationFlows 
 - 
authenticationFlowListprotected List<AuthenticationFlowModel> authenticationFlowList 
 - 
authenticatorConfigsprotected Map<String,AuthenticatorConfigModel> authenticatorConfigs 
 - 
requiredActionProvidersprotected Map<String,RequiredActionProviderModel> requiredActionProviders 
 - 
requiredActionProviderListprotected List<RequiredActionProviderModel> requiredActionProviderList 
 - 
requiredActionProvidersByAliasprotected Map<String,RequiredActionProviderModel> requiredActionProvidersByAlias 
 - 
authenticationExecutionsprotected MultivaluedHashMap<String,AuthenticationExecutionModel> authenticationExecutions 
 - 
executionsByIdprotected Map<String,AuthenticationExecutionModel> executionsById 
 - 
executionsByFlowIdprotected Map<String,AuthenticationExecutionModel> executionsByFlowId 
 - 
browserFlowprotected AuthenticationFlowModel browserFlow 
 - 
registrationFlowprotected AuthenticationFlowModel registrationFlow 
 - 
directGrantFlowprotected AuthenticationFlowModel directGrantFlow 
 - 
resetCredentialsFlowprotected AuthenticationFlowModel resetCredentialsFlow 
 - 
clientAuthenticationFlowprotected AuthenticationFlowModel clientAuthenticationFlow 
 - 
dockerAuthenticationFlowprotected AuthenticationFlowModel dockerAuthenticationFlow 
 - 
eventsEnabledprotected boolean eventsEnabled 
 - 
eventsExpirationprotected long eventsExpiration 
 - 
adminEventsEnabledprotected boolean adminEventsEnabled 
 - 
adminEventsDetailsEnabledprotected boolean adminEventsDetailsEnabled 
 - 
defaultRoleIdprotected String defaultRoleId 
 - 
internationalizationEnabledprotected boolean internationalizationEnabled 
 - 
defaultLocaleprotected String defaultLocale 
 - 
identityProviderMappersprotected MultivaluedHashMap<String,IdentityProviderMapperModel> identityProviderMappers 
 - 
identityProviderMapperSetprotected Set<IdentityProviderMapperModel> identityProviderMapperSet 
 
- 
 - 
Constructor Detail- 
CachedRealmpublic CachedRealm(Long revision, RealmModel model) 
 
- 
 - 
Method Detail- 
getIdentityProviderMapperSetpublic Set<IdentityProviderMapperModel> getIdentityProviderMapperSet() 
 - 
cacheClientScopesprotected void cacheClientScopes(RealmModel model) 
 - 
getMasterAdminClientpublic String getMasterAdminClient() 
 - 
getDefaultRoleIdpublic String getDefaultRoleId() 
 - 
getNamepublic String getName() 
 - 
getDisplayNamepublic String getDisplayName() 
 - 
getDisplayNameHtmlpublic String getDisplayNameHtml() 
 - 
isEnabledpublic boolean isEnabled() 
 - 
getSslRequiredpublic SslRequired getSslRequired() 
 - 
isRegistrationAllowedpublic boolean isRegistrationAllowed() 
 - 
isRegistrationEmailAsUsernamepublic boolean isRegistrationEmailAsUsername() 
 - 
isRememberMepublic boolean isRememberMe() 
 - 
isBruteForceProtectedpublic boolean isBruteForceProtected() 
 - 
isPermanentLockoutpublic boolean isPermanentLockout() 
 - 
getMaxFailureWaitSecondspublic int getMaxFailureWaitSeconds() 
 - 
getWaitIncrementSecondspublic int getWaitIncrementSeconds() 
 - 
getMinimumQuickLoginWaitSecondspublic int getMinimumQuickLoginWaitSeconds() 
 - 
getQuickLoginCheckMilliSecondspublic long getQuickLoginCheckMilliSeconds() 
 - 
getMaxDeltaTimeSecondspublic int getMaxDeltaTimeSeconds() 
 - 
getFailureFactorpublic int getFailureFactor() 
 - 
isVerifyEmailpublic boolean isVerifyEmail() 
 - 
isLoginWithEmailAllowedpublic boolean isLoginWithEmailAllowed() 
 - 
isDuplicateEmailsAllowedpublic boolean isDuplicateEmailsAllowed() 
 - 
isResetPasswordAllowedpublic boolean isResetPasswordAllowed() 
 - 
isEditUsernameAllowedpublic boolean isEditUsernameAllowed() 
 - 
getDefaultSignatureAlgorithmpublic String getDefaultSignatureAlgorithm() 
 - 
isRevokeRefreshTokenpublic boolean isRevokeRefreshToken() 
 - 
getRefreshTokenMaxReusepublic int getRefreshTokenMaxReuse() 
 - 
getSsoSessionIdleTimeoutpublic int getSsoSessionIdleTimeout() 
 - 
getSsoSessionMaxLifespanpublic int getSsoSessionMaxLifespan() 
 - 
getSsoSessionIdleTimeoutRememberMepublic int getSsoSessionIdleTimeoutRememberMe() 
 - 
getSsoSessionMaxLifespanRememberMepublic int getSsoSessionMaxLifespanRememberMe() 
 - 
getOfflineSessionIdleTimeoutpublic int getOfflineSessionIdleTimeout() 
 - 
isOfflineSessionMaxLifespanEnabledpublic boolean isOfflineSessionMaxLifespanEnabled() 
 - 
getOfflineSessionMaxLifespanpublic int getOfflineSessionMaxLifespan() 
 - 
getClientSessionIdleTimeoutpublic int getClientSessionIdleTimeout() 
 - 
getClientSessionMaxLifespanpublic int getClientSessionMaxLifespan() 
 - 
getClientOfflineSessionIdleTimeoutpublic int getClientOfflineSessionIdleTimeout() 
 - 
getClientOfflineSessionMaxLifespanpublic int getClientOfflineSessionMaxLifespan() 
 - 
getAccessTokenLifespanpublic int getAccessTokenLifespan() 
 - 
getAccessTokenLifespanForImplicitFlowpublic int getAccessTokenLifespanForImplicitFlow() 
 - 
getAccessCodeLifespanpublic int getAccessCodeLifespan() 
 - 
getAccessCodeLifespanUserActionpublic int getAccessCodeLifespanUserAction() 
 - 
getAccessCodeLifespanLoginpublic int getAccessCodeLifespanLogin() 
 - 
getOAuth2DeviceConfigpublic OAuth2DeviceConfig getOAuth2DeviceConfig(Supplier<RealmModel> modelSupplier) 
 - 
getCibaConfigpublic CibaConfig getCibaConfig(Supplier<RealmModel> modelSupplier) 
 - 
getParConfigpublic ParConfig getParConfig(Supplier<RealmModel> modelSupplier) 
 - 
getActionTokenGeneratedByAdminLifespanpublic int getActionTokenGeneratedByAdminLifespan() 
 - 
getActionTokenGeneratedByUserLifespanpublic int getActionTokenGeneratedByUserLifespan() 
 - 
getActionTokenGeneratedByUserLifespanpublic int getActionTokenGeneratedByUserLifespan(String actionTokenId) This method is supposed to return user lifespan based on the action token ID provided. If nothing is provided, it will return the default lifespan.- Parameters:
- actionTokenId-
- Returns:
- lifespan
 
 - 
getRequiredCredentialspublic List<RequiredCredentialModel> getRequiredCredentials() 
 - 
getPasswordPolicypublic PasswordPolicy getPasswordPolicy() 
 - 
isIdentityFederationEnabledpublic boolean isIdentityFederationEnabled() 
 - 
getLoginThemepublic String getLoginTheme() 
 - 
getAccountThemepublic String getAccountTheme() 
 - 
getAdminThemepublic String getAdminTheme() 
 - 
getEmailThemepublic String getEmailTheme() 
 - 
getNotBeforepublic int getNotBefore() 
 - 
isEventsEnabledpublic boolean isEventsEnabled() 
 - 
getEventsExpirationpublic long getEventsExpiration() 
 - 
isAdminEventsEnabledpublic boolean isAdminEventsEnabled() 
 - 
isAdminEventsDetailsEnabledpublic boolean isAdminEventsDetailsEnabled() 
 - 
getIdentityProviderspublic List<IdentityProviderModel> getIdentityProviders() 
 - 
isInternationalizationEnabledpublic boolean isInternationalizationEnabled() 
 - 
getDefaultLocalepublic String getDefaultLocale() 
 - 
getIdentityProviderMapperspublic MultivaluedHashMap<String,IdentityProviderMapperModel> getIdentityProviderMappers() 
 - 
getAuthenticationFlowspublic Map<String,AuthenticationFlowModel> getAuthenticationFlows() 
 - 
getAuthenticatorConfigspublic Map<String,AuthenticatorConfigModel> getAuthenticatorConfigs() 
 - 
getAuthenticationExecutionspublic MultivaluedHashMap<String,AuthenticationExecutionModel> getAuthenticationExecutions() 
 - 
getAuthenticationExecutionByFlowIdpublic AuthenticationExecutionModel getAuthenticationExecutionByFlowId(String flowId) 
 - 
getExecutionsByIdpublic Map<String,AuthenticationExecutionModel> getExecutionsById() 
 - 
getRequiredActionProviderspublic Map<String,RequiredActionProviderModel> getRequiredActionProviders() 
 - 
getRequiredActionProvidersByAliaspublic Map<String,RequiredActionProviderModel> getRequiredActionProvidersByAlias() 
 - 
getOtpPolicypublic OTPPolicy getOtpPolicy() 
 - 
getWebAuthnPolicypublic WebAuthnPolicy getWebAuthnPolicy() 
 - 
getWebAuthnPasswordlessPolicypublic WebAuthnPolicy getWebAuthnPasswordlessPolicy() 
 - 
getBrowserFlowpublic AuthenticationFlowModel getBrowserFlow() 
 - 
getRegistrationFlowpublic AuthenticationFlowModel getRegistrationFlow() 
 - 
getDirectGrantFlowpublic AuthenticationFlowModel getDirectGrantFlow() 
 - 
getResetCredentialsFlowpublic AuthenticationFlowModel getResetCredentialsFlow() 
 - 
getClientAuthenticationFlowpublic AuthenticationFlowModel getClientAuthenticationFlow() 
 - 
getDockerAuthenticationFlowpublic AuthenticationFlowModel getDockerAuthenticationFlow() 
 - 
getAuthenticationFlowListpublic List<AuthenticationFlowModel> getAuthenticationFlowList() 
 - 
getRequiredActionProviderListpublic List<RequiredActionProviderModel> getRequiredActionProviderList() 
 - 
getComponentsByParentpublic MultivaluedHashMap<String,ComponentModel> getComponentsByParent() 
 - 
getComponentsByParentAndTypepublic MultivaluedHashMap<String,ComponentModel> getComponentsByParentAndType() 
 - 
getComponentspublic Map<String,ComponentModel> getComponents() 
 - 
isAllowUserManagedAccesspublic boolean isAllowUserManagedAccess() 
 
- 
 
-