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
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected int
protected int
protected int
protected int
protected String
protected int
protected int
protected boolean
protected boolean
protected String
protected MultivaluedHashMap<String,
AuthenticationExecutionModel> protected List<AuthenticationFlowModel>
protected Map<String,
AuthenticationFlowModel> protected Map<String,
AuthenticatorConfigModel> protected AuthenticationFlowModel
protected boolean
protected LazyLoader<RealmModel,
CibaConfig> protected AuthenticationFlowModel
protected int
protected int
protected int
protected int
protected Map<String,
ComponentModel> protected MultivaluedHashMap<String,
ComponentModel> protected MultivaluedHashMap<String,
ComponentModel> protected String
protected String
protected String
protected LazyLoader<RealmModel,
OAuth2DeviceConfig> protected AuthenticationFlowModel
protected String
protected String
protected AuthenticationFlowModel
protected boolean
protected boolean
protected String
protected boolean
protected boolean
protected long
protected Map<String,
AuthenticationExecutionModel> protected Map<String,
AuthenticationExecutionModel> protected int
protected AuthenticationFlowModel
protected boolean
protected MultivaluedHashMap<String,
IdentityProviderMapperModel> protected Set<IdentityProviderMapperModel>
protected List<IdentityProviderModel>
protected boolean
protected String
protected boolean
protected String
protected int
protected int
protected int
protected int
protected String
protected int
protected int
protected int
protected boolean
protected OTPPolicy
protected LazyLoader<RealmModel,
ParConfig> protected PasswordPolicy
protected boolean
protected long
protected int
protected boolean
protected boolean
protected AuthenticationFlowModel
protected boolean
protected List<RequiredActionProviderModel>
protected Map<String,
RequiredActionProviderModel> protected Map<String,
RequiredActionProviderModel> protected List<RequiredCredentialModel>
protected AuthenticationFlowModel
protected boolean
protected boolean
protected SslRequired
protected int
protected int
protected int
protected int
protected boolean
protected int
protected WebAuthnPolicy
protected WebAuthnPolicy
Fields inherited from class org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisioned
cachedWith
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
cacheClientScopes
(RealmModel model) int
int
int
int
int
int
int
int
getActionTokenGeneratedByUserLifespan
(String actionTokenId) This method is supposed to return user lifespan based on the action token ID provided.getAttribute
(String name) getAttribute
(String name, Boolean defaultValue) getAttribute
(String name, Integer defaultValue) getAttribute
(String name, Long defaultValue) getCibaConfig
(Supplier<RealmModel> modelSupplier) int
int
int
int
long
int
int
int
int
int
getName()
int
getOAuth2DeviceConfig
(Supplier<RealmModel> modelSupplier) int
int
getParConfig
(Supplier<RealmModel> modelSupplier) long
int
int
int
int
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisioned
getCachedWith
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
getCacheTimestamp, getId, getRevision, setRevision
-
Field Details
-
name
-
displayName
-
displayNameHtml
-
enabled
protected boolean enabled -
sslRequired
-
registrationAllowed
protected boolean registrationAllowed -
registrationEmailAsUsername
protected boolean registrationEmailAsUsername -
rememberMe
protected boolean rememberMe -
verifyEmail
protected boolean verifyEmail -
loginWithEmailAllowed
protected boolean loginWithEmailAllowed -
duplicateEmailsAllowed
protected boolean duplicateEmailsAllowed -
resetPasswordAllowed
protected boolean resetPasswordAllowed -
identityFederationEnabled
protected boolean identityFederationEnabled -
editUsernameAllowed
protected boolean editUsernameAllowed -
bruteForceProtected
protected boolean bruteForceProtected -
permanentLockout
protected boolean permanentLockout -
maxTemporaryLockouts
protected int maxTemporaryLockouts -
maxFailureWaitSeconds
protected int maxFailureWaitSeconds -
minimumQuickLoginWaitSeconds
protected int minimumQuickLoginWaitSeconds -
waitIncrementSeconds
protected int waitIncrementSeconds -
quickLoginCheckMilliSeconds
protected long quickLoginCheckMilliSeconds -
maxDeltaTimeSeconds
protected int maxDeltaTimeSeconds -
failureFactor
protected int failureFactor -
defaultSignatureAlgorithm
-
revokeRefreshToken
protected boolean revokeRefreshToken -
refreshTokenMaxReuse
protected int refreshTokenMaxReuse -
ssoSessionIdleTimeout
protected int ssoSessionIdleTimeout -
ssoSessionMaxLifespan
protected int ssoSessionMaxLifespan -
ssoSessionIdleTimeoutRememberMe
protected int ssoSessionIdleTimeoutRememberMe -
ssoSessionMaxLifespanRememberMe
protected int ssoSessionMaxLifespanRememberMe -
offlineSessionIdleTimeout
protected int offlineSessionIdleTimeout -
offlineSessionMaxLifespanEnabled
protected boolean offlineSessionMaxLifespanEnabled -
offlineSessionMaxLifespan
protected int offlineSessionMaxLifespan -
clientSessionIdleTimeout
protected int clientSessionIdleTimeout -
clientSessionMaxLifespan
protected int clientSessionMaxLifespan -
clientOfflineSessionIdleTimeout
protected int clientOfflineSessionIdleTimeout -
clientOfflineSessionMaxLifespan
protected int clientOfflineSessionMaxLifespan -
accessTokenLifespan
protected int accessTokenLifespan -
accessTokenLifespanForImplicitFlow
protected int accessTokenLifespanForImplicitFlow -
accessCodeLifespan
protected int accessCodeLifespan -
accessCodeLifespanUserAction
protected int accessCodeLifespanUserAction -
accessCodeLifespanLogin
protected int accessCodeLifespanLogin -
deviceConfig
-
cibaConfig
-
parConfig
-
actionTokenGeneratedByAdminLifespan
protected int actionTokenGeneratedByAdminLifespan -
actionTokenGeneratedByUserLifespan
protected int actionTokenGeneratedByUserLifespan -
notBefore
protected int notBefore -
passwordPolicy
-
otpPolicy
-
webAuthnPolicy
-
webAuthnPasswordlessPolicy
-
loginTheme
-
accountTheme
-
adminTheme
-
emailTheme
-
masterAdminClient
-
requiredCredentials
-
componentsByParent
-
componentsByParentAndType
-
components
-
identityProviders
-
browserSecurityHeaders
-
smtpConfig
-
authenticationFlows
-
authenticationFlowList
-
authenticatorConfigs
-
requiredActionProviders
-
requiredActionProviderList
-
requiredActionProvidersByAlias
-
authenticationExecutions
-
executionsById
-
executionsByFlowId
-
browserFlow
-
registrationFlow
-
directGrantFlow
-
resetCredentialsFlow
-
clientAuthenticationFlow
-
dockerAuthenticationFlow
-
firstBrokerLoginFlow
-
eventsEnabled
protected boolean eventsEnabled -
eventsExpiration
protected long eventsExpiration -
eventsListeners
-
enabledEventTypes
-
adminEventsEnabled
protected boolean adminEventsEnabled -
adminEnabledEventOperations
-
adminEventsDetailsEnabled
protected boolean adminEventsDetailsEnabled -
defaultRoleId
-
defaultGroups
-
defaultDefaultClientScopes
-
optionalDefaultClientScopes
-
internationalizationEnabled
protected boolean internationalizationEnabled -
supportedLocales
-
defaultLocale
-
identityProviderMappers
-
identityProviderMapperSet
-
attributes
-
realmLocalizationTexts
-
-
Constructor Details
-
CachedRealm
-
-
Method Details
-
getIdentityProviderMapperSet
-
cacheClientScopes
-
getMasterAdminClient
-
getDefaultRoleId
-
getName
-
getDisplayName
-
getDisplayNameHtml
-
isEnabled
public boolean isEnabled() -
getSslRequired
-
isRegistrationAllowed
public boolean isRegistrationAllowed() -
isRegistrationEmailAsUsername
public boolean isRegistrationEmailAsUsername() -
isRememberMe
public boolean isRememberMe() -
isBruteForceProtected
public boolean isBruteForceProtected() -
isPermanentLockout
public boolean isPermanentLockout() -
getMaxTemporaryLockouts
public int getMaxTemporaryLockouts() -
getMaxFailureWaitSeconds
public int getMaxFailureWaitSeconds() -
getWaitIncrementSeconds
public int getWaitIncrementSeconds() -
getMinimumQuickLoginWaitSeconds
public int getMinimumQuickLoginWaitSeconds() -
getQuickLoginCheckMilliSeconds
public long getQuickLoginCheckMilliSeconds() -
getMaxDeltaTimeSeconds
public int getMaxDeltaTimeSeconds() -
getFailureFactor
public int getFailureFactor() -
isVerifyEmail
public boolean isVerifyEmail() -
isLoginWithEmailAllowed
public boolean isLoginWithEmailAllowed() -
isDuplicateEmailsAllowed
public boolean isDuplicateEmailsAllowed() -
isResetPasswordAllowed
public boolean isResetPasswordAllowed() -
isEditUsernameAllowed
public boolean isEditUsernameAllowed() -
getDefaultSignatureAlgorithm
-
isRevokeRefreshToken
public boolean isRevokeRefreshToken() -
getRefreshTokenMaxReuse
public int getRefreshTokenMaxReuse() -
getSsoSessionIdleTimeout
public int getSsoSessionIdleTimeout() -
getSsoSessionMaxLifespan
public int getSsoSessionMaxLifespan() -
getSsoSessionIdleTimeoutRememberMe
public int getSsoSessionIdleTimeoutRememberMe() -
getSsoSessionMaxLifespanRememberMe
public int getSsoSessionMaxLifespanRememberMe() -
getOfflineSessionIdleTimeout
public int getOfflineSessionIdleTimeout() -
isOfflineSessionMaxLifespanEnabled
public boolean isOfflineSessionMaxLifespanEnabled() -
getOfflineSessionMaxLifespan
public int getOfflineSessionMaxLifespan() -
getClientSessionIdleTimeout
public int getClientSessionIdleTimeout() -
getClientSessionMaxLifespan
public int getClientSessionMaxLifespan() -
getClientOfflineSessionIdleTimeout
public int getClientOfflineSessionIdleTimeout() -
getClientOfflineSessionMaxLifespan
public int getClientOfflineSessionMaxLifespan() -
getAccessTokenLifespan
public int getAccessTokenLifespan() -
getAccessTokenLifespanForImplicitFlow
public int getAccessTokenLifespanForImplicitFlow() -
getAccessCodeLifespan
public int getAccessCodeLifespan() -
getAccessCodeLifespanUserAction
public int getAccessCodeLifespanUserAction() -
getUserActionTokenLifespans
-
getAccessCodeLifespanLogin
public int getAccessCodeLifespanLogin() -
getOAuth2DeviceConfig
-
getCibaConfig
-
getParConfig
-
getActionTokenGeneratedByAdminLifespan
public int getActionTokenGeneratedByAdminLifespan() -
getActionTokenGeneratedByUserLifespan
public int getActionTokenGeneratedByUserLifespan() -
getActionTokenGeneratedByUserLifespan
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
-
getRequiredCredentials
-
getPasswordPolicy
-
isIdentityFederationEnabled
public boolean isIdentityFederationEnabled() -
getSmtpConfig
-
getBrowserSecurityHeaders
-
getLoginTheme
-
getAccountTheme
-
getAdminTheme
-
getEmailTheme
-
getNotBefore
public int getNotBefore() -
isEventsEnabled
public boolean isEventsEnabled() -
getEventsExpiration
public long getEventsExpiration() -
getEventsListeners
-
getEnabledEventTypes
-
isAdminEventsEnabled
public boolean isAdminEventsEnabled() -
getAdminEnabledEventOperations
-
isAdminEventsDetailsEnabled
public boolean isAdminEventsDetailsEnabled() -
getIdentityProviders
-
isInternationalizationEnabled
public boolean isInternationalizationEnabled() -
getSupportedLocales
-
getDefaultLocale
-
getIdentityProviderMappers
-
getAuthenticationFlows
-
getAuthenticatorConfigs
-
getAuthenticationExecutions
-
getAuthenticationExecutionByFlowId
-
getExecutionsById
-
getRequiredActionProviders
-
getRequiredActionProvidersByAlias
-
getOtpPolicy
-
getWebAuthnPolicy
-
getWebAuthnPasswordlessPolicy
-
getBrowserFlow
-
getRegistrationFlow
-
getDirectGrantFlow
-
getResetCredentialsFlow
-
getClientAuthenticationFlow
-
getDockerAuthenticationFlow
-
getFirstBrokerLoginFlow
-
getDefaultGroups
-
getDefaultDefaultClientScopes
-
getOptionalDefaultClientScopes
-
getAuthenticationFlowList
-
getRequiredActionProviderList
-
getComponentsByParent
-
getComponentsByParentAndType
-
getComponents
-
getAttribute
-
getAttribute
-
getAttribute
-
getAttribute
-
getAttributes
-
isAllowUserManagedAccess
public boolean isAllowUserManagedAccess() -
getRealmLocalizationTexts
-