Package org.keycloak.models.map.realm
Class MapRealmAdapter
- java.lang.Object
- 
- org.keycloak.models.map.realm.AbstractRealmModel<MapRealmEntity>
- 
- org.keycloak.models.map.realm.MapRealmAdapter
 
 
- 
- All Implemented Interfaces:
- RealmModel,- RoleContainerModel
 
 public class MapRealmAdapter extends AbstractRealmModel<MapRealmEntity> implements RealmModel 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.models.RealmModelRealmModel.IdentityProviderRemovedEvent, RealmModel.IdentityProviderUpdatedEvent, RealmModel.RealmCreationEvent, RealmModel.RealmPostCreateEvent, RealmModel.RealmRemovedEvent, RealmModel.SearchableFields
 - 
Nested classes/interfaces inherited from interface org.keycloak.models.RoleContainerModelRoleContainerModel.RoleRemovedEvent
 
- 
 - 
Field Summary- 
Fields inherited from class org.keycloak.models.map.realm.AbstractRealmModelentity, session
 - 
Fields inherited from interface org.keycloak.models.RealmModelCOMPARE_BY_NAME
 
- 
 - 
Constructor SummaryConstructors Constructor Description MapRealmAdapter(KeycloakSession session, MapRealmEntity entity)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.map.realm.AbstractRealmModelequals, hashCode
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.RealmModeladdToDefaultRoles, createGroup, createGroup, createGroup, getAttribute, getAttribute, getAttribute, getStorageProviders, setAttribute, setAttribute, setAttribute
 - 
Methods inherited from interface org.keycloak.models.RoleContainerModelgetDefaultRoles, updateDefaultRoles
 
- 
 
- 
- 
- 
Constructor Detail- 
MapRealmAdapterpublic MapRealmAdapter(KeycloakSession session, MapRealmEntity entity) 
 
- 
 - 
Method Detail- 
getIdpublic String getId() - Specified by:
- getIdin interface- RealmModel
- Specified by:
- getIdin interface- RoleContainerModel
 
 - 
getNamepublic String getName() - Specified by:
- getNamein interface- RealmModel
 
 - 
setNamepublic void setName(String name) - Specified by:
- setNamein interface- RealmModel
 
 - 
getDisplayNamepublic String getDisplayName() - Specified by:
- getDisplayNamein interface- RealmModel
 
 - 
setDisplayNamepublic void setDisplayName(String displayName) - Specified by:
- setDisplayNamein interface- RealmModel
 
 - 
getDisplayNameHtmlpublic String getDisplayNameHtml() - Specified by:
- getDisplayNameHtmlin interface- RealmModel
 
 - 
setDisplayNameHtmlpublic void setDisplayNameHtml(String displayNameHtml) - Specified by:
- setDisplayNameHtmlin interface- RealmModel
 
 - 
isEnabledpublic boolean isEnabled() - Specified by:
- isEnabledin interface- RealmModel
 
 - 
setEnabledpublic void setEnabled(boolean enabled) - Specified by:
- setEnabledin interface- RealmModel
 
 - 
getSslRequiredpublic SslRequired getSslRequired() - Specified by:
- getSslRequiredin interface- RealmModel
 
 - 
setSslRequiredpublic void setSslRequired(SslRequired sslRequired) - Specified by:
- setSslRequiredin interface- RealmModel
 
 - 
isRegistrationAllowedpublic boolean isRegistrationAllowed() - Specified by:
- isRegistrationAllowedin interface- RealmModel
 
 - 
setRegistrationAllowedpublic void setRegistrationAllowed(boolean registrationAllowed) - Specified by:
- setRegistrationAllowedin interface- RealmModel
 
 - 
isRegistrationEmailAsUsernamepublic boolean isRegistrationEmailAsUsername() - Specified by:
- isRegistrationEmailAsUsernamein interface- RealmModel
 
 - 
setRegistrationEmailAsUsernamepublic void setRegistrationEmailAsUsername(boolean registrationEmailAsUsername) - Specified by:
- setRegistrationEmailAsUsernamein interface- RealmModel
 
 - 
isRememberMepublic boolean isRememberMe() - Specified by:
- isRememberMein interface- RealmModel
 
 - 
setRememberMepublic void setRememberMe(boolean rememberMe) - Specified by:
- setRememberMein interface- RealmModel
 
 - 
isEditUsernameAllowedpublic boolean isEditUsernameAllowed() - Specified by:
- isEditUsernameAllowedin interface- RealmModel
 
 - 
setEditUsernameAllowedpublic void setEditUsernameAllowed(boolean editUsernameAllowed) - Specified by:
- setEditUsernameAllowedin interface- RealmModel
 
 - 
isUserManagedAccessAllowedpublic boolean isUserManagedAccessAllowed() - Specified by:
- isUserManagedAccessAllowedin interface- RealmModel
 
 - 
setUserManagedAccessAllowedpublic void setUserManagedAccessAllowed(boolean userManagedAccessAllowed) - Specified by:
- setUserManagedAccessAllowedin interface- RealmModel
 
 - 
setAttributepublic void setAttribute(String name, String value) - Specified by:
- setAttributein interface- RealmModel
 
 - 
removeAttributepublic void removeAttribute(String name) - Specified by:
- removeAttributein interface- RealmModel
 
 - 
getAttributepublic String getAttribute(String name) - Specified by:
- getAttributein interface- RealmModel
 
 - 
getAttributespublic Map<String,String> getAttributes() - Specified by:
- getAttributesin interface- RealmModel
 
 - 
isVerifyEmailpublic boolean isVerifyEmail() - Specified by:
- isVerifyEmailin interface- RealmModel
 
 - 
setVerifyEmailpublic void setVerifyEmail(boolean verifyEmail) - Specified by:
- setVerifyEmailin interface- RealmModel
 
 - 
isLoginWithEmailAllowedpublic boolean isLoginWithEmailAllowed() - Specified by:
- isLoginWithEmailAllowedin interface- RealmModel
 
 - 
setLoginWithEmailAllowedpublic void setLoginWithEmailAllowed(boolean loginWithEmailAllowed) - Specified by:
- setLoginWithEmailAllowedin interface- RealmModel
 
 - 
isDuplicateEmailsAllowedpublic boolean isDuplicateEmailsAllowed() - Specified by:
- isDuplicateEmailsAllowedin interface- RealmModel
 
 - 
setDuplicateEmailsAllowedpublic void setDuplicateEmailsAllowed(boolean duplicateEmailsAllowed) - Specified by:
- setDuplicateEmailsAllowedin interface- RealmModel
 
 - 
isResetPasswordAllowedpublic boolean isResetPasswordAllowed() - Specified by:
- isResetPasswordAllowedin interface- RealmModel
 
 - 
