Class SecureResponseTypeExecutor
java.lang.Object
org.keycloak.services.clientpolicy.executor.SecureResponseTypeExecutor
- All Implemented Interfaces:
Provider
,ClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
public class SecureResponseTypeExecutor
extends Object
implements ClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
- Author:
- Takashi Norimatsu
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeOnAuthorizationRequest
(OIDCResponseType parsedResponseType, AuthorizationEndpointRequest request, String redirectUri) void
executeOnEvent
(ClientPolicyContext context) execute actions against the client on the event defined inClientPolicyEvent
.void
setup this executor's configuration.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, getName
-
Field Details
-
session
-
-
Constructor Details
-
SecureResponseTypeExecutor
-
-
Method Details
-
setupConfiguration
Description copied from interface:ClientPolicyExecutorProvider
setup this executor's configuration.- Specified by:
setupConfiguration
in interfaceClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
-
getExecutorConfigurationClass
- Specified by:
getExecutorConfigurationClass
in interfaceClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
- Returns:
- Class, which should match the "config" argument of the
ClientPolicyExecutorProvider.setupConfiguration(ClientPolicyExecutorConfigurationRepresentation)
-
getProviderId
- Specified by:
getProviderId
in interfaceClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
-
executeOnEvent
Description copied from interface:ClientPolicyExecutorProvider
execute actions against the client on the event defined inClientPolicyEvent
.- Specified by:
executeOnEvent
in interfaceClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
- Parameters:
context
- - the context of the event.- Throws:
ClientPolicyException
-
executeOnAuthorizationRequest
public void executeOnAuthorizationRequest(OIDCResponseType parsedResponseType, AuthorizationEndpointRequest request, String redirectUri) throws ClientPolicyException - Throws:
ClientPolicyException
-