public abstract class AbstractClientStorageAdapter extends UnsupportedOperationsClientStorageAdapter
OrderedModel.OrderedModelComparator<OM extends OrderedModel>
RoleContainerModel.RoleRemovedEvent
Modifier and Type | Field and Description |
---|---|
protected ClientStorageProviderModel |
component |
protected RealmModel |
realm |
protected KeycloakSession |
session |
PRIVATE_KEY, PUBLIC_KEY, X509CERTIFICATE
CONSENT_SCREEN_TEXT, DISPLAY_ON_CONSENT_SCREEN, GUI_ORDER, INCLUDE_IN_TOKEN_SCOPE
Constructor and Description |
---|
AbstractClientStorageAdapter(KeycloakSession session,
RealmModel realm,
ClientStorageProviderModel component) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Creates federated id based on getClientId() method
|
RealmModel |
getRealm() |
Map<String,Integer> |
getRegisteredNodes()
This is for logout.
|
boolean |
isSurrogateAuthRequired()
This method really isn't used by anybody anywhere.
|
void |
registerNode(String nodeHost,
int registrationTime)
This is for logout.
|
void |
setSurrogateAuthRequired(boolean surrogateAuthRequired)
This method really isn't used by anybody anywhere.
|
void |
unregisterNode(String nodeHost)
This is for logout.
|
void |
updateClient()
Overriding implementations should call super.updateClient() as this fires off an update event.
|
addDefaultRole, addRole, addRole, getDefaultRoles, getRole, getRoles, getRoles, removeDefaultRoles, removeRole, searchForRoles, updateDefaultRoles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientScope, addClientScopes, addRedirectUri, addWebOrigin, 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, removeAttribute, removeAuthenticationFlowBindingOverride, removeClientScope, removeRedirectUri, removeWebOrigin, setAlwaysDisplayInConsole, setAttribute, setAuthenticationFlowBindingOverride, setBaseUrl, setBearerOnly, setClientAuthenticatorType, setClientId, setConsentRequired, setDescription, setDirectAccessGrantsEnabled, setEnabled, setFrontchannelLogout, setFullScopeAllowed, setImplicitFlowEnabled, setManagementUrl, setName, setNodeReRegistrationTimeout, setNotBefore, setProtocol, setPublicClient, setRedirectUris, setRegistrationToken, setRootUrl, setSecret, setServiceAccountsEnabled, setStandardFlowEnabled, setWebOrigins, validateSecret
getGuiOrder, isIncludeInTokenScope, setConsentScreenText, setDisplayOnConsentScreen, setGuiOrder, setIncludeInTokenScope
addProtocolMapper, getProtocolMapperById, getProtocolMapperByName, getProtocolMappers, removeProtocolMapper, updateProtocolMapper
addScopeMapping, deleteScopeMapping, getRealmScopeMappings, getScopeMappings, getScopeMappingsStream, hasScope
protected KeycloakSession session
protected RealmModel realm
protected ClientStorageProviderModel component
public AbstractClientStorageAdapter(KeycloakSession session, RealmModel realm, ClientStorageProviderModel component)
public String getId()
public final RealmModel getRealm()
public boolean isSurrogateAuthRequired()
public void setSurrogateAuthRequired(boolean surrogateAuthRequired)
public Map<String,Integer> getRegisteredNodes()
public void registerNode(String nodeHost, int registrationTime)
public void unregisterNode(String nodeHost)
public void updateClient()
Copyright © 2020 JBoss by Red Hat. All rights reserved.