Class DefaultClientType
java.lang.Object
org.keycloak.services.clienttype.impl.DefaultClientType
- All Implemented Interfaces:
ClientType
- Author:
- Marek Posolda
-
Constructor Summary
ConstructorDescriptionDefaultClientType
(KeycloakSession session, ClientTypeRepresentation clientType, Map<String, PropertyDescriptor> clientRepresentationProperties) -
Method Summary
Modifier and TypeMethodDescription<T> T
getDefaultValue
(String optionName, Class<T> optionType) getName()
boolean
isApplicable
(String optionName) boolean
isReadOnly
(String optionName) void
onCreate
(ClientRepresentation createdClient) void
onUpdate
(ClientModel currentClient, ClientRepresentation newClient)
-
Constructor Details
-
DefaultClientType
public DefaultClientType(KeycloakSession session, ClientTypeRepresentation clientType, Map<String, PropertyDescriptor> clientRepresentationProperties)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceClientType
-
isApplicable
- Specified by:
isApplicable
in interfaceClientType
-
isReadOnly
- Specified by:
isReadOnly
in interfaceClientType
-
getDefaultValue
- Specified by:
getDefaultValue
in interfaceClientType
-
onCreate
- Specified by:
onCreate
in interfaceClientType
- Throws:
ClientTypeException
-
onUpdate
public void onUpdate(ClientModel currentClient, ClientRepresentation newClient) throws ClientTypeException - Specified by:
onUpdate
in interfaceClientType
- Throws:
ClientTypeException
-