setResetPasswordAllowedpublic void setResetPasswordAllowed(boolean resetPasswordAllowed) - Specified by:
- setResetPasswordAllowedin interface- RealmModel
 
 - 
isRevokeRefreshTokenpublic boolean isRevokeRefreshToken() - Specified by:
- isRevokeRefreshTokenin interface- RealmModel
 
 - 
setRevokeRefreshTokenpublic void setRevokeRefreshToken(boolean revokeRefreshToken) - Specified by:
- setRevokeRefreshTokenin interface- RealmModel
 
 - 
getRefreshTokenMaxReusepublic int getRefreshTokenMaxReuse() - Specified by:
- getRefreshTokenMaxReusein interface- RealmModel
 
 - 
setRefreshTokenMaxReusepublic void setRefreshTokenMaxReuse(int revokeRefreshTokenCount) - Specified by:
- setRefreshTokenMaxReusein interface- RealmModel
 
 - 
getSsoSessionIdleTimeoutpublic int getSsoSessionIdleTimeout() - Specified by:
- getSsoSessionIdleTimeoutin interface- RealmModel
 
 - 
setSsoSessionIdleTimeoutpublic void setSsoSessionIdleTimeout(int seconds) - Specified by:
- setSsoSessionIdleTimeoutin interface- RealmModel
 
 - 
getSsoSessionMaxLifespanpublic int getSsoSessionMaxLifespan() - Specified by:
- getSsoSessionMaxLifespanin interface- RealmModel
 
 - 
setSsoSessionMaxLifespanpublic void setSsoSessionMaxLifespan(int seconds) - Specified by:
- setSsoSessionMaxLifespanin interface- RealmModel
 
 - 
getSsoSessionIdleTimeoutRememberMepublic int getSsoSessionIdleTimeoutRememberMe() - Specified by:
- getSsoSessionIdleTimeoutRememberMein interface- RealmModel
 
 - 
setSsoSessionIdleTimeoutRememberMepublic void setSsoSessionIdleTimeoutRememberMe(int seconds) - Specified by:
- setSsoSessionIdleTimeoutRememberMein interface- RealmModel
 
 - 
getSsoSessionMaxLifespanRememberMepublic int getSsoSessionMaxLifespanRememberMe() - Specified by:
- getSsoSessionMaxLifespanRememberMein interface- RealmModel
 
 - 
setSsoSessionMaxLifespanRememberMepublic void setSsoSessionMaxLifespanRememberMe(int seconds) - Specified by:
- setSsoSessionMaxLifespanRememberMein interface- RealmModel
 
 - 
getOfflineSessionIdleTimeoutpublic int getOfflineSessionIdleTimeout() - Specified by:
- getOfflineSessionIdleTimeoutin interface- RealmModel
 
 - 
setOfflineSessionIdleTimeoutpublic void setOfflineSessionIdleTimeout(int seconds) - Specified by:
- setOfflineSessionIdleTimeoutin interface- RealmModel
 
 - 
getAccessTokenLifespanpublic int getAccessTokenLifespan() - Specified by:
- getAccessTokenLifespanin interface- RealmModel
 
 - 
getClientSessionIdleTimeoutpublic int getClientSessionIdleTimeout() - Specified by:
- getClientSessionIdleTimeoutin interface- RealmModel
 
 - 
setClientSessionIdleTimeoutpublic void setClientSessionIdleTimeout(int seconds) - Specified by:
- setClientSessionIdleTimeoutin interface- RealmModel
 
 - 
getClientSessionMaxLifespanpublic int getClientSessionMaxLifespan() - Specified by:
- getClientSessionMaxLifespanin interface- RealmModel
 
 - 
setClientSessionMaxLifespanpublic void setClientSessionMaxLifespan(int seconds) - Specified by:
- setClientSessionMaxLifespanin interface- RealmModel
 
 - 
getClientOfflineSessionIdleTimeoutpublic int getClientOfflineSessionIdleTimeout() - Specified by:
- getClientOfflineSessionIdleTimeoutin interface- RealmModel
 
 - 
setClientOfflineSessionIdleTimeoutpublic void setClientOfflineSessionIdleTimeout(int seconds) - Specified by:
- setClientOfflineSessionIdleTimeoutin interface- RealmModel
 
 - 
getClientOfflineSessionMaxLifespanpublic int getClientOfflineSessionMaxLifespan() - Specified by:
- getClientOfflineSessionMaxLifespanin interface- RealmModel
 
 - 
setClientOfflineSessionMaxLifespanpublic void setClientOfflineSessionMaxLifespan(int seconds) - Specified by:
- setClientOfflineSessionMaxLifespanin interface- RealmModel
 
 - 
setAccessTokenLifespanpublic void setAccessTokenLifespan(int seconds) - Specified by:
- setAccessTokenLifespanin interface- RealmModel
 
 - 
getAccessTokenLifespanForImplicitFlowpublic int getAccessTokenLifespanForImplicitFlow() - Specified by:
- getAccessTokenLifespanForImplicitFlowin interface- RealmModel
 
 - 
setAccessTokenLifespanForImplicitFlowpublic void setAccessTokenLifespanForImplicitFlow(int seconds) - Specified by:
- setAccessTokenLifespanForImplicitFlowin interface- RealmModel
 
 - 
getAccessCodeLifespanpublic int getAccessCodeLifespan() - Specified by:
- getAccessCodeLifespanin interface- RealmModel
 
 - 
setAccessCodeLifespanpublic void setAccessCodeLifespan(int seconds) - Specified by:
- setAccessCodeLifespanin interface- RealmModel
 
 - 
getAccessCodeLifespanUserActionpublic int getAccessCodeLifespanUserAction() - Specified by:
- getAccessCodeLifespanUserActionin interface- RealmModel
 
 - 
setAccessCodeLifespanUserActionpublic void setAccessCodeLifespanUserAction(int seconds) - Specified by:
- setAccessCodeLifespanUserActionin interface- RealmModel
 
 - 
getAccessCodeLifespanLoginpublic int getAccessCodeLifespanLogin() - Specified by:
- getAccessCodeLifespanLoginin interface- RealmModel
 
 - 
setAccessCodeLifespanLoginpublic void setAccessCodeLifespanLogin(int seconds) - Specified by:
- setAccessCodeLifespanLoginin interface- RealmModel
 
 - 
getActionTokenGeneratedByAdminLifespanpublic int getActionTokenGeneratedByAdminLifespan() - Specified by:
- getActionTokenGeneratedByAdminLifespanin interface- RealmModel
 
 - 
setActionTokenGeneratedByAdminLifespanpublic void setActionTokenGeneratedByAdminLifespan(int seconds) - Specified by:
- setActionTokenGeneratedByAdminLifespanin interface- RealmModel
 
 - 
getActionTokenGeneratedByUserLifespanpublic int getActionTokenGeneratedByUserLifespan() - Specified by:
- getActionTokenGeneratedByUserLifespanin interface- RealmModel
 
 - 
