Package org.keycloak.component
Class JsonConfigComponentModel
java.lang.Object
org.keycloak.component.ComponentModel
org.keycloak.component.JsonConfigComponentModel
Component model backed by JSON configuration. Useful for providers, which rely on JSON configuration rather than on ComponentModel, which is directly
persisted as entity in the DB (store).
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.component.ComponentModel
ComponentModel.MultiMapEntry
-
Constructor Summary
ConstructorDescriptionJsonConfigComponentModel
(Class<? extends Provider> providerType, String realmId, String providerId, com.fasterxml.jackson.databind.JsonNode configNode) -
Method Summary
Methods inherited from class org.keycloak.component.ComponentModel
contains, getConfig, getConfigProto, getNote, getParentId, getSubType, hasNote, put, put, put, put, removeNote, setConfig, setConfigProto, setId, setName, setNote, setParentId, setProviderId, setProviderType, setSubType
-
Constructor Details
-
JsonConfigComponentModel
public JsonConfigComponentModel(Class<? extends Provider> providerType, String realmId, String providerId, com.fasterxml.jackson.databind.JsonNode configNode) - Parameters:
providerType
-realmId
-providerId
-configNode
- JSON configuration of this provider. For example if node corresponds to JSON like "{\"foo\":\"bar\"}", then component configuration is supposed to have one configuration option "foo" with value "bar"
-
-
Method Details
-
getProviderType
- Overrides:
getProviderType
in classComponentModel
-
getProviderId
- Overrides:
getProviderId
in classComponentModel
-
getName
- Overrides:
getName
in classComponentModel
-
getId
- Overrides:
getId
in classComponentModel
-
get
- Overrides:
get
in classComponentModel
-
get
- Overrides:
get
in classComponentModel
-
get
- Overrides:
get
in classComponentModel
-
get
- Overrides:
get
in classComponentModel
-
get
- Overrides:
get
in classComponentModel
-