Class TypeAwareClientModelDelegate
java.lang.Object
org.keycloak.models.delegate.ClientModelLazyDelegate
org.keycloak.services.clienttype.client.TypeAwareClientModelDelegate
- All Implemented Interfaces:
ClientModel,ClientScopeModel,OrderedModel,ProtocolMapperContainerModel,RoleContainerModel,ScopeContainerModel
Delegates to client-type and underlying delegate
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.models.delegate.ClientModelLazyDelegate
ClientModelLazyDelegate.WithIdNested classes/interfaces inherited from interface org.keycloak.models.ClientModel
ClientModel.ClientCreationEvent, ClientModel.ClientIdChangeEvent, ClientModel.ClientProtocolUpdatedEvent, ClientModel.ClientRemovedEvent, ClientModel.ClientUpdatedEventNested classes/interfaces inherited from interface org.keycloak.models.ClientScopeModel
ClientScopeModel.ClientScopeCreatedEvent, 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
Fields inherited from interface org.keycloak.models.ClientModel
LOGO_URI, POLICY_URI, PRIVATE_KEY, PUBLIC_KEY, TOS_URI, TYPE, X509CERTIFICATEFields inherited from interface org.keycloak.models.ClientScopeModel
CONSENT_SCREEN_TEXT, DISPLAY_ON_CONSENT_SCREEN, DYNAMIC_SCOPE_REGEXP, GUI_ORDER, INCLUDE_IN_OPENID_PROVIDER_METADATA, INCLUDE_IN_TOKEN_SCOPE, IS_DYNAMIC_SCOPE, VALUE_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionTypeAwareClientModelDelegate(ClientType clientType, Supplier<ClientModel> clientModelSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRedirectUri(String redirectUri) voidaddWebOrigin(String webOrigin) getAttribute(String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremoveAttribute(String name) voidremoveRedirectUri(String redirectUri) voidremoveWebOrigin(String webOrigin) voidsetAlwaysDisplayInConsole(boolean alwaysDisplayInConsole) voidsetAttribute(String name, String value) voidsetBearerOnly(boolean bearerOnly) voidsetConsentRequired(boolean consentRequired) voidsetDirectAccessGrantsEnabled(boolean directAccessGrantsEnabled) voidsetFrontchannelLogout(boolean frontchannelLogout) voidsetImplicitFlowEnabled(boolean implicitFlowEnabled) voidsetProtocol(String protocol) voidsetPublicClient(boolean flag) voidsetRedirectUris(Set<String> redirectUris) voidsetServiceAccountsEnabled(boolean flag) voidsetStandardFlowEnabled(boolean standardFlowEnabled) voidsetWebOrigins(Set<String> webOrigins) Methods inherited from class org.keycloak.models.delegate.ClientModelLazyDelegate
addClientScope, addClientScopes, addProtocolMapper, addRole, addRole, addScopeMapping, deleteScopeMapping, getAuthenticationFlowBindingOverride, getAuthenticationFlowBindingOverrides, getBaseUrl, getClientAuthenticatorType, getClientId, getClientScopes, getConsentScreenText, getDescription, getDynamicClientScope, getDynamicScopeRegexp, getGuiOrder, getId, getManagementUrl, getName, getNodeReRegistrationTimeout, getNotBefore, getProtocolMapperById, getProtocolMapperByName, getProtocolMapperByType, getProtocolMappersStream, getRealm, getRealmScopeMappingsStream, getRegisteredNodes, getRegistrationToken, getRole, getRolesStream, getRolesStream, getRootUrl, getScopeMappingsStream, getSecret, hasDirectScope, hasScope, isDisplayOnConsentScreen, isDynamicScope, isEnabled, isFullScopeAllowed, isIncludeInOpenIDProviderMetadata, isIncludeInTokenScope, isSurrogateAuthRequired, registerNode, removeAuthenticationFlowBindingOverride, removeClientScope, removeProtocolMapper, removeRole, searchForRolesStream, setAuthenticationFlowBindingOverride, setBaseUrl, setClientAuthenticatorType, setClientId, setConsentScreenText, setDescription, setDisplayOnConsentScreen, setEnabled, setFullScopeAllowed, setGuiOrder, setIncludeInOpenIDProviderMetadata, setIncludeInTokenScope, setIsDynamicScope, setManagementUrl, setName, setNodeReRegistrationTimeout, setNotBefore, setRegistrationToken, setRootUrl, setSecret, setSurrogateAuthRequired, unregisterNode, updateClient, updateProtocolMapper, validateSecretMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.ClientModel
getType, setType
-
Constructor Details
-
TypeAwareClientModelDelegate
public TypeAwareClientModelDelegate(ClientType clientType, Supplier<ClientModel> clientModelSupplier)
-
-
Method Details
-
isStandardFlowEnabled
public boolean isStandardFlowEnabled()- Specified by:
isStandardFlowEnabledin interfaceClientModel- Overrides:
isStandardFlowEnabledin classClientModelLazyDelegate
-
setStandardFlowEnabled
public void setStandardFlowEnabled(boolean standardFlowEnabled) - Specified by:
setStandardFlowEnabledin interfaceClientModel- Overrides:
setStandardFlowEnabledin classClientModelLazyDelegate
-
isBearerOnly
public boolean isBearerOnly()- Specified by:
isBearerOnlyin interfaceClientModel- Overrides:
isBearerOnlyin classClientModelLazyDelegate
-
setBearerOnly
public void setBearerOnly(boolean bearerOnly) - Specified by:
setBearerOnlyin interfaceClientModel- Overrides:
setBearerOnlyin classClientModelLazyDelegate
-
isConsentRequired
public boolean isConsentRequired()- Specified by:
isConsentRequiredin interfaceClientModel- Overrides:
isConsentRequiredin classClientModelLazyDelegate
-
setConsentRequired
public void setConsentRequired(boolean consentRequired) - Specified by:
setConsentRequiredin interfaceClientModel- Overrides:
setConsentRequiredin classClientModelLazyDelegate
-
isDirectAccessGrantsEnabled
public boolean isDirectAccessGrantsEnabled()- Specified by:
isDirectAccessGrantsEnabledin interfaceClientModel- Overrides:
isDirectAccessGrantsEnabledin classClientModelLazyDelegate
-
setDirectAccessGrantsEnabled
public void setDirectAccessGrantsEnabled(boolean directAccessGrantsEnabled) - Specified by:
setDirectAccessGrantsEnabledin interfaceClientModel- Overrides:
setDirectAccessGrantsEnabledin classClientModelLazyDelegate
-
isAlwaysDisplayInConsole
public boolean isAlwaysDisplayInConsole()- Specified by:
isAlwaysDisplayInConsolein interfaceClientModel- Overrides:
isAlwaysDisplayInConsolein classClientModelLazyDelegate
-
setAlwaysDisplayInConsole
public void setAlwaysDisplayInConsole(boolean alwaysDisplayInConsole) - Specified by:
setAlwaysDisplayInConsolein interfaceClientModel- Overrides:
setAlwaysDisplayInConsolein classClientModelLazyDelegate
-
isFrontchannelLogout
public boolean isFrontchannelLogout()- Specified by:
isFrontchannelLogoutin interfaceClientModel- Overrides:
isFrontchannelLogoutin classClientModelLazyDelegate
-
setFrontchannelLogout
public void setFrontchannelLogout(boolean frontchannelLogout) - Specified by:
setFrontchannelLogoutin interfaceClientModel- Overrides:
setFrontchannelLogoutin classClientModelLazyDelegate
-
isImplicitFlowEnabled
public boolean isImplicitFlowEnabled()- Specified by:
isImplicitFlowEnabledin interfaceClientModel- Overrides:
isImplicitFlowEnabledin classClientModelLazyDelegate
-
setImplicitFlowEnabled
public void setImplicitFlowEnabled(boolean implicitFlowEnabled) - Specified by:
setImplicitFlowEnabledin interfaceClientModel- Overrides:
setImplicitFlowEnabledin classClientModelLazyDelegate
-
isServiceAccountsEnabled
public boolean isServiceAccountsEnabled()- Specified by:
isServiceAccountsEnabledin interfaceClientModel- Overrides:
isServiceAccountsEnabledin classClientModelLazyDelegate
-
setServiceAccountsEnabled
public void setServiceAccountsEnabled(boolean flag) - Specified by:
setServiceAccountsEnabledin interfaceClientModel- Overrides:
setServiceAccountsEnabledin classClientModelLazyDelegate
-
getProtocol
- Specified by:
getProtocolin interfaceClientModel- Specified by:
getProtocolin interfaceClientScopeModel- Overrides:
getProtocolin classClientModelLazyDelegate
-
setProtocol
- Specified by:
setProtocolin interfaceClientModel- Specified by:
setProtocolin interfaceClientScopeModel- Overrides:
setProtocolin classClientModelLazyDelegate
-
isPublicClient
public boolean isPublicClient()- Specified by:
isPublicClientin interfaceClientModel- Overrides:
isPublicClientin classClientModelLazyDelegate
-
setPublicClient
public void setPublicClient(boolean flag) - Specified by:
setPublicClientin interfaceClientModel- Overrides:
setPublicClientin classClientModelLazyDelegate
-
getWebOrigins
- Specified by:
getWebOriginsin interfaceClientModel- Overrides:
getWebOriginsin classClientModelLazyDelegate
-
setWebOrigins
- Specified by:
setWebOriginsin interfaceClientModel- Overrides:
setWebOriginsin classClientModelLazyDelegate
-
addWebOrigin
- Specified by:
addWebOriginin interfaceClientModel- Overrides:
addWebOriginin classClientModelLazyDelegate
-
removeWebOrigin
- Specified by:
removeWebOriginin interfaceClientModel- Overrides:
removeWebOriginin classClientModelLazyDelegate
-
getRedirectUris
- Specified by:
getRedirectUrisin interfaceClientModel- Overrides:
getRedirectUrisin classClientModelLazyDelegate
-
setRedirectUris
- Specified by:
setRedirectUrisin interfaceClientModel- Overrides:
setRedirectUrisin classClientModelLazyDelegate
-
addRedirectUri
- Specified by:
addRedirectUriin interfaceClientModel- Overrides:
addRedirectUriin classClientModelLazyDelegate
-
removeRedirectUri
- Specified by:
removeRedirectUriin interfaceClientModel- Overrides:
removeRedirectUriin classClientModelLazyDelegate
-
setAttribute
- Specified by:
setAttributein interfaceClientModel- Specified by:
setAttributein interfaceClientScopeModel- Overrides:
setAttributein classClientModelLazyDelegate
-
removeAttribute
- Specified by:
removeAttributein interfaceClientModel- Specified by:
removeAttributein interfaceClientScopeModel- Overrides:
removeAttributein classClientModelLazyDelegate
-
getAttribute
- Specified by:
getAttributein interfaceClientModel- Specified by:
getAttributein interfaceClientScopeModel- Overrides:
getAttributein classClientModelLazyDelegate
-
getAttributes
- Specified by:
getAttributesin interfaceClientModel- Specified by:
getAttributesin interfaceClientScopeModel- Overrides:
getAttributesin classClientModelLazyDelegate
-