Class CachedRealm

    • Field Detail

      • displayName

        protected String displayName
      • displayNameHtml

        protected String displayNameHtml
      • enabled

        protected boolean enabled
      • 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
      • 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

        protected String 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
      • actionTokenGeneratedByAdminLifespan

        protected int actionTokenGeneratedByAdminLifespan
      • actionTokenGeneratedByUserLifespan

        protected int actionTokenGeneratedByUserLifespan
      • notBefore

        protected int notBefore
      • webAuthnPasswordlessPolicy

        protected WebAuthnPolicy webAuthnPasswordlessPolicy
      • loginTheme

        protected String loginTheme
      • accountTheme

        protected String accountTheme
      • adminTheme

        protected String adminTheme
      • emailTheme

        protected String emailTheme
      • masterAdminClient

        protected String masterAdminClient
      • browserSecurityHeaders

        protected Map<String,​String> browserSecurityHeaders
      • eventsEnabled

        protected boolean eventsEnabled
      • eventsExpiration

        protected long eventsExpiration
      • eventsListeners

        protected Set<String> eventsListeners
      • enabledEventTypes

        protected Set<String> enabledEventTypes
      • adminEventsEnabled

        protected boolean adminEventsEnabled
      • adminEnabledEventOperations

        protected Set<String> adminEnabledEventOperations
      • adminEventsDetailsEnabled

        protected boolean adminEventsDetailsEnabled
      • defaultRoleId

        protected String defaultRoleId
      • defaultGroups

        protected List<String> defaultGroups
      • clientScopes

        protected List<String> clientScopes
      • defaultDefaultClientScopes

        protected List<String> defaultDefaultClientScopes
      • optionalDefaultClientScopes

        protected List<String> optionalDefaultClientScopes
      • internationalizationEnabled

        protected boolean internationalizationEnabled
      • supportedLocales

        protected Set<String> supportedLocales
      • defaultLocale

        protected String defaultLocale
    • Constructor Detail

      • CachedRealm

        public CachedRealm​(Long revision,
                           RealmModel model)
    • Method Detail

      • cacheClientScopes

        protected void cacheClientScopes​(RealmModel model)
      • getMasterAdminClient

        public String getMasterAdminClient()
      • getDefaultRoleId

        public String getDefaultRoleId()
      • getName

        public String getName()
      • getDisplayName

        public String getDisplayName()
      • getDisplayNameHtml

        public String getDisplayNameHtml()
      • isEnabled

        public boolean isEnabled()
      • isRegistrationAllowed

        public boolean isRegistrationAllowed()
      • isRegistrationEmailAsUsername

        public boolean isRegistrationEmailAsUsername()
      • isRememberMe

        public boolean isRememberMe()
      • isBruteForceProtected

        public boolean isBruteForceProtected()
      • isPermanentLockout

        public boolean isPermanentLockout()
      • 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

        public String 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

        public Map<String,​Integer> getUserActionTokenLifespans()
      • getAccessCodeLifespanLogin

        public int getAccessCodeLifespanLogin()
      • getActionTokenGeneratedByAdminLifespan

        public int getActionTokenGeneratedByAdminLifespan()
      • getActionTokenGeneratedByUserLifespan

        public int getActionTokenGeneratedByUserLifespan()
      • getActionTokenGeneratedByUserLifespan

        public 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
      • isIdentityFederationEnabled

        public boolean isIdentityFederationEnabled()
      • getBrowserSecurityHeaders

        public Map<String,​String> getBrowserSecurityHeaders()
      • getLoginTheme

        public String getLoginTheme()
      • getAccountTheme

        public String getAccountTheme()
      • getAdminTheme

        public String getAdminTheme()
      • getEmailTheme

        public String getEmailTheme()
      • getNotBefore

        public int getNotBefore()
      • isEventsEnabled

        public boolean isEventsEnabled()
      • getEventsExpiration

        public long getEventsExpiration()
      • getEventsListeners

        public Set<String> getEventsListeners()
      • getEnabledEventTypes

        public Set<String> getEnabledEventTypes()
      • isAdminEventsEnabled

        public boolean isAdminEventsEnabled()
      • getAdminEnabledEventOperations

        public Set<String> getAdminEnabledEventOperations()
      • isAdminEventsDetailsEnabled

        public boolean isAdminEventsDetailsEnabled()
      • isInternationalizationEnabled

        public boolean isInternationalizationEnabled()
      • getSupportedLocales

        public Set<String> getSupportedLocales()
      • getDefaultLocale

        public String getDefaultLocale()
      • getOtpPolicy

        public OTPPolicy getOtpPolicy()
      • getWebAuthnPasswordlessPolicy

        public WebAuthnPolicy getWebAuthnPasswordlessPolicy()
      • getDefaultGroups

        public List<String> getDefaultGroups()
      • getClientScopes

        public List<String> getClientScopes()
      • getDefaultDefaultClientScopes

        public List<String> getDefaultDefaultClientScopes()
      • getOptionalDefaultClientScopes

        public List<String> getOptionalDefaultClientScopes()
      • getAttribute

        public String getAttribute​(String name)
      • getAttribute

        public Long getAttribute​(String name,
                                 Long defaultValue)
      • isAllowUserManagedAccess

        public boolean isAllowUserManagedAccess()