Package org.keycloak.models.map.client
Class AbstractClientModel<E extends AbstractEntity>
java.lang.Object
org.keycloak.models.map.client.AbstractClientModel<E>
- All Implemented Interfaces:
ClientModel,ClientScopeModel,OrderedModel,ProtocolMapperContainerModel,RoleContainerModel,ScopeContainerModel
- Direct Known Subclasses:
MapClientAdapter
public abstract class AbstractClientModel<E extends AbstractEntity>
extends Object
implements ClientModel
- Author:
- hmlnarik
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.ClientModel
ClientModel.ClientCreationEvent, ClientModel.ClientIdChangeEvent, ClientModel.ClientProtocolUpdatedEvent, ClientModel.ClientRemovedEvent, ClientModel.ClientUpdatedEvent, ClientModel.SearchableFieldsNested classes/interfaces inherited from interface org.keycloak.models.ClientScopeModel
ClientScopeModel.ClientScopeRemovedEventNested classes/interfaces inherited from interface org.keycloak.models.OrderedModel
OrderedModel.OrderedModelComparator<OM extends OrderedModel>Nested classes/interfaces inherited from interface org.keycloak.models.RoleContainerModel
RoleContainerModel.RoleRemovedEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Eprotected final RealmModelprotected final KeycloakSessionFields inherited from interface org.keycloak.models.ClientModel
LOGO_URI, POLICY_URI, PRIVATE_KEY, PUBLIC_KEY, TOS_URI, X509CERTIFICATEFields inherited from interface org.keycloak.models.ClientScopeModel
CONSENT_SCREEN_TEXT, DISPLAY_ON_CONSENT_SCREEN, DYNAMIC_SCOPE_REGEXP, GUI_ORDER, INCLUDE_IN_TOKEN_SCOPE, IS_DYNAMIC_SCOPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClientScope(ClientScopeModel clientScope, boolean defaultScope) voidaddClientScopes(Set<ClientScopeModel> clientScopes, boolean defaultScope) booleangetClientScopes(boolean defaultScope) getRolesStream(Integer firstResult, Integer maxResults) inthashCode()voidremoveClientScope(ClientScopeModel clientScope) booleanremoveRole(RoleModel role) searchForRolesStream(String search, Integer first, Integer max) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.ClientModel
addRedirectUri, addWebOrigin, getAttribute, getAttributes, getAuthenticationFlowBindingOverride, getAuthenticationFlowBindingOverrides, getBaseUrl, getClientAuthenticatorType, getClientId, getConsentScreenText, getDescription, getDynamicClientScope, getId, getManagementUrl, getName, getNodeReRegistrationTimeout, getNotBefore, getProtocol, getRealm, getRedirectUris, getRegisteredNodes, getRegistrationToken, getRootUrl, getSecret, getWebOrigins, hasDirectScope, isAlwaysDisplayInConsole, isBearerOnly, isConsentRequired, isDirectAccessGrantsEnabled, isDisplayOnConsentScreen, isEnabled, isFrontchannelLogout, isFullScopeAllowed, isImplicitFlowEnabled, isPublicClient, isServiceAccountsEnabled, isStandardFlowEnabled, isSurrogateAuthRequired, registerNode, removeAttribute, removeAuthenticationFlowBindingOverride, 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, setSurrogateAuthRequired, setWebOrigins, unregisterNode, updateClient, validateSecretMethods inherited from interface org.keycloak.models.ClientScopeModel
getDynamicScopeRegexp, getGuiOrder, isDynamicScope, isIncludeInTokenScope, setConsentScreenText, setDisplayOnConsentScreen, setGuiOrder, setIncludeInTokenScope, setIsDynamicScopeMethods inherited from interface org.keycloak.models.ProtocolMapperContainerModel
addProtocolMapper, getProtocolMapperById, getProtocolMapperByName, getProtocolMappersStream, removeProtocolMapper, updateProtocolMapperMethods inherited from interface org.keycloak.models.ScopeContainerModel
addScopeMapping, deleteScopeMapping, getScopeMappingsStream, hasScope
-
Field Details
-
session
-
realm
-
entity
-
-
Constructor Details
-
AbstractClientModel
-
-
Method Details
-
addClientScopes
- Specified by:
addClientScopesin interfaceClientModel
-
addClientScope
- Specified by:
addClientScopein interfaceClientModel
-
removeClientScope
- Specified by:
removeClientScopein interfaceClientModel
-
getClientScopes
- Specified by:
getClientScopesin interfaceClientModel
-
getRealmScopeMappingsStream
- Specified by:
getRealmScopeMappingsStreamin interfaceScopeContainerModel
-
getRole
- Specified by:
getRolein interfaceRoleContainerModel
-
addRole
- Specified by:
addRolein interfaceRoleContainerModel
-
addRole
- Specified by:
addRolein interfaceRoleContainerModel
-
removeRole
- Specified by:
removeRolein interfaceRoleContainerModel
-
getRolesStream
- Specified by:
getRolesStreamin interfaceRoleContainerModel
-
getRolesStream
- Specified by:
getRolesStreamin interfaceRoleContainerModel
-
searchForRolesStream
- Specified by:
searchForRolesStreamin interfaceRoleContainerModel
-
equals
-
hashCode
public int hashCode()
-