Package org.keycloak.models.map.client
Class MapClientEntityImpl.Empty
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.client.MapClientEntity.AbstractClientEntity
-
- org.keycloak.models.map.client.MapClientEntityImpl.Empty
-
- All Implemented Interfaces:
MapClientEntity
,AbstractEntity
,EntityWithAttributes
,UpdatableEntity
- Enclosing class:
- MapClientEntityImpl
public static class MapClientEntityImpl.Empty extends MapClientEntity.AbstractClientEntity implements MapClientEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.client.MapClientEntity
MapClientEntity.AbstractClientEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapClientEntityImpl.Empty
INSTANCE
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
-
Methods inherited from class org.keycloak.models.map.client.MapClientEntity.AbstractClientEntity
clearUpdatedFlag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
INSTANCE
public static final MapClientEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapClientEntity.AbstractClientEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapClientEntity.AbstractClientEntity
-
isAlwaysDisplayInConsole
public Boolean isAlwaysDisplayInConsole()
- Specified by:
isAlwaysDisplayInConsole
in interfaceMapClientEntity
-
setAlwaysDisplayInConsole
public void setAlwaysDisplayInConsole(Boolean alwaysDisplayInConsole)
- Specified by:
setAlwaysDisplayInConsole
in interfaceMapClientEntity
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributes
in interfaceEntityWithAttributes
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributes
in interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttribute
in interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> value)
- Specified by:
setAttribute
in interfaceEntityWithAttributes
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttribute
in interfaceEntityWithAttributes
-
getAuthenticationFlowBindingOverrides
public Map<String,String> getAuthenticationFlowBindingOverrides()
- Specified by:
getAuthenticationFlowBindingOverrides
in interfaceMapClientEntity
-
setAuthenticationFlowBindingOverride
public void setAuthenticationFlowBindingOverride(String binding, String flowId)
- Specified by:
setAuthenticationFlowBindingOverride
in interfaceMapClientEntity
-
removeAuthenticationFlowBindingOverride
public void removeAuthenticationFlowBindingOverride(String binding)
- Specified by:
removeAuthenticationFlowBindingOverride
in interfaceMapClientEntity
-
getAuthenticationFlowBindingOverride
public String getAuthenticationFlowBindingOverride(String binding)
- Specified by:
getAuthenticationFlowBindingOverride
in interfaceMapClientEntity
-
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrl
in interfaceMapClientEntity
-
setBaseUrl
public void setBaseUrl(String baseUrl)
- Specified by:
setBaseUrl
in interfaceMapClientEntity
-
setBearerOnly
public void setBearerOnly(Boolean bearerOnly)
- Specified by:
setBearerOnly
in interfaceMapClientEntity
-
isBearerOnly
public Boolean isBearerOnly()
- Specified by:
isBearerOnly
in interfaceMapClientEntity
-
setClientAuthenticatorType
public void setClientAuthenticatorType(String clientAuthenticatorType)
- Specified by:
setClientAuthenticatorType
in interfaceMapClientEntity
-
getClientAuthenticatorType
public String getClientAuthenticatorType()
- Specified by:
getClientAuthenticatorType
in interfaceMapClientEntity
-
getClientId
public String getClientId()
- Specified by:
getClientId
in interfaceMapClientEntity
-
setClientId
public void setClientId(String clientId)
- Specified by:
setClientId
in interfaceMapClientEntity
-
getClientScopes
public Map<String,Boolean> getClientScopes()
- Specified by:
getClientScopes
in interfaceMapClientEntity
-
removeClientScope
public void removeClientScope(String id)
- Specified by:
removeClientScope
in interfaceMapClientEntity
-
getClientScopes
public Stream<String> getClientScopes(boolean defaultScope)
- Specified by:
getClientScopes
in interfaceMapClientEntity
- Overrides:
getClientScopes
in classMapClientEntity.AbstractClientEntity
-
setClientScope
public void setClientScope(String id, Boolean defaultScope)
- Specified by:
setClientScope
in interfaceMapClientEntity
-
isConsentRequired
public Boolean isConsentRequired()
- Specified by:
isConsentRequired
in interfaceMapClientEntity
-
setConsentRequired
public void setConsentRequired(Boolean consentRequired)
- Specified by:
setConsentRequired
in interfaceMapClientEntity
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceMapClientEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceMapClientEntity
-
isDirectAccessGrantsEnabled
public Boolean isDirectAccessGrantsEnabled()
- Specified by:
isDirectAccessGrantsEnabled
in interfaceMapClientEntity
-
setDirectAccessGrantsEnabled
public void setDirectAccessGrantsEnabled(Boolean directAccessGrantsEnabled)
- Specified by:
setDirectAccessGrantsEnabled
in interfaceMapClientEntity
-
setEnabled
public void setEnabled(Boolean enabled)
- Specified by:
setEnabled
in interfaceMapClientEntity
-
isEnabled
public Boolean isEnabled()
- Specified by:
isEnabled
in interfaceMapClientEntity
-
isFrontchannelLogout
public Boolean isFrontchannelLogout()
- Specified by:
isFrontchannelLogout
in interfaceMapClientEntity
-
setFrontchannelLogout
public void setFrontchannelLogout(Boolean frontchannelLogout)
- Specified by:
setFrontchannelLogout
in interfaceMapClientEntity
-
isFullScopeAllowed
public Boolean isFullScopeAllowed()
- Specified by:
isFullScopeAllowed
in interfaceMapClientEntity
-
setFullScopeAllowed
public void setFullScopeAllowed(Boolean fullScopeAllowed)
- Specified by:
setFullScopeAllowed
in interfaceMapClientEntity
-
setImplicitFlowEnabled
public void setImplicitFlowEnabled(Boolean implicitFlowEnabled)
- Specified by:
setImplicitFlowEnabled
in interfaceMapClientEntity
-
isImplicitFlowEnabled
public Boolean isImplicitFlowEnabled()
- Specified by:
isImplicitFlowEnabled
in interfaceMapClientEntity
-
getManagementUrl
public String getManagementUrl()
- Specified by:
getManagementUrl
in interfaceMapClientEntity
-
setManagementUrl
public void setManagementUrl(String managementUrl)
- Specified by:
setManagementUrl
in interfaceMapClientEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceMapClientEntity
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceMapClientEntity
-
getNodeReRegistrationTimeout
public Integer getNodeReRegistrationTimeout()
- Specified by:
getNodeReRegistrationTimeout
in interfaceMapClientEntity
-
setNodeReRegistrationTimeout
public void setNodeReRegistrationTimeout(Integer nodeReRegistrationTimeout)
- Specified by:
setNodeReRegistrationTimeout
in interfaceMapClientEntity
-
getNotBefore
public Long getNotBefore()
- Specified by:
getNotBefore
in interfaceMapClientEntity
-
setNotBefore
public void setNotBefore(Long notBefore)
- Specified by:
setNotBefore
in interfaceMapClientEntity
-
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interfaceMapClientEntity
-
setProtocol
public void setProtocol(String protocol)
- Specified by:
setProtocol
in interfaceMapClientEntity
-
addProtocolMapper
public void addProtocolMapper(MapProtocolMapperEntity mapping)
- Specified by:
addProtocolMapper
in interfaceMapClientEntity
-
getProtocolMappers
public Set<MapProtocolMapperEntity> getProtocolMappers()
- Specified by:
getProtocolMappers
in interfaceMapClientEntity
-
getProtocolMapper
public Optional<MapProtocolMapperEntity> getProtocolMapper(String id)
- Specified by:
getProtocolMapper
in interfaceMapClientEntity
-
removeProtocolMapper
public void removeProtocolMapper(String id)
- Specified by:
removeProtocolMapper
in interfaceMapClientEntity
-
setPublicClient
public void setPublicClient(Boolean publicClient)
- Specified by:
setPublicClient
in interfaceMapClientEntity
-
isPublicClient
public Boolean isPublicClient()
- Specified by:
isPublicClient
in interfaceMapClientEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapClientEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapClientEntity
-
removeRedirectUri
public void removeRedirectUri(String redirectUri)
- Specified by:
removeRedirectUri
in interfaceMapClientEntity
-
getRedirectUris
public Set<String> getRedirectUris()
- Specified by:
getRedirectUris
in interfaceMapClientEntity
-
setRedirectUris
public void setRedirectUris(Set<String> redirectUris)
- Specified by:
setRedirectUris
in interfaceMapClientEntity
-
addRedirectUri
public void addRedirectUri(String redirectUri)
- Specified by:
addRedirectUri
in interfaceMapClientEntity
-
getRegistrationToken
public String getRegistrationToken()
- Specified by:
getRegistrationToken
in interfaceMapClientEntity
-
setRegistrationToken
public void setRegistrationToken(String registrationToken)
- Specified by:
setRegistrationToken
in interfaceMapClientEntity
-
getRootUrl
public String getRootUrl()
- Specified by:
getRootUrl
in interfaceMapClientEntity
-
setRootUrl
public void setRootUrl(String rootUrl)
- Specified by:
setRootUrl
in interfaceMapClientEntity
-
setScope
public void setScope(Set<String> scope)
- Specified by:
setScope
in interfaceMapClientEntity
-
getScope
public Set<String> getScope()
- Specified by:
getScope
in interfaceMapClientEntity
-
getScopeMappings
public Collection<String> getScopeMappings()
- Specified by:
getScopeMappings
in interfaceMapClientEntity
-
addScopeMapping
public void addScopeMapping(String id)
- Specified by:
addScopeMapping
in interfaceMapClientEntity
-
removeScopeMapping
public void removeScopeMapping(String id)
- Specified by:
removeScopeMapping
in interfaceMapClientEntity
-
getSecret
public String getSecret()
- Specified by:
getSecret
in interfaceMapClientEntity
-
setSecret
public void setSecret(String secret)
- Specified by:
setSecret
in interfaceMapClientEntity
-
isServiceAccountsEnabled
public Boolean isServiceAccountsEnabled()
- Specified by:
isServiceAccountsEnabled
in interfaceMapClientEntity
-
setServiceAccountsEnabled
public void setServiceAccountsEnabled(Boolean serviceAccountsEnabled)
- Specified by:
setServiceAccountsEnabled
in interfaceMapClientEntity
-
setStandardFlowEnabled
public void setStandardFlowEnabled(Boolean standardFlowEnabled)
- Specified by:
setStandardFlowEnabled
in interfaceMapClientEntity
-
isStandardFlowEnabled
public Boolean isStandardFlowEnabled()
- Specified by:
isStandardFlowEnabled
in interfaceMapClientEntity
-
isSurrogateAuthRequired
public Boolean isSurrogateAuthRequired()
- Specified by:
isSurrogateAuthRequired
in interfaceMapClientEntity
-
setSurrogateAuthRequired
public void setSurrogateAuthRequired(Boolean surrogateAuthRequired)
- Specified by:
setSurrogateAuthRequired
in interfaceMapClientEntity
-
addWebOrigin
public void addWebOrigin(String webOrigin)
- Specified by:
addWebOrigin
in interfaceMapClientEntity
-
removeWebOrigin
public void removeWebOrigin(String webOrigin)
- Specified by:
removeWebOrigin
in interfaceMapClientEntity
-
getWebOrigins
public Set<String> getWebOrigins()
- Specified by:
getWebOrigins
in interfaceMapClientEntity
-
setWebOrigins
public void setWebOrigins(Set<String> webOrigins)
- Specified by:
setWebOrigins
in interfaceMapClientEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Overrides:
isUpdated
in classMapClientEntity.AbstractClientEntity
- Returns:
-
-