setActionTokenGeneratedByUserLifespanpublic void setActionTokenGeneratedByUserLifespan(int seconds) - Specified by:
- setActionTokenGeneratedByUserLifespanin interface- RealmModel
 
 - 
getActionTokenGeneratedByUserLifespanpublic int getActionTokenGeneratedByUserLifespan(String actionTokenType) - Specified by:
- getActionTokenGeneratedByUserLifespanin interface- RealmModel
 
 - 
setActionTokenGeneratedByUserLifespanpublic void setActionTokenGeneratedByUserLifespan(String actionTokenType, Integer seconds) - Specified by:
- setActionTokenGeneratedByUserLifespanin interface- RealmModel
 
 - 
getUserActionTokenLifespanspublic Map<String,Integer> getUserActionTokenLifespans() Description copied from interface:RealmModelThis method will return a map with all the lifespans available or an empty map, but never null.- Specified by:
- getUserActionTokenLifespansin interface- RealmModel
- Returns:
- map with user action token lifespans
 
 - 
getRequiredCredentialsStreampublic Stream<RequiredCredentialModel> getRequiredCredentialsStream() Description copied from interface:RealmModelReturns required credentials as a stream.- Specified by:
- getRequiredCredentialsStreamin interface- RealmModel
- Returns:
- Stream of RequiredCredentialModel. Never returnsnull.
 
 - 
addRequiredCredentialpublic void addRequiredCredential(String cred) - Specified by:
- addRequiredCredentialin interface- RealmModel
 
 - 
updateRequiredCredentialspublic void updateRequiredCredentials(Set<String> credentials) - Specified by:
- updateRequiredCredentialsin interface- RealmModel
 
 - 
getPasswordPolicypublic PasswordPolicy getPasswordPolicy() - Specified by:
- getPasswordPolicyin interface- RealmModel
 
 - 
setPasswordPolicypublic void setPasswordPolicy(PasswordPolicy policy) - Specified by:
- setPasswordPolicyin interface- RealmModel
 
 - 
getOTPPolicypublic OTPPolicy getOTPPolicy() - Specified by:
- getOTPPolicyin interface- RealmModel
 
 - 
setOTPPolicypublic void setOTPPolicy(OTPPolicy policy) - Specified by:
- setOTPPolicyin interface- RealmModel
 
 - 
getRoleByIdpublic RoleModel getRoleById(String id) - Specified by:
- getRoleByIdin interface- RealmModel
 
 - 
getDefaultGroupsStreampublic Stream<GroupModel> getDefaultGroupsStream() Description copied from interface:RealmModelReturns default groups as a stream.- Specified by:
- getDefaultGroupsStreamin interface- RealmModel
- Returns:
- Stream of GroupModel. Never returnsnull.
 
 - 
addDefaultGrouppublic void addDefaultGroup(GroupModel group) - Specified by:
- addDefaultGroupin interface- RealmModel
 
 - 
removeDefaultGrouppublic void removeDefaultGroup(GroupModel group) - Specified by:
- removeDefaultGroupin interface- RealmModel
 
 - 
getClientsStreampublic Stream<ClientModel> getClientsStream() Description copied from interface:RealmModelReturns clients as a stream.- Specified by:
- getClientsStreamin interface- RealmModel
- Returns:
- Stream of ClientModel. Never returnsnull.
 
 - 
getClientsStreampublic Stream<ClientModel> getClientsStream(Integer firstResult, Integer maxResults) Description copied from interface:RealmModelReturns clients as a stream.- Specified by:
- getClientsStreamin interface- RealmModel
- Parameters:
- firstResult-- IntegerIndex of the first desired client. Ignored if negative or- null.
- maxResults-- IntegerMaximum number of returned clients. Ignored if negative or- null.
- Returns:
- Stream of ClientModel. Never returnsnull.
 
 - 
getClientsCountpublic Long getClientsCount() - Specified by:
- getClientsCountin interface- RealmModel
 
 - 
getAlwaysDisplayInConsoleClientsStreampublic Stream<ClientModel> getAlwaysDisplayInConsoleClientsStream() Description copied from interface:RealmModelReturns clients which are always displayed in the admin console as a stream.- Specified by:
- getAlwaysDisplayInConsoleClientsStreamin interface- RealmModel
- Returns:
- Stream of ClientModel. Never returnsnull.
 
 - 
addClientpublic ClientModel addClient(String name) - Specified by:
- addClientin interface- RealmModel
 
 - 
addClientpublic ClientModel addClient(String id, String clientId) - Specified by:
- addClientin interface- RealmModel
 
 - 
removeClientpublic boolean removeClient(String id) - Specified by:
- removeClientin interface- RealmModel
 
 - 
getClientByIdpublic ClientModel getClientById(String id) - Specified by:
- getClientByIdin interface- RealmModel
 
 - 
getClientByClientIdpublic ClientModel getClientByClientId(String clientId) - Specified by:
- getClientByClientIdin interface- RealmModel
 
 - 
searchClientByClientIdStreampublic Stream<ClientModel> searchClientByClientIdStream(String clientId, Integer firstResult, Integer maxResults) Description copied from interface:RealmModelSearch for clients by provided client's id.- Specified by:
- searchClientByClientIdStreamin interface- RealmModel
- Parameters:
- clientId-- StringId of the client.
- firstResult- Index of the first desired client. Ignored if negative or- null.
- maxResults- Maximum number of returned clients. Ignored if negative or- null.
- Returns:
- Stream of ClientModel. Never returnsnull.
 
 - 
searchClientByAttributespublic Stream<ClientModel> searchClientByAttributes(Map<String,String> attributes, Integer firstResult, Integer maxResults) - Specified by:
- searchClientByAttributesin interface- RealmModel
 
 - 
getSmtpConfigpublic Map<String,String> getSmtpConfig() - Specified by:
- getSmtpConfigin interface- RealmModel
 
 - 
setSmtpConfigpublic void setSmtpConfig(Map<String,String> smtpConfig) - Specified by:
- setSmtpConfigin interface- RealmModel
 
 - 
getBrowserFlowpublic AuthenticationFlowModel getBrowserFlow() - Specified by:
- getBrowserFlowin interface- RealmModel
 
 - 
setBrowserFlowpublic void setBrowserFlow(AuthenticationFlowModel flow) - Specified by:
- setBrowserFlowin interface- RealmModel
 
 - 
getRegistrationFlowpublic AuthenticationFlowModel getRegistrationFlow() - Specified by:
- getRegistrationFlowin interface- RealmModel
 
 - 
setRegistrationFlowpublic void setRegistrationFlow(AuthenticationFlowModel flow) - Specified by:
- setRegistrationFlowin interface- RealmModel
 
 - 
