Class SecureSigningAlgorithmForSignedJwtExecutor
- java.lang.Object
-
- org.keycloak.services.clientpolicy.executor.SecureSigningAlgorithmForSignedJwtExecutor
-
- All Implemented Interfaces:
Provider
,ClientPolicyExecutorProvider<SecureSigningAlgorithmForSignedJwtExecutor.Configuration>
public class SecureSigningAlgorithmForSignedJwtExecutor extends Object implements ClientPolicyExecutorProvider<SecureSigningAlgorithmForSignedJwtExecutor.Configuration>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecureSigningAlgorithmForSignedJwtExecutor.Configuration
-
Constructor Summary
Constructors Constructor Description SecureSigningAlgorithmForSignedJwtExecutor(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
.Class<SecureSigningAlgorithmForSignedJwtExecutor.Configuration>
getExecutorConfigurationClass()
String
getProviderId()
void
setupConfiguration(SecureSigningAlgorithmForSignedJwtExecutor.Configuration config)
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
-
-
-
-
Constructor Detail
-
SecureSigningAlgorithmForSignedJwtExecutor
public SecureSigningAlgorithmForSignedJwtExecutor(KeycloakSession session)
-
-
Method Detail
-
setupConfiguration
public void setupConfiguration(SecureSigningAlgorithmForSignedJwtExecutor.Configuration config)
Description copied from interface:ClientPolicyExecutorProvider
setup this executor's configuration.- Specified by:
setupConfiguration
in interfaceClientPolicyExecutorProvider<SecureSigningAlgorithmForSignedJwtExecutor.Configuration>
-
getExecutorConfigurationClass
public Class<SecureSigningAlgorithmForSignedJwtExecutor.Configuration> getExecutorConfigurationClass()
- Specified by:
getExecutorConfigurationClass
in interfaceClientPolicyExecutorProvider<SecureSigningAlgorithmForSignedJwtExecutor.Configuration>
- Returns:
- Class, which should match the "config" argument of the
ClientPolicyExecutorProvider.setupConfiguration(ClientPolicyExecutorConfigurationRepresentation)
-
getProviderId
public String getProviderId()
- Specified by:
getProviderId
in interfaceClientPolicyExecutorProvider<SecureSigningAlgorithmForSignedJwtExecutor.Configuration>
-
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<SecureSigningAlgorithmForSignedJwtExecutor.Configuration>
- Parameters:
context
- - the context of the event.- Throws:
ClientPolicyException
-
-