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