getDirectGrantFlowpublic AuthenticationFlowModel getDirectGrantFlow() - Specified by:
- getDirectGrantFlowin interface- RealmModel
 
 - 
setDirectGrantFlowpublic void setDirectGrantFlow(AuthenticationFlowModel flow) - Specified by:
- setDirectGrantFlowin interface- RealmModel
 
 - 
getResetCredentialsFlowpublic AuthenticationFlowModel getResetCredentialsFlow() - Specified by:
- getResetCredentialsFlowin interface- RealmModel
 
 - 
setResetCredentialsFlowpublic void setResetCredentialsFlow(AuthenticationFlowModel flow) - Specified by:
- setResetCredentialsFlowin interface- RealmModel
 
 - 
getClientAuthenticationFlowpublic AuthenticationFlowModel getClientAuthenticationFlow() - Specified by:
- getClientAuthenticationFlowin interface- RealmModel
 
 - 
setClientAuthenticationFlowpublic void setClientAuthenticationFlow(AuthenticationFlowModel flow) - Specified by:
- setClientAuthenticationFlowin interface- RealmModel
 
 - 
getDockerAuthenticationFlowpublic AuthenticationFlowModel getDockerAuthenticationFlow() - Specified by:
- getDockerAuthenticationFlowin interface- RealmModel
 
 - 
setDockerAuthenticationFlowpublic void setDockerAuthenticationFlow(AuthenticationFlowModel flow) - Specified by:
- setDockerAuthenticationFlowin interface- RealmModel
 
 - 
getAuthenticationFlowsStreampublic Stream<AuthenticationFlowModel> getAuthenticationFlowsStream() Description copied from interface:RealmModelReturns authentications flows as a stream.- Specified by:
- getAuthenticationFlowsStreamin interface- RealmModel
- Returns:
- Stream of AuthenticationFlowModel. Never returnsnull.
 
 - 
getFlowByAliaspublic AuthenticationFlowModel getFlowByAlias(String alias) - Specified by:
- getFlowByAliasin interface- RealmModel
 
 - 
addAuthenticationFlowpublic AuthenticationFlowModel addAuthenticationFlow(AuthenticationFlowModel model) - Specified by:
- addAuthenticationFlowin interface- RealmModel
 
 - 
getAuthenticationFlowByIdpublic AuthenticationFlowModel getAuthenticationFlowById(String flowId) - Specified by:
- getAuthenticationFlowByIdin interface- RealmModel
 
 - 
removeAuthenticationFlowpublic void removeAuthenticationFlow(AuthenticationFlowModel model) - Specified by:
- removeAuthenticationFlowin interface- RealmModel
 
 - 
updateAuthenticationFlowpublic void updateAuthenticationFlow(AuthenticationFlowModel model) - Specified by:
- updateAuthenticationFlowin interface- RealmModel
 
 - 
getAuthenticationExecutionsStreampublic Stream<AuthenticationExecutionModel> getAuthenticationExecutionsStream(String flowId) Description copied from interface:RealmModelReturns sorted (according to priority)AuthenticationExecutionModelas a stream. It should be used with forEachOrdered if the ordering is required.- Specified by:
- getAuthenticationExecutionsStreamin interface- RealmModel
- Parameters:
- flowId-- StringId of the flow.
- Returns:
- Sorted stream of AuthenticationExecutionModel. Never returnsnull.
 
 - 
getAuthenticationExecutionByIdpublic AuthenticationExecutionModel getAuthenticationExecutionById(String id) - Specified by:
- getAuthenticationExecutionByIdin interface- RealmModel
 
 - 
getAuthenticationExecutionByFlowIdpublic AuthenticationExecutionModel getAuthenticationExecutionByFlowId(String flowId) - Specified by:
- getAuthenticationExecutionByFlowIdin interface- RealmModel
 
 - 
addAuthenticatorExecutionpublic AuthenticationExecutionModel addAuthenticatorExecution(AuthenticationExecutionModel model) - Specified by:
- addAuthenticatorExecutionin interface- RealmModel
 
 - 
updateAuthenticatorExecutionpublic void updateAuthenticatorExecution(AuthenticationExecutionModel model) - Specified by:
- updateAuthenticatorExecutionin interface- RealmModel
 
 - 
removeAuthenticatorExecutionpublic void removeAuthenticatorExecution(AuthenticationExecutionModel model) - Specified by:
- removeAuthenticatorExecutionin interface- RealmModel
 
 - 
getAuthenticatorConfigsStreampublic Stream<AuthenticatorConfigModel> getAuthenticatorConfigsStream() Description copied from interface:RealmModelReturns authentication configs as a stream.- Specified by:
- getAuthenticatorConfigsStreamin interface- RealmModel
- Returns:
- Stream of AuthenticatorConfigModel. Never returnsnull.
 
 - 
addAuthenticatorConfigpublic AuthenticatorConfigModel addAuthenticatorConfig(AuthenticatorConfigModel model) - Specified by:
- addAuthenticatorConfigin interface- RealmModel
 
 - 
updateAuthenticatorConfigpublic void updateAuthenticatorConfig(AuthenticatorConfigModel model) - Specified by:
- updateAuthenticatorConfigin interface- RealmModel
 
 - 
removeAuthenticatorConfigpublic void removeAuthenticatorConfig(AuthenticatorConfigModel model) - Specified by:
- removeAuthenticatorConfigin interface- RealmModel
 
 - 
getAuthenticatorConfigByIdpublic AuthenticatorConfigModel getAuthenticatorConfigById(String id) - Specified by:
- getAuthenticatorConfigByIdin interface- RealmModel
 
 - 
getAuthenticatorConfigByAliaspublic AuthenticatorConfigModel getAuthenticatorConfigByAlias(String alias) - Specified by:
- getAuthenticatorConfigByAliasin interface- RealmModel
 
 - 
getRequiredActionProvidersStreampublic Stream<RequiredActionProviderModel> getRequiredActionProvidersStream() Description copied from interface:RealmModelReturns sortedRequiredActionProviderModelas a stream. It should be used with forEachOrdered if the ordering is required.- Specified by:
- getRequiredActionProvidersStreamin interface- RealmModel
- Returns:
- Sorted stream of RequiredActionProviderModel. Never returnsnull.
 
 - 
addRequiredActionProviderpublic RequiredActionProviderModel addRequiredActionProvider(RequiredActionProviderModel model) - Specified by:
- addRequiredActionProviderin interface- RealmModel
 
 - 
updateRequiredActionProviderpublic void updateRequiredActionProvider(RequiredActionProviderModel model) - Specified by:
- updateRequiredActionProviderin interface- RealmModel
 
 - 
removeRequiredActionProviderpublic void removeRequiredActionProvider(RequiredActionProviderModel model) - Specified by:
- removeRequiredActionProviderin interface- RealmModel
 
 - 
