public interface RealmModel extends RoleContainerModel
Modifier and Type | Interface and Description |
---|---|
static interface |
RealmModel.ClientCreationEvent |
static interface |
RealmModel.ClientRemovedEvent |
static interface |
RealmModel.ClientUpdatedEvent |
static interface |
RealmModel.IdentityProviderRemovedEvent |
static interface |
RealmModel.IdentityProviderUpdatedEvent |
static interface |
RealmModel.RealmCreationEvent |
static interface |
RealmModel.RealmPostCreateEvent |
static interface |
RealmModel.RealmRemovedEvent |
RoleContainerModel.RoleRemovedEvent
addDefaultRole, addRole, addRole, getDefaultRoles, getRole, getRoles, removeDefaultRoles, removeRole, updateDefaultRoles
String getId()
getId
in interface RoleContainerModel
String getName()
void setName(String name)
String getDisplayName()
void setDisplayName(String displayName)
String getDisplayNameHtml()
void setDisplayNameHtml(String displayNameHtml)
boolean isEnabled()
void setEnabled(boolean enabled)
SslRequired getSslRequired()
void setSslRequired(SslRequired sslRequired)
boolean isRegistrationAllowed()
void setRegistrationAllowed(boolean registrationAllowed)
boolean isRegistrationEmailAsUsername()
void setRegistrationEmailAsUsername(boolean registrationEmailAsUsername)
boolean isRememberMe()
void setRememberMe(boolean rememberMe)
boolean isEditUsernameAllowed()
void setEditUsernameAllowed(boolean editUsernameAllowed)
boolean isUserManagedAccessAllowed()
void setUserManagedAccessAllowed(boolean userManagedAccessAllowed)
void removeAttribute(String name)
boolean isBruteForceProtected()
void setBruteForceProtected(boolean value)
boolean isPermanentLockout()
void setPermanentLockout(boolean val)
int getMaxFailureWaitSeconds()
void setMaxFailureWaitSeconds(int val)
int getWaitIncrementSeconds()
void setWaitIncrementSeconds(int val)
int getMinimumQuickLoginWaitSeconds()
void setMinimumQuickLoginWaitSeconds(int val)
long getQuickLoginCheckMilliSeconds()
void setQuickLoginCheckMilliSeconds(long val)
int getMaxDeltaTimeSeconds()
void setMaxDeltaTimeSeconds(int val)
int getFailureFactor()
void setFailureFactor(int failureFactor)
boolean isVerifyEmail()
void setVerifyEmail(boolean verifyEmail)
boolean isLoginWithEmailAllowed()
void setLoginWithEmailAllowed(boolean loginWithEmailAllowed)
boolean isDuplicateEmailsAllowed()
void setDuplicateEmailsAllowed(boolean duplicateEmailsAllowed)
boolean isResetPasswordAllowed()
void setResetPasswordAllowed(boolean resetPasswordAllowed)
boolean isRevokeRefreshToken()
void setRevokeRefreshToken(boolean revokeRefreshToken)
int getRefreshTokenMaxReuse()
void setRefreshTokenMaxReuse(int revokeRefreshTokenCount)
int getSsoSessionIdleTimeout()
void setSsoSessionIdleTimeout(int seconds)
int getSsoSessionMaxLifespan()
void setSsoSessionMaxLifespan(int seconds)
int getOfflineSessionIdleTimeout()
void setOfflineSessionIdleTimeout(int seconds)
int getAccessTokenLifespan()
boolean isOfflineSessionMaxLifespanEnabled()
void setOfflineSessionMaxLifespanEnabled(boolean offlineSessionMaxLifespanEnabled)
int getOfflineSessionMaxLifespan()
void setOfflineSessionMaxLifespan(int seconds)
void setAccessTokenLifespan(int seconds)
int getAccessTokenLifespanForImplicitFlow()
void setAccessTokenLifespanForImplicitFlow(int seconds)
int getAccessCodeLifespan()
void setAccessCodeLifespan(int seconds)
int getAccessCodeLifespanUserAction()
void setAccessCodeLifespanUserAction(int seconds)
Map<String,Integer> getUserActionTokenLifespans()
int getAccessCodeLifespanLogin()
void setAccessCodeLifespanLogin(int seconds)
int getActionTokenGeneratedByAdminLifespan()
void setActionTokenGeneratedByAdminLifespan(int seconds)
int getActionTokenGeneratedByUserLifespan()
void setActionTokenGeneratedByUserLifespan(int seconds)
int getActionTokenGeneratedByUserLifespan(String actionTokenType)
void setActionTokenGeneratedByUserLifespan(String actionTokenType, Integer seconds)
List<RequiredCredentialModel> getRequiredCredentials()
void addRequiredCredential(String cred)
PasswordPolicy getPasswordPolicy()
void setPasswordPolicy(PasswordPolicy policy)
OTPPolicy getOTPPolicy()
void setOTPPolicy(OTPPolicy policy)
List<GroupModel> getDefaultGroups()
void addDefaultGroup(GroupModel group)
void removeDefaultGroup(GroupModel group)
List<ClientModel> getClients()
ClientModel addClient(String name)
ClientModel addClient(String id, String clientId)
boolean removeClient(String id)
ClientModel getClientById(String id)
ClientModel getClientByClientId(String clientId)
AuthenticationFlowModel getBrowserFlow()
void setBrowserFlow(AuthenticationFlowModel flow)
AuthenticationFlowModel getRegistrationFlow()
void setRegistrationFlow(AuthenticationFlowModel flow)
AuthenticationFlowModel getDirectGrantFlow()
void setDirectGrantFlow(AuthenticationFlowModel flow)
AuthenticationFlowModel getResetCredentialsFlow()
void setResetCredentialsFlow(AuthenticationFlowModel flow)
AuthenticationFlowModel getClientAuthenticationFlow()
void setClientAuthenticationFlow(AuthenticationFlowModel flow)
AuthenticationFlowModel getDockerAuthenticationFlow()
void setDockerAuthenticationFlow(AuthenticationFlowModel flow)
List<AuthenticationFlowModel> getAuthenticationFlows()
AuthenticationFlowModel getFlowByAlias(String alias)
AuthenticationFlowModel addAuthenticationFlow(AuthenticationFlowModel model)
AuthenticationFlowModel getAuthenticationFlowById(String id)
void removeAuthenticationFlow(AuthenticationFlowModel model)
void updateAuthenticationFlow(AuthenticationFlowModel model)
List<AuthenticationExecutionModel> getAuthenticationExecutions(String flowId)
AuthenticationExecutionModel getAuthenticationExecutionById(String id)
AuthenticationExecutionModel addAuthenticatorExecution(AuthenticationExecutionModel model)
void updateAuthenticatorExecution(AuthenticationExecutionModel model)
void removeAuthenticatorExecution(AuthenticationExecutionModel model)
List<AuthenticatorConfigModel> getAuthenticatorConfigs()
AuthenticatorConfigModel addAuthenticatorConfig(AuthenticatorConfigModel model)
void updateAuthenticatorConfig(AuthenticatorConfigModel model)
void removeAuthenticatorConfig(AuthenticatorConfigModel model)
AuthenticatorConfigModel getAuthenticatorConfigById(String id)
AuthenticatorConfigModel getAuthenticatorConfigByAlias(String alias)
List<RequiredActionProviderModel> getRequiredActionProviders()
RequiredActionProviderModel addRequiredActionProvider(RequiredActionProviderModel model)
void updateRequiredActionProvider(RequiredActionProviderModel model)
void removeRequiredActionProvider(RequiredActionProviderModel model)
RequiredActionProviderModel getRequiredActionProviderById(String id)
RequiredActionProviderModel getRequiredActionProviderByAlias(String alias)
List<IdentityProviderModel> getIdentityProviders()
IdentityProviderModel getIdentityProviderByAlias(String alias)
void addIdentityProvider(IdentityProviderModel identityProvider)
void removeIdentityProviderByAlias(String alias)
void updateIdentityProvider(IdentityProviderModel identityProvider)
Set<IdentityProviderMapperModel> getIdentityProviderMappers()
Set<IdentityProviderMapperModel> getIdentityProviderMappersByAlias(String brokerAlias)
IdentityProviderMapperModel addIdentityProviderMapper(IdentityProviderMapperModel model)
void removeIdentityProviderMapper(IdentityProviderMapperModel mapping)
void updateIdentityProviderMapper(IdentityProviderMapperModel mapping)
IdentityProviderMapperModel getIdentityProviderMapperById(String id)
IdentityProviderMapperModel getIdentityProviderMapperByName(String brokerAlias, String name)
ComponentModel addComponentModel(ComponentModel model)
model
- ComponentModel importComponentModel(ComponentModel model)
model
- void updateComponent(ComponentModel component)
void removeComponent(ComponentModel component)
void removeComponents(String parentId)
List<ComponentModel> getComponents(String parentId, String providerType)
List<ComponentModel> getComponents(String parentId)
List<ComponentModel> getComponents()
ComponentModel getComponent(String id)
default List<UserStorageProviderModel> getUserStorageProviders()
default List<ClientStorageProviderModel> getClientStorageProviders()
String getLoginTheme()
void setLoginTheme(String name)
String getAccountTheme()
void setAccountTheme(String name)
String getAdminTheme()
void setAdminTheme(String name)
String getEmailTheme()
void setEmailTheme(String name)
int getNotBefore()
void setNotBefore(int notBefore)
boolean isEventsEnabled()
void setEventsEnabled(boolean enabled)
long getEventsExpiration()
void setEventsExpiration(long expiration)
boolean isAdminEventsEnabled()
void setAdminEventsEnabled(boolean enabled)
boolean isAdminEventsDetailsEnabled()
void setAdminEventsDetailsEnabled(boolean enabled)
ClientModel getMasterAdminClient()
void setMasterAdminClient(ClientModel client)
boolean isIdentityFederationEnabled()
boolean isInternationalizationEnabled()
void setInternationalizationEnabled(boolean enabled)
String getDefaultLocale()
void setDefaultLocale(String locale)
GroupModel createGroup(String name)
GroupModel createGroup(String id, String name)
GroupModel getGroupById(String id)
List<GroupModel> getGroups()
List<GroupModel> getTopLevelGroups()
List<GroupModel> getTopLevelGroups(Integer first, Integer max)
List<GroupModel> searchForGroupByName(String search, Integer first, Integer max)
boolean removeGroup(GroupModel group)
void moveGroup(GroupModel group, GroupModel toParent)
List<ClientScopeModel> getClientScopes()
ClientScopeModel addClientScope(String name)
ClientScopeModel addClientScope(String id, String name)
boolean removeClientScope(String id)
ClientScopeModel getClientScopeById(String id)
void addDefaultClientScope(ClientScopeModel clientScope, boolean defaultScope)
void removeDefaultClientScope(ClientScopeModel clientScope)
List<ClientScopeModel> getDefaultClientScopes(boolean defaultScope)
Copyright © 2018 JBoss by Red Hat. All rights reserved.