public class SecureResponseTypeExecutor extends Object implements ClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
Modifier and Type | Class and Description |
---|---|
static class |
SecureResponseTypeExecutor.Configuration |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
session |
Constructor and Description |
---|
SecureResponseTypeExecutor(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
void |
executeOnAuthorizationRequest(OIDCResponseType parsedResponseType,
AuthorizationEndpointRequest request,
String redirectUri) |
void |
executeOnEvent(ClientPolicyContext context)
execute actions against the client on the event defined in
ClientPolicyEvent . |
Class<SecureResponseTypeExecutor.Configuration> |
getExecutorConfigurationClass() |
String |
getProviderId() |
void |
setupConfiguration(SecureResponseTypeExecutor.Configuration config)
setup this executor's configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getName
protected final KeycloakSession session
public SecureResponseTypeExecutor(KeycloakSession session)
public void setupConfiguration(SecureResponseTypeExecutor.Configuration config)
ClientPolicyExecutorProvider
setupConfiguration
in interface ClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
public Class<SecureResponseTypeExecutor.Configuration> getExecutorConfigurationClass()
getExecutorConfigurationClass
in interface ClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
ClientPolicyExecutorProvider.setupConfiguration(ClientPolicyExecutorConfigurationRepresentation)
public String getProviderId()
getProviderId
in interface ClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
public void executeOnEvent(ClientPolicyContext context) throws ClientPolicyException
ClientPolicyExecutorProvider
ClientPolicyEvent
.executeOnEvent
in interface ClientPolicyExecutorProvider<SecureResponseTypeExecutor.Configuration>
context
- - the context of the event.ClientPolicyException
public void executeOnAuthorizationRequest(OIDCResponseType parsedResponseType, AuthorizationEndpointRequest request, String redirectUri) throws ClientPolicyException
ClientPolicyException
Copyright © 2021 JBoss by Red Hat. All rights reserved.