getRequiredActionProviderByIdpublic RequiredActionProviderModel getRequiredActionProviderById(String id) - Specified by:
- getRequiredActionProviderByIdin interface- RealmModel
 
 - 
getRequiredActionProviderByAliaspublic RequiredActionProviderModel getRequiredActionProviderByAlias(String alias) - Specified by:
- getRequiredActionProviderByAliasin interface- RealmModel
 
 - 
getIdentityProvidersStreampublic Stream<IdentityProviderModel> getIdentityProvidersStream() Description copied from interface:RealmModelReturns identity providers as a stream.- Specified by:
- getIdentityProvidersStreamin interface- RealmModel
- Returns:
- Stream of IdentityProviderModel. Never returnsnull.
 
 - 
getIdentityProviderByAliaspublic IdentityProviderModel getIdentityProviderByAlias(String alias) - Specified by:
- getIdentityProviderByAliasin interface- RealmModel
 
 - 
addIdentityProviderpublic void addIdentityProvider(IdentityProviderModel model) - Specified by:
- addIdentityProviderin interface- RealmModel
 
 - 
removeIdentityProviderByAliaspublic void removeIdentityProviderByAlias(String alias) - Specified by:
- removeIdentityProviderByAliasin interface- RealmModel
 
 - 
updateIdentityProviderpublic void updateIdentityProvider(IdentityProviderModel identityProvider) - Specified by:
- updateIdentityProviderin interface- RealmModel
 
 - 
getIdentityProviderMappersStreampublic Stream<IdentityProviderMapperModel> getIdentityProviderMappersStream() Description copied from interface:RealmModelReturns identity provider mappers as a stream.- Specified by:
- getIdentityProviderMappersStreamin interface- RealmModel
- Returns:
- Stream of IdentityProviderMapperModel. Never returnsnull.
 
 - 
getIdentityProviderMappersByAliasStreampublic Stream<IdentityProviderMapperModel> getIdentityProviderMappersByAliasStream(String brokerAlias) Description copied from interface:RealmModelReturns identity provider mappers by the provided alias as a stream.- Specified by:
- getIdentityProviderMappersByAliasStreamin interface- RealmModel
- Parameters:
- brokerAlias-- StringBroker's alias to filter results.
- Returns:
- Stream of IdentityProviderMapperModelNever returnsnull.
 
 - 
addIdentityProviderMapperpublic IdentityProviderMapperModel addIdentityProviderMapper(IdentityProviderMapperModel model) - Specified by:
- addIdentityProviderMapperin interface- RealmModel
 
 - 
removeIdentityProviderMapperpublic void removeIdentityProviderMapper(IdentityProviderMapperModel model) - Specified by:
- removeIdentityProviderMapperin interface- RealmModel
 
 - 
updateIdentityProviderMapperpublic void updateIdentityProviderMapper(IdentityProviderMapperModel model) - Specified by:
- updateIdentityProviderMapperin interface- RealmModel
 
 - 
getIdentityProviderMapperByIdpublic IdentityProviderMapperModel getIdentityProviderMapperById(String id) - Specified by:
- getIdentityProviderMapperByIdin interface- RealmModel
 
 - 
getIdentityProviderMapperByNamepublic IdentityProviderMapperModel getIdentityProviderMapperByName(String brokerAlias, String name) - Specified by:
- getIdentityProviderMapperByNamein interface- RealmModel
 
 - 
addComponentModelpublic ComponentModel addComponentModel(ComponentModel model) Description copied from interface:RealmModelAdds component model. Will call onCreate() method of ComponentFactory- Specified by:
- addComponentModelin interface- RealmModel
- Returns:
 
 - 
importComponentModelpublic ComponentModel importComponentModel(ComponentModel model) Description copied from interface:RealmModelAdds component model. Will NOT call onCreate() method of ComponentFactory- Specified by:
- importComponentModelin interface- RealmModel
- Returns:
 
 - 
updateComponentpublic void updateComponent(ComponentModel component) Description copied from interface:RealmModelUpdates component model. Will call onUpdate() method of ComponentFactory- Specified by:
- updateComponentin interface- RealmModel
- Parameters:
- component- to be updated
 
 - 
removeComponentpublic void removeComponent(ComponentModel component) Description copied from interface:RealmModelRemoves given component. Will call preRemove() method of ComponentFactory. Also callsthis.removeComponents(component.getId()).- Specified by:
- removeComponentin interface- RealmModel
- Parameters:
- component- to be removed
 
 - 
removeComponentspublic void removeComponents(String parentId) Description copied from interface:RealmModelRemoves all components with givenparentId- Specified by:
- removeComponentsin interface- RealmModel
- Parameters:
- parentId-- Stringid of parent
 
 - 
getComponentsStreampublic Stream<ComponentModel> getComponentsStream() Description copied from interface:RealmModelReturns stream of component models.- Specified by:
- getComponentsStreamin interface- RealmModel
- Returns:
- Stream of ComponentModel. Never returnsnull.
 
 - 
getComponentsStreampublic Stream<ComponentModel> getComponentsStream(String parentId) Description copied from interface:RealmModelReturns stream of ComponentModels for specific parentId.- Specified by:
- getComponentsStreamin interface- RealmModel
- Parameters:
- parentId-- Stringid of parent
- Returns:
- Stream of ComponentModel. Never returnsnull.
 
 - 
getComponentsStreampublic Stream<ComponentModel> getComponentsStream(String parentId, String providerType) Description copied from interface:RealmModelReturns stream of ComponentModels for specific parentId and providerType.- Specified by:
- getComponentsStreamin interface- RealmModel
- Parameters:
- parentId-- Stringid of parent
- providerType-- Stringtype of provider
- Returns:
- Stream of ComponentModel. Never returnsnull.
 
 - 
getComponentpublic ComponentModel getComponent(String id) - Specified by:
- getComponentin interface- RealmModel
 
 - 
getLoginThemepublic String getLoginTheme() - Specified by:
- getLoginThemein interface- RealmModel
 
 - 
setLoginThemepublic void setLoginTheme(String name) - Specified by:
- setLoginThemein interface- RealmModel
 
 - 
getAccountThemepublic String getAccountTheme() - Specified by:
- getAccountThemein interface- RealmModel
 
 - 
setAccountThemepublic void setAccountTheme(String name) - Specified by:
- setAccountThemein interface- RealmModel
 
 - 
getAdminThemepublic String getAdminTheme() - Specified by:
- getAdminThemein interface- RealmModel
 
 - 
setAdminThemepublic void setAdminTheme(String name) - Specified by:
- setAdminThemein interface- RealmModel
 
 - 
getEmailThemepublic String getEmailTheme() - Specified by:
- getEmailThemein interface- RealmModel
 
 - 
setEmailThemepublic void setEmailTheme(String name) - Specified by:
- setEmailThemein interface- RealmModel
 
 - 
