Package org.keycloak.models
Interface LegacyRealmModel
-
- All Superinterfaces:
RealmModel
,RoleContainerModel
- All Known Subinterfaces:
CachedRealmModel
- All Known Implementing Classes:
RealmAdapter
,RealmAdapter
public interface LegacyRealmModel extends RealmModel
- Author:
- Alexander Schwartz
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.RealmModel
RealmModel.IdentityProviderRemovedEvent, RealmModel.IdentityProviderUpdatedEvent, RealmModel.RealmCreationEvent, RealmModel.RealmPostCreateEvent, RealmModel.RealmRemovedEvent, RealmModel.SearchableFields
-
Nested classes/interfaces inherited from interface org.keycloak.models.RoleContainerModel
RoleContainerModel.RoleRemovedEvent
-
-
Field Summary
-
Fields inherited from interface org.keycloak.models.RealmModel
COMPARE_BY_NAME
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default List<ClientStorageProviderModel>
getClientStorageProviders()
Deprecated.UsegetClientStorageProvidersStream
instead.default Stream<ClientStorageProviderModel>
getClientStorageProvidersStream()
Returns sortedClientStorageProviderModel
as a stream.default List<RoleStorageProviderModel>
getRoleStorageProviders()
Deprecated.UsegetRoleStorageProvidersStream
instead.default Stream<RoleStorageProviderModel>
getRoleStorageProvidersStream()
Returns sortedRoleStorageProviderModel
as a stream.default List<UserStorageProviderModel>
getUserStorageProviders()
Deprecated.UsegetUserStorageProvidersStream
instead.default Stream<UserStorageProviderModel>
getUserStorageProvidersStream()
Returns sortedUserStorageProviderModel
as a stream.-
Methods inherited from interface org.keycloak.models.RealmModel
addAuthenticationFlow, addAuthenticatorConfig, addAuthenticatorExecution, addClient, addClient, addClientScope, addClientScope, addComponentModel, addDefaultClientScope, addDefaultGroup, addIdentityProvider, addIdentityProviderMapper, addRequiredActionProvider, addRequiredCredential, addToDefaultRoles, createClientInitialAccessModel, createGroup, createGroup, createGroup, createGroup, createOrUpdateRealmLocalizationTexts, decreaseRemainingCount, getAccessCodeLifespan, getAccessCodeLifespanLogin, getAccessCodeLifespanUserAction, getAccessTokenLifespan, getAccessTokenLifespanForImplicitFlow, getAccountTheme, getActionTokenGeneratedByAdminLifespan, getActionTokenGeneratedByUserLifespan, getActionTokenGeneratedByUserLifespan, getAdminTheme, getAlwaysDisplayInConsoleClientsStream, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationExecutionByFlowId, getAuthenticationExecutionById, getAuthenticationExecutionsStream, getAuthenticationFlowById, getAuthenticationFlowsStream, getAuthenticatorConfigByAlias, getAuthenticatorConfigById, getAuthenticatorConfigsStream, getBrowserFlow, getBrowserSecurityHeaders, getCibaPolicy, getClientAuthenticationFlow, getClientByClientId, getClientById, getClientInitialAccesses, getClientInitialAccessModel, getClientOfflineSessionIdleTimeout, getClientOfflineSessionMaxLifespan, getClientScopeById, getClientScopesStream, getClientsCount, getClientSessionIdleTimeout, getClientSessionMaxLifespan, getClientsStream, getClientsStream, getComponent, getComponentsStream, getComponentsStream, getComponentsStream, getDefaultClientScopesStream, getDefaultGroupsStream, getDefaultLocale, getDefaultRole, getDefaultSignatureAlgorithm, getDirectGrantFlow, getDisplayName, getDisplayNameHtml, getDockerAuthenticationFlow, getEmailTheme, getEnabledEventTypesStream, getEventsExpiration, getEventsListenersStream, getFailureFactor, getFlowByAlias, getGroupById, getGroupsCount, getGroupsCountByNameContaining, getGroupsStream, getId, getIdentityProviderByAlias, getIdentityProviderMapperById, getIdentityProviderMapperByName, getIdentityProviderMappersByAliasStream, getIdentityProviderMappersStream, getIdentityProvidersStream, getLoginTheme, getMasterAdminClient, getMaxDeltaTimeSeconds, getMaxFailureWaitSeconds, getMinimumQuickLoginWaitSeconds, getName, getNotBefore, getOAuth2DeviceConfig, getOfflineSessionIdleTimeout, getOfflineSessionMaxLifespan, getOTPPolicy, getParPolicy, getPasswordPolicy, getQuickLoginCheckMilliSeconds, getRealmLocalizationTexts, getRealmLocalizationTextsByLocale, getRefreshTokenMaxReuse, getRegistrationFlow, getRequiredActionProviderByAlias, getRequiredActionProviderById, getRequiredActionProvidersStream, getRequiredCredentialsStream, getResetCredentialsFlow, getRoleById, getSmtpConfig, getSslRequired, getSsoSessionIdleTimeout, getSsoSessionIdleTimeoutRememberMe, getSsoSessionMaxLifespan, getSsoSessionMaxLifespanRememberMe, getStorageProviders, getSupportedLocalesStream, getTopLevelGroupsStream, getTopLevelGroupsStream, getUserActionTokenLifespans, getWaitIncrementSeconds, getWebAuthnPolicy, getWebAuthnPolicyPasswordless, importComponentModel, isAdminEventsDetailsEnabled, isAdminEventsEnabled, isBruteForceProtected, isDuplicateEmailsAllowed, isEditUsernameAllowed, isEnabled, isEventsEnabled, isIdentityFederationEnabled, isInternationalizationEnabled, isLoginWithEmailAllowed, isOfflineSessionMaxLifespanEnabled, isPermanentLockout, isRegistrationAllowed, isRegistrationEmailAsUsername, isRememberMe, isResetPasswordAllowed, isRevokeRefreshToken, isUserManagedAccessAllowed, isVerifyEmail, moveGroup, removeAttribute, removeAuthenticationFlow, removeAuthenticatorConfig, removeAuthenticatorExecution, removeClient, removeClientInitialAccessModel, removeClientScope, removeComponent, removeComponents, removeDefaultClientScope, removeDefaultGroup, removeGroup, removeIdentityProviderByAlias, removeIdentityProviderMapper, removeRealmLocalizationTexts, removeRequiredActionProvider, searchClientByAttributes, searchClientByClientIdStream, 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
-
Methods inherited from interface org.keycloak.models.RoleContainerModel
addDefaultRole, addRole, addRole, getDefaultRoles, getDefaultRolesStream, getRole, getRolesStream, getRolesStream, removeDefaultRoles, removeRole, searchForRolesStream, updateDefaultRoles
-
-
-
-
Method Detail
-
getClientStorageProviders
@Deprecated default List<ClientStorageProviderModel> getClientStorageProviders()
Deprecated.UsegetClientStorageProvidersStream
instead.
-
getClientStorageProvidersStream
default Stream<ClientStorageProviderModel> getClientStorageProvidersStream()
Returns sortedClientStorageProviderModel
as a stream. It should be used with forEachOrdered if the ordering is required.- Returns:
- Sorted stream of
ClientStorageProviderModel
. Never returnsnull
.
-
getRoleStorageProviders
@Deprecated default List<RoleStorageProviderModel> getRoleStorageProviders()
Deprecated.UsegetRoleStorageProvidersStream
instead.
-
getRoleStorageProvidersStream
default Stream<RoleStorageProviderModel> getRoleStorageProvidersStream()
Returns sortedRoleStorageProviderModel
as a stream. It should be used with forEachOrdered if the ordering is required.- Returns:
- Sorted stream of
RoleStorageProviderModel
. Never returnsnull
.
-
getUserStorageProviders
@Deprecated default List<UserStorageProviderModel> getUserStorageProviders()
Deprecated.UsegetUserStorageProvidersStream
instead.
-
getUserStorageProvidersStream
default Stream<UserStorageProviderModel> getUserStorageProvidersStream()
Returns sortedUserStorageProviderModel
as a stream. It should be used with forEachOrdered if the ordering is required.- Returns:
- Sorted stream of
UserStorageProviderModel
. Never returnsnull
.
-
-