public abstract class AbstractRealmModel<E extends AbstractEntity> extends Object implements RealmModel
RealmModel.IdentityProviderRemovedEvent, RealmModel.IdentityProviderUpdatedEvent, RealmModel.RealmCreationEvent, RealmModel.RealmPostCreateEvent, RealmModel.RealmRemovedEvent, RealmModel.SearchableFields
RoleContainerModel.RoleRemovedEvent
Modifier and Type | Field and Description |
---|---|
protected E |
entity |
protected KeycloakSession |
session |
COMPARE_BY_NAME
Constructor and Description |
---|
AbstractRealmModel(KeycloakSession session,
E entity) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAuthenticationFlow, addAuthenticatorConfig, addAuthenticatorExecution, addClient, addClient, addClientScope, addClientScope, addComponentModel, addDefaultClientScope, addDefaultGroup, addIdentityProvider, addIdentityProviderMapper, addRequiredActionProvider, addRequiredCredential, addToDefaultRoles, createClientInitialAccessModel, createGroup, createGroup, createGroup, createGroup, decreaseRemainingCount, getAccessCodeLifespan, getAccessCodeLifespanLogin, getAccessCodeLifespanUserAction, getAccessTokenLifespan, getAccessTokenLifespanForImplicitFlow, getAccountTheme, getActionTokenGeneratedByAdminLifespan, getActionTokenGeneratedByUserLifespan, getActionTokenGeneratedByUserLifespan, getAdminTheme, getAlwaysDisplayInConsoleClients, getAlwaysDisplayInConsoleClientsStream, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationExecutionByFlowId, getAuthenticationExecutionById, getAuthenticationExecutions, getAuthenticationExecutionsStream, getAuthenticationFlowById, getAuthenticationFlows, getAuthenticationFlowsStream, getAuthenticatorConfigByAlias, getAuthenticatorConfigById, getAuthenticatorConfigs, getAuthenticatorConfigsStream, getBrowserFlow, getBrowserSecurityHeaders, getCibaPolicy, getClientAuthenticationFlow, getClientByClientId, getClientById, getClientInitialAccesses, getClientInitialAccessModel, getClientOfflineSessionIdleTimeout, getClientOfflineSessionMaxLifespan, getClients, getClients, getClientScopeById, getClientScopes, getClientScopesStream, getClientsCount, getClientSessionIdleTimeout, getClientSessionMaxLifespan, getClientsStream, getClientsStream, getClientStorageProviders, getClientStorageProvidersStream, getComponent, getComponents, getComponents, getComponents, getComponentsStream, getComponentsStream, getComponentsStream, getDefaultClientScopes, getDefaultClientScopesStream, getDefaultGroups, getDefaultGroupsStream, getDefaultLocale, getDefaultRole, getDefaultSignatureAlgorithm, getDirectGrantFlow, getDisplayName, getDisplayNameHtml, getDockerAuthenticationFlow, getEmailTheme, getEnabledEventTypes, getEnabledEventTypesStream, getEventsExpiration, getEventsListeners, getEventsListenersStream, getFailureFactor, getFlowByAlias, getGroupById, getGroups, getGroupsCount, getGroupsCountByNameContaining, getGroupsStream, getId, getIdentityProviderByAlias, getIdentityProviderMapperById, getIdentityProviderMapperByName, getIdentityProviderMappers, getIdentityProviderMappersByAlias, getIdentityProviderMappersByAliasStream, getIdentityProviderMappersStream, getIdentityProviders, getIdentityProvidersStream, getLoginTheme, getMasterAdminClient, getMaxDeltaTimeSeconds, getMaxFailureWaitSeconds, getMinimumQuickLoginWaitSeconds, getName, getNotBefore, getOAuth2DeviceConfig, getOfflineSessionIdleTimeout, getOfflineSessionMaxLifespan, getOTPPolicy, getPasswordPolicy, getQuickLoginCheckMilliSeconds, getRealmLocalizationTexts, getRealmLocalizationTextsByLocale, getRefreshTokenMaxReuse, getRegistrationFlow, getRequiredActionProviderByAlias, getRequiredActionProviderById, getRequiredActionProviders, getRequiredActionProvidersStream, getRequiredCredentials, getRequiredCredentialsStream, getResetCredentialsFlow, getRoleById, getRoleStorageProviders, getRoleStorageProvidersStream, getSmtpConfig, getSslRequired, getSsoSessionIdleTimeout, getSsoSessionIdleTimeoutRememberMe, getSsoSessionMaxLifespan, getSsoSessionMaxLifespanRememberMe, getStorageProviders, getSupportedLocales, getSupportedLocalesStream, getTopLevelGroups, getTopLevelGroups, getTopLevelGroupsStream, getTopLevelGroupsStream, getUserActionTokenLifespans, getUserStorageProviders, getUserStorageProvidersStream, getWaitIncrementSeconds, getWebAuthnPolicy, getWebAuthnPolicyPasswordless, importComponentModel, isAdminEventsDetailsEnabled, isAdminEventsEnabled, isBruteForceProtected, isDuplicateEmailsAllowed, isEditUsernameAllowed, isEnabled, isEventsEnabled, isIdentityFederationEnabled, isInternationalizationEnabled, isLoginWithEmailAllowed, isOfflineSessionMaxLifespanEnabled, isPermanentLockout, isRegistrationAllowed, isRegistrationEmailAsUsername, isRememberMe, isResetPasswordAllowed, isRevokeRefreshToken, isUserManagedAccessAllowed, isVerifyEmail, moveGroup, patchRealmLocalizationTexts, removeAttribute, removeAuthenticationFlow, removeAuthenticatorConfig, removeAuthenticatorExecution, removeClient, removeClientInitialAccessModel, removeClientScope, removeComponent, removeComponents, removeDefaultClientScope, removeDefaultGroup, removeGroup, removeIdentityProviderByAlias, removeIdentityProviderMapper, removeRealmLocalizationTexts, removeRequiredActionProvider, searchClientByAttributes, searchClientByClientId, searchClientByClientIdStream, searchForGroupByName, searchForGroupByNameStream, setAccessCodeLifespan, setAccessCodeLifespanLogin, setAccessCodeLifespanUserAction, setAccessTokenLifespan, setAccessTokenLifespanForImplicitFlow, setAccountTheme, setActionTokenGeneratedByAdminLifespan, setActionTokenGeneratedByUserLifespan, setActionTokenGeneratedByUserLifespan, setAdminEventsDetailsEnabled, setAdminEventsEnabled, setAdminTheme, setAttribute, setAttribute, setAttribute, setAttribute, setBrowserFlow, setBrowserSecurityHeaders, setBruteForceProtected, setClientAuthenticationFlow, setClientOfflineSessionIdleTimeout, setClientOfflineSessionMaxLifespan, setClientSessionIdleTimeout, setClientSessionMaxLifespan, setDefaultLocale, setDefaultRole, setDefaultSignatureAlgorithm, setDirectGrantFlow, setDisplayName, setDisplayNameHtml, setDockerAuthenticationFlow, setDuplicateEmailsAllowed, setEditUsernameAllowed, setEmailTheme, setEnabled, setEnabledEventTypes, setEventsEnabled, setEventsExpiration, setEventsListeners, setFailureFactor, setInternationalizationEnabled, setLoginTheme, setLoginWithEmailAllowed, setMasterAdminClient, setMaxDeltaTimeSeconds, setMaxFailureWaitSeconds, setMinimumQuickLoginWaitSeconds, setName, setNotBefore, setOfflineSessionIdleTimeout, setOfflineSessionMaxLifespan, setOfflineSessionMaxLifespanEnabled, setOTPPolicy, setPasswordPolicy, setPermanentLockout, setQuickLoginCheckMilliSeconds, setRefreshTokenMaxReuse, setRegistrationAllowed, setRegistrationEmailAsUsername, setRegistrationFlow, setRememberMe, setResetCredentialsFlow, setResetPasswordAllowed, setRevokeRefreshToken, setSmtpConfig, setSslRequired, setSsoSessionIdleTimeout, setSsoSessionIdleTimeoutRememberMe, setSsoSessionMaxLifespan, setSsoSessionMaxLifespanRememberMe, setSupportedLocales, setUserManagedAccessAllowed, setVerifyEmail, setWaitIncrementSeconds, setWebAuthnPolicy, setWebAuthnPolicyPasswordless, updateAuthenticationFlow, updateAuthenticatorConfig, updateAuthenticatorExecution, updateComponent, updateIdentityProvider, updateIdentityProviderMapper, updateRequiredActionProvider, updateRequiredCredentials
addDefaultRole, addRole, addRole, getDefaultRoles, getDefaultRolesStream, getRole, getRoles, getRoles, getRolesStream, getRolesStream, removeDefaultRoles, removeRole, searchForRoles, searchForRolesStream, updateDefaultRoles
protected final KeycloakSession session
protected final E extends AbstractEntity entity
public AbstractRealmModel(KeycloakSession session, E entity)
Copyright © 2021 JBoss by Red Hat. All rights reserved.