getNotBeforepublic int getNotBefore() Description copied from interface:RealmModelTime in seconds since epoc- Specified by:
- getNotBeforein interface- RealmModel
- Returns:
 
 - 
setNotBeforepublic void setNotBefore(int notBefore) - Specified by:
- setNotBeforein interface- RealmModel
 
 - 
isEventsEnabledpublic boolean isEventsEnabled() - Specified by:
- isEventsEnabledin interface- RealmModel
 
 - 
setEventsEnabledpublic void setEventsEnabled(boolean enabled) - Specified by:
- setEventsEnabledin interface- RealmModel
 
 - 
getEventsExpirationpublic long getEventsExpiration() - Specified by:
- getEventsExpirationin interface- RealmModel
 
 - 
setEventsExpirationpublic void setEventsExpiration(long expiration) - Specified by:
- setEventsExpirationin interface- RealmModel
 
 - 
getEventsListenersStreampublic Stream<String> getEventsListenersStream() Description copied from interface:RealmModelReturns events listeners as a stream.- Specified by:
- getEventsListenersStreamin interface- RealmModel
- Returns:
- Stream of String. Never returnsnull.
 
 - 
setEventsListenerspublic void setEventsListeners(Set<String> listeners) - Specified by:
- setEventsListenersin interface- RealmModel
 
 - 
getEnabledEventTypesStreampublic Stream<String> getEnabledEventTypesStream() Description copied from interface:RealmModelReturns enabled event types as a stream.- Specified by:
- getEnabledEventTypesStreamin interface- RealmModel
- Returns:
- Stream of String. Never returnsnull.
 
 - 
setEnabledEventTypespublic void setEnabledEventTypes(Set<String> enabledEventTypes) - Specified by:
- setEnabledEventTypesin interface- RealmModel
 
 - 
isAdminEventsEnabledpublic boolean isAdminEventsEnabled() - Specified by:
- isAdminEventsEnabledin interface- RealmModel
 
 - 
setAdminEventsEnabledpublic void setAdminEventsEnabled(boolean enabled) - Specified by:
- setAdminEventsEnabledin interface- RealmModel
 
 - 
isAdminEventsDetailsEnabledpublic boolean isAdminEventsDetailsEnabled() - Specified by:
- isAdminEventsDetailsEnabledin interface- RealmModel
 
 - 
setAdminEventsDetailsEnabledpublic void setAdminEventsDetailsEnabled(boolean enabled) - Specified by:
- setAdminEventsDetailsEnabledin interface- RealmModel
 
 - 
getMasterAdminClientpublic ClientModel getMasterAdminClient() - Specified by:
- getMasterAdminClientin interface- RealmModel
 
 - 
setMasterAdminClientpublic void setMasterAdminClient(ClientModel client) - Specified by:
- setMasterAdminClientin interface- RealmModel
 
 - 
getDefaultRolepublic RoleModel getDefaultRole() Description copied from interface:RealmModelReturns default realm role. All both realm and client default roles are assigned as composite of this role.- Specified by:
- getDefaultRolein interface- RealmModel
- Returns:
- Default role of this realm
 
 - 
setDefaultRolepublic void setDefaultRole(RoleModel role) Description copied from interface:RealmModelSets default role for this realm- Specified by:
- setDefaultRolein interface- RealmModel
- Parameters:
- role- to be set
 
 - 
isIdentityFederationEnabledpublic boolean isIdentityFederationEnabled() - Specified by:
- isIdentityFederationEnabledin interface- RealmModel
 
 - 
isInternationalizationEnabledpublic boolean isInternationalizationEnabled() - Specified by:
- isInternationalizationEnabledin interface- RealmModel
 
 - 
setInternationalizationEnabledpublic void setInternationalizationEnabled(boolean enabled) - Specified by:
- setInternationalizationEnabledin interface- RealmModel
 
 - 
getSupportedLocalesStreampublic Stream<String> getSupportedLocalesStream() Description copied from interface:RealmModelReturns supported locales as a stream.- Specified by:
- getSupportedLocalesStreamin interface- RealmModel
- Returns:
- Stream of String. Never returnsnull.
 
 - 
setSupportedLocalespublic void setSupportedLocales(Set<String> locales) - Specified by:
- setSupportedLocalesin interface- RealmModel
 
 - 
getDefaultLocalepublic String getDefaultLocale() - Specified by:
- getDefaultLocalein interface- RealmModel
 
 - 
setDefaultLocalepublic void setDefaultLocale(String locale) - Specified by:
- setDefaultLocalein interface- RealmModel
 
 - 
createGrouppublic GroupModel createGroup(String id, String name, GroupModel toParent) - Specified by:
- createGroupin interface- RealmModel
 
 - 
getGroupByIdpublic GroupModel getGroupById(String id) - Specified by:
- getGroupByIdin interface- RealmModel
 
 - 
getGroupsStreampublic Stream<GroupModel> getGroupsStream() Description copied from interface:RealmModelReturns groups as a stream.- Specified by:
- getGroupsStreamin interface- RealmModel
- Returns:
- Stream of GroupModel. Never returnsnull.
 
 - 
getGroupsCountpublic Long getGroupsCount(Boolean onlyTopGroups) - Specified by:
- getGroupsCountin interface- RealmModel
 
 - 
getGroupsCountByNameContainingpublic Long getGroupsCountByNameContaining(String search) - Specified by:
- getGroupsCountByNameContainingin interface- RealmModel
 
 - 
getTopLevelGroupsStreampublic Stream<GroupModel> getTopLevelGroupsStream() Description copied from interface:RealmModelReturns top level groups as a stream.- Specified by:
- getTopLevelGroupsStreamin interface- RealmModel
- Returns:
- Stream of GroupModel. Never returnsnull.
 
 - 
getTopLevelGroupsStreampublic Stream<GroupModel> getTopLevelGroupsStream(Integer first, Integer max) Description copied from interface:RealmModelReturns top level groups as a stream.- Specified by:
- getTopLevelGroupsStreamin interface- RealmModel
- Parameters:
- first-- IntegerIndex of the first desired group. Ignored if negative or- null.
- max-- IntegerMaximum number of returned groups. Ignored if negative or- null.
- Returns:
- Stream of GroupModel. Never returnsnull.
 
 - 
searchForGroupByNameStream@Deprecated public Stream<GroupModel> searchForGroupByNameStream(String search, Integer first, Integer max) Deprecated.Description copied from interface:RealmModelSearches for groups by provided name. Results that match the given filter are returned as a stream.- Specified by:
- searchForGroupByNameStreamin interface- RealmModel
- Parameters:
- search-- StringName of a group to be used as a filter.
- first-- IntegerIndex of the first desired group. Ignored if negative or- null.
- max-- IntegerMaximum number of returned groups. Ignored if negative or- null.
- Returns:
- Stream of GroupModel. Never returnsnull.
 
 - 
