Class ConfidentialClientAcceptExecutor
- java.lang.Object
-
- org.keycloak.services.clientpolicy.executor.ConfidentialClientAcceptExecutor
-
- All Implemented Interfaces:
Provider
,ClientPolicyExecutorProvider<ClientPolicyExecutorConfigurationRepresentation>
public class ConfidentialClientAcceptExecutor extends Object implements ClientPolicyExecutorProvider<ClientPolicyExecutorConfigurationRepresentation>
- Author:
- Takashi Norimatsu
-
-
Field Summary
Fields Modifier and Type Field Description protected KeycloakSession
session
-
Constructor Summary
Constructors Constructor Description ConfidentialClientAcceptExecutor(KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeOnEvent(ClientPolicyContext context)
execute actions against the client on the event defined inClientPolicyEvent
.String
getProviderId()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.services.clientpolicy.executor.ClientPolicyExecutorProvider
close, getExecutorConfigurationClass, getName, setupConfiguration
-
-
-
-
Field Detail
-
session
protected final KeycloakSession session
-
-
Constructor Detail
-
ConfidentialClientAcceptExecutor
public ConfidentialClientAcceptExecutor(KeycloakSession session)
-
-
Method Detail
-
getProviderId
public String getProviderId()
- Specified by:
getProviderId
in interfaceClientPolicyExecutorProvider<ClientPolicyExecutorConfigurationRepresentation>
-
executeOnEvent
public void executeOnEvent(ClientPolicyContext context) throws ClientPolicyException
Description copied from interface:ClientPolicyExecutorProvider
execute actions against the client on the event defined inClientPolicyEvent
.- Specified by:
executeOnEvent
in interfaceClientPolicyExecutorProvider<ClientPolicyExecutorConfigurationRepresentation>
- Parameters:
context
- - the context of the event.- Throws:
ClientPolicyException
-
-