public abstract class AbstractReadOnlyClientStorageAdapter extends AbstractClientStorageAdapter
ClientModel.ClientCreationEvent, ClientModel.ClientProtocolUpdatedEvent, ClientModel.ClientRemovedEvent, ClientModel.ClientUpdatedEvent, ClientModel.SearchableFields
ClientScopeModel.ClientScopeRemovedEvent
OrderedModel.OrderedModelComparator<OM extends OrderedModel>
RoleContainerModel.RoleRemovedEvent
component, realm, session
PRIVATE_KEY, PUBLIC_KEY, X509CERTIFICATE
CONSENT_SCREEN_TEXT, DISPLAY_ON_CONSENT_SCREEN, GUI_ORDER, INCLUDE_IN_TOKEN_SCOPE
Constructor and Description |
---|
AbstractReadOnlyClientStorageAdapter(KeycloakSession session,
RealmModel realm,
ClientStorageProviderModel component) |
Modifier and Type | Method and Description |
---|---|
void |
addClientScope(ClientScopeModel clientScope,
boolean defaultScope)
Add clientScope with this client.
|
void |
addClientScopes(Set<ClientScopeModel> clientScopes,
boolean defaultScope)
Add clientScopes with this client.
|
ProtocolMapperModel |
addProtocolMapper(ProtocolMapperModel model) |
void |
addRedirectUri(String redirectUri) |
void |
addScopeMapping(RoleModel role) |
void |
addWebOrigin(String webOrigin) |
void |
deleteScopeMapping(RoleModel role) |
void |
removeAttribute(String name) |
void |
removeAuthenticationFlowBindingOverride(String binding) |
void |
removeClientScope(ClientScopeModel clientScope) |
void |
removeProtocolMapper(ProtocolMapperModel mapping) |
void |
removeRedirectUri(String redirectUri) |
void |
removeWebOrigin(String webOrigin) |
void |
setAlwaysDisplayInConsole(boolean alwaysDisplayInConsole) |
void |
setAttribute(String name,
String value) |
void |
setAuthenticationFlowBindingOverride(String binding,
String flowId) |
void |
setBaseUrl(String url) |
void |
setBearerOnly(boolean only) |
void |
setClientAuthenticatorType(String clientAuthenticatorType) |
void |
setClientId(String clientId) |
void |
setConsentRequired(boolean consentRequired) |
void |
setDescription(String description) |
void |
setDirectAccessGrantsEnabled(boolean directAccessGrantsEnabled) |
void |
setEnabled(boolean enabled) |
void |
setFrontchannelLogout(boolean flag) |
void |
setFullScopeAllowed(boolean value) |
void |
setImplicitFlowEnabled(boolean implicitFlowEnabled) |
void |
setManagementUrl(String url) |
void |
setName(String name) |
void |
setNodeReRegistrationTimeout(int timeout) |
void |
setNotBefore(int notBefore) |
void |
setProtocol(String protocol) |
void |
setPublicClient(boolean flag) |
void |
setRedirectUris(Set<String> redirectUris) |
void |
setRegistrationToken(String registrationToken) |
void |
setRootUrl(String url) |
void |
setSecret(String secret) |
void |
setServiceAccountsEnabled(boolean serviceAccountsEnabled) |
void |
setStandardFlowEnabled(boolean standardFlowEnabled) |
void |
setWebOrigins(Set<String> webOrigins) |
void |
updateProtocolMapper(ProtocolMapperModel mapping) |
getId, getRealm, getRegisteredNodes, isSurrogateAuthRequired, registerNode, setSurrogateAuthRequired, unregisterNode, updateClient
addDefaultRole, addRole, addRole, getDefaultRolesStream, getRole, getRolesStream, getRolesStream, removeDefaultRoles, removeRole, searchForRolesStream, updateDefaultRoles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributes, getAuthenticationFlowBindingOverride, getAuthenticationFlowBindingOverrides, getBaseUrl, getClientAuthenticatorType, getClientId, getClientScopes, getConsentScreenText, getDescription, getDynamicClientScope, getManagementUrl, getName, getNodeReRegistrationTimeout, getNotBefore, getProtocol, getRedirectUris, getRegistrationToken, getRootUrl, getSecret, getWebOrigins, isAlwaysDisplayInConsole, isBearerOnly, isConsentRequired, isDirectAccessGrantsEnabled, isDisplayOnConsentScreen, isEnabled, isFrontchannelLogout, isFullScopeAllowed, isImplicitFlowEnabled, isPublicClient, isServiceAccountsEnabled, isStandardFlowEnabled, validateSecret
getGuiOrder, isIncludeInTokenScope, setConsentScreenText, setDisplayOnConsentScreen, setGuiOrder, setIncludeInTokenScope
getProtocolMapperById, getProtocolMapperByName, getProtocolMappers, getProtocolMappersStream
getRealmScopeMappings, getRealmScopeMappingsStream, getScopeMappings, getScopeMappingsStream, hasScope
getDefaultRoles, getRoles, getRoles, searchForRoles
public AbstractReadOnlyClientStorageAdapter(KeycloakSession session, RealmModel realm, ClientStorageProviderModel component)
public void setClientId(String clientId)
public void setName(String name)
public void setDescription(String description)
public void setEnabled(boolean enabled)
public void setAlwaysDisplayInConsole(boolean alwaysDisplayInConsole)
public void addWebOrigin(String webOrigin)
public void removeWebOrigin(String webOrigin)
public void addRedirectUri(String redirectUri)
public void removeRedirectUri(String redirectUri)
public void setManagementUrl(String url)
public void setRootUrl(String url)
public void setBaseUrl(String url)
public void setBearerOnly(boolean only)
public void setNodeReRegistrationTimeout(int timeout)
public void setClientAuthenticatorType(String clientAuthenticatorType)
public void setSecret(String secret)
public void setRegistrationToken(String registrationToken)
public void setProtocol(String protocol)
public void removeAttribute(String name)
public void removeAuthenticationFlowBindingOverride(String binding)
public void setAuthenticationFlowBindingOverride(String binding, String flowId)
public void setFrontchannelLogout(boolean flag)
public void setPublicClient(boolean flag)
public void setConsentRequired(boolean consentRequired)
public void setStandardFlowEnabled(boolean standardFlowEnabled)
public void setImplicitFlowEnabled(boolean implicitFlowEnabled)
public void setDirectAccessGrantsEnabled(boolean directAccessGrantsEnabled)
public void setServiceAccountsEnabled(boolean serviceAccountsEnabled)
public void addClientScope(ClientScopeModel clientScope, boolean defaultScope)
ClientModel
public void addClientScopes(Set<ClientScopeModel> clientScopes, boolean defaultScope)
ClientModel
public void removeClientScope(ClientScopeModel clientScope)
public void setNotBefore(int notBefore)
public ProtocolMapperModel addProtocolMapper(ProtocolMapperModel model)
public void removeProtocolMapper(ProtocolMapperModel mapping)
public void updateProtocolMapper(ProtocolMapperModel mapping)
public void setFullScopeAllowed(boolean value)
public void addScopeMapping(RoleModel role)
public void deleteScopeMapping(RoleModel role)
Copyright © 2021 JBoss by Red Hat. All rights reserved.