removeGrouppublic boolean removeGroup(GroupModel group) - Specified by:
- removeGroupin interface- RealmModel
 
 - 
moveGrouppublic void moveGroup(GroupModel group, GroupModel toParent) - Specified by:
- moveGroupin interface- RealmModel
 
 - 
getClientScopesStreampublic Stream<ClientScopeModel> getClientScopesStream() Description copied from interface:RealmModelReturns all client scopes of this realm as a stream.- Specified by:
- getClientScopesStreamin interface- RealmModel
- Returns:
- Stream of ClientScopeModel. Never returnsnull.
 
 - 
addClientScopepublic ClientScopeModel addClientScope(String name) Description copied from interface:RealmModelCreates new client scope with the given name. Internal ID is created automatically. If given name contains spaces, those are replaced by underscores.- Specified by:
- addClientScopein interface- RealmModel
- Parameters:
- name-- Stringname of the client scope.
- Returns:
- Model of the created client scope.
 
 - 
addClientScopepublic ClientScopeModel addClientScope(String id, String name) Description copied from interface:RealmModelCreates new client scope with the given internal ID and name. If given name contains spaces, those are replaced by underscores.- Specified by:
- addClientScopein interface- RealmModel
- Parameters:
- id-- Stringid of the client scope.
- name-- Stringname of the client scope.
- Returns:
- Model of the created client scope.
 
 - 
removeClientScopepublic boolean removeClientScope(String id) Description copied from interface:RealmModelRemoves client scope with givenidfrom this realm.- Specified by:
- removeClientScopein interface- RealmModel
- Parameters:
- id- of the client scope
- Returns:
- true if the realm contained the scope and the removal was successful, false otherwise
 
 - 
getClientScopeByIdpublic ClientScopeModel getClientScopeById(String id) - Specified by:
- getClientScopeByIdin interface- RealmModel
- Parameters:
- id- of the client scope
- Returns:
- Client scope with the given id, ornullwhen the scope does not exist.
 
 - 
addDefaultClientScopepublic void addDefaultClientScope(ClientScopeModel clientScope, boolean defaultScope) Description copied from interface:RealmModelAdds given client scope among default/optional client scopes of this realm. The scope will be assigned to each new client.- Specified by:
- addDefaultClientScopein interface- RealmModel
- Parameters:
- clientScope- to be added
- defaultScope- if- truethe scope will be added among default client scopes, if- falseit will be added among optional client scopes
 
 - 
removeDefaultClientScopepublic void removeDefaultClientScope(ClientScopeModel clientScope) Description copied from interface:RealmModelRemoves given client scope from default or optional client scopes of this realm.- Specified by:
- removeDefaultClientScopein interface- RealmModel
- Parameters:
- clientScope- to be removed
 
 - 
getDefaultClientScopesStreampublic Stream<ClientScopeModel> getDefaultClientScopesStream(boolean defaultScope) Description copied from interface:RealmModelReturns default client scopes of this realm either default ones or optional ones.- Specified by:
- getDefaultClientScopesStreamin interface- RealmModel
- Parameters:
- defaultScope- if- truedefault client scopes are returned, if- falseoptional client scopes are returned.
- Returns:
- Stream of ClientScopeModel. Never returnsnull.
 
 - 
createOrUpdateRealmLocalizationTextspublic void createOrUpdateRealmLocalizationTexts(String locale, Map<String,String> localizationTexts) Description copied from interface:RealmModelCreates or updates the realm-specific localization texts for the given locale. This method will not delete any text. It updates texts, which are already stored or create new ones if the key does not exist yet.- Specified by:
- createOrUpdateRealmLocalizationTextsin interface- RealmModel
 
 - 
removeRealmLocalizationTextspublic boolean removeRealmLocalizationTexts(String locale) - Specified by:
- removeRealmLocalizationTextsin interface- RealmModel
 
 - 
getRealmLocalizationTextspublic Map<String,Map<String,String>> getRealmLocalizationTexts() - Specified by:
- getRealmLocalizationTextsin interface- RealmModel
 
 - 
getRealmLocalizationTextsByLocalepublic Map<String,String> getRealmLocalizationTextsByLocale(String locale) - Specified by:
- getRealmLocalizationTextsByLocalein interface- RealmModel
 
 - 
getRolepublic RoleModel getRole(String name) - Specified by:
- getRolein interface- RoleContainerModel
 
 - 
addRolepublic RoleModel addRole(String name) - Specified by:
- addRolein interface- RoleContainerModel
 
 - 
addRolepublic RoleModel addRole(String id, String name) - Specified by:
- addRolein interface- RoleContainerModel
 
 - 
removeRolepublic boolean removeRole(RoleModel role) - Specified by:
- removeRolein interface- RoleContainerModel
 
 - 
getRolesStreampublic Stream<RoleModel> getRolesStream() Description copied from interface:RoleContainerModelReturns available roles as a stream.- Specified by:
- getRolesStreamin interface- RoleContainerModel
- Returns:
- Stream of RoleModel. Never returnsnull.
 
 - 
getRolesStreampublic Stream<RoleModel> getRolesStream(Integer firstResult, Integer maxResults) Description copied from interface:RoleContainerModelReturns available roles as a stream.- Specified by:
- getRolesStreamin interface- RoleContainerModel
- Parameters:
- firstResult-- IntegerIndex of the first desired role. Ignored if negative or- null.
- maxResults-- IntegerMaximum number of returned roles. Ignored if negative or- null.
- Returns:
- Stream of RoleModel. Never returnsnull.
 
 - 
searchForRolesStreampublic Stream<RoleModel> searchForRolesStream(String search, Integer first, Integer max) Description copied from interface:RoleContainerModelSearches roles by the given name. Returns all roles that match the given filter.- Specified by:
- searchForRolesStreamin interface- RoleContainerModel
- Parameters:
- search-- StringName of the role to be used as a filter.
- first-- IntegerIndex of the first desired role. Ignored if negative or- null.
- max-- IntegerMaximum number of returned roles. Ignored if negative or- null.
- Returns:
- Stream of RoleModel. Never returnsnull.
 
 - 
getDefaultRolesStream@Deprecated public Stream<String> getDefaultRolesStream() Deprecated.- Specified by:
- getDefaultRolesStreamin interface- RoleContainerModel
- Returns:
- Stream of default roles names or empty stream if there are none. Never returns null.
 
 - 
addDefaultRole@Deprecated public void addDefaultRole(String name) Deprecated.- Specified by:
- addDefaultRolein interface- RoleContainerModel
 
 - 
removeDefaultRoles@Deprecated public void removeDefaultRoles(String... defaultRoles) Deprecated.- Specified by:
- removeDefaultRolesin interface- RoleContainerModel
 
 - 
isBruteForceProtectedpublic boolean isBruteForceProtected() - Specified by:
- isBruteForceProtectedin interface- RealmModel
 
 - 
setBruteForceProtectedpublic void setBruteForceProtected(boolean value) - Specified by:
- setBruteForceProtectedin interface- RealmModel
 
 - 
isPermanentLockoutpublic boolean isPermanentLockout() - Specified by:
- isPermanentLockoutin interface- RealmModel
 
 - 
setPermanentLockoutpublic void setPermanentLockout(boolean val) - Specified by:
- setPermanentLockoutin interface- RealmModel
 
 - 
getMaxFailureWaitSecondspublic int getMaxFailureWaitSeconds() - Specified by:
- getMaxFailureWaitSecondsin interface- RealmModel
 
 - 
setMaxFailureWaitSecondspublic void setMaxFailureWaitSeconds(int val) - Specified by:
- setMaxFailureWaitSecondsin interface- RealmModel
 
 - 
getWaitIncrementSecondspublic int getWaitIncrementSeconds() - Specified by:
- getWaitIncrementSecondsin interface- RealmModel
 
 - 
setWaitIncrementSecondspublic void setWaitIncrementSeconds(int val) - Specified by:
- setWaitIncrementSecondsin interface- RealmModel
 
 - 
getMinimumQuickLoginWaitSecondspublic int getMinimumQuickLoginWaitSeconds() - Specified by:
- getMinimumQuickLoginWaitSecondsin interface- RealmModel
 
 - 
setMinimumQuickLoginWaitSecondspublic void setMinimumQuickLoginWaitSeconds(int val) - Specified by:
- setMinimumQuickLoginWaitSecondsin interface- RealmModel
 
 - 
getQuickLoginCheckMilliSecondspublic long getQuickLoginCheckMilliSeconds() - Specified by:
- getQuickLoginCheckMilliSecondsin interface- RealmModel
 
 - 
setQuickLoginCheckMilliSecondspublic void setQuickLoginCheckMilliSeconds(long val) - Specified by:
- setQuickLoginCheckMilliSecondsin interface- RealmModel
 
 - 
getMaxDeltaTimeSecondspublic int getMaxDeltaTimeSeconds() - Specified by:
- getMaxDeltaTimeSecondsin interface- RealmModel
 
 - 
setMaxDeltaTimeSecondspublic void setMaxDeltaTimeSeconds(int val) - Specified by:
- setMaxDeltaTimeSecondsin interface- RealmModel
 
 - 
getFailureFactorpublic int getFailureFactor() - Specified by:
- getFailureFactorin interface- RealmModel
 
 - 
setFailureFactorpublic void setFailureFactor(int failureFactor) - Specified by:
- setFailureFactorin interface- RealmModel
 
 - 
getDefaultSignatureAlgorithmpublic String getDefaultSignatureAlgorithm() - Specified by:
- getDefaultSignatureAlgorithmin interface- RealmModel
 
 - 
setDefaultSignatureAlgorithmpublic void setDefaultSignatureAlgorithm(String defaultSignatureAlgorithm) - Specified by:
- setDefaultSignatureAlgorithmin interface- RealmModel
 
 - 
isOfflineSessionMaxLifespanEnabledpublic boolean isOfflineSessionMaxLifespanEnabled() - Specified by:
- isOfflineSessionMaxLifespanEnabledin interface- RealmModel
 
 - 
setOfflineSessionMaxLifespanEnabledpublic void setOfflineSessionMaxLifespanEnabled(boolean offlineSessionMaxLifespanEnabled) - Specified by:
- setOfflineSessionMaxLifespanEnabledin interface- RealmModel
 
 - 
getOfflineSessionMaxLifespanpublic int getOfflineSessionMaxLifespan() - Specified by:
- getOfflineSessionMaxLifespanin interface- RealmModel
 
 - 
setOfflineSessionMaxLifespanpublic void setOfflineSessionMaxLifespan(int seconds) - Specified by:
- setOfflineSessionMaxLifespanin interface- RealmModel
 
 - 
getWebAuthnPolicypublic WebAuthnPolicy getWebAuthnPolicy() - Specified by:
- getWebAuthnPolicyin interface- RealmModel
- Returns:
- WebAuthn policy for 2-factor authentication
 
 - 
setWebAuthnPolicypublic void setWebAuthnPolicy(WebAuthnPolicy policy) Description copied from interface:RealmModelSet WebAuthn policy for 2-factor authentication- Specified by:
- setWebAuthnPolicyin interface- RealmModel
 
 - 
getWebAuthnPolicyPasswordlesspublic WebAuthnPolicy getWebAuthnPolicyPasswordless() - Specified by:
- getWebAuthnPolicyPasswordlessin interface- RealmModel
- Returns:
- WebAuthn passwordless policy below. This is temporary and will be removed later.
 
 - 
setWebAuthnPolicyPasswordlesspublic void setWebAuthnPolicyPasswordless(WebAuthnPolicy policy) Description copied from interface:RealmModelSet WebAuthn passwordless policy below. This is temporary and will be removed later.- Specified by:
- setWebAuthnPolicyPasswordlessin interface- RealmModel
 
 - 
getBrowserSecurityHeaderspublic Map<String,String> getBrowserSecurityHeaders() - Specified by:
- getBrowserSecurityHeadersin interface- RealmModel
 
 - 
setBrowserSecurityHeaderspublic void setBrowserSecurityHeaders(Map<String,String> headers) - Specified by:
- setBrowserSecurityHeadersin interface- RealmModel
 
 - 
createClientInitialAccessModelpublic ClientInitialAccessModel createClientInitialAccessModel(int expiration, int count) - Specified by:
- createClientInitialAccessModelin interface- RealmModel
 
 - 
getClientInitialAccessModelpublic ClientInitialAccessModel getClientInitialAccessModel(String id) - Specified by:
- getClientInitialAccessModelin interface- RealmModel
 
 - 
removeClientInitialAccessModelpublic void removeClientInitialAccessModel(String id) - Specified by:
- removeClientInitialAccessModelin interface- RealmModel
 
 - 
getClientInitialAccessespublic Stream<ClientInitialAccessModel> getClientInitialAccesses() - Specified by:
- getClientInitialAccessesin interface- RealmModel
 
 - 
decreaseRemainingCountpublic void decreaseRemainingCount(ClientInitialAccessModel model) - Specified by:
- decreaseRemainingCountin interface- RealmModel
 
 - 
getOAuth2DeviceConfigpublic OAuth2DeviceConfig getOAuth2DeviceConfig() - Specified by:
- getOAuth2DeviceConfigin interface- RealmModel
 
 - 
getCibaPolicypublic CibaConfig getCibaPolicy() - Specified by:
- getCibaPolicyin interface- RealmModel
 
 - 
getParPolicypublic ParConfig getParPolicy() - Specified by:
- getParPolicyin interface- RealmModel
 
 
- 
 
-