public abstract class AbstractAugumentingClientRegistrationPolicyExecutor extends Object implements ClientPolicyExecutorProvider
| Modifier and Type | Field and Description |
|---|---|
protected ComponentModel |
componentModel |
protected static String |
IS_AUGMENT |
protected static org.jboss.logging.Logger |
logger |
protected KeycloakSession |
session |
| Constructor and Description |
|---|
AbstractAugumentingClientRegistrationPolicyExecutor(KeycloakSession session,
ComponentModel componentModel) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
augment(ClientRepresentation rep)
overrides the client settings specified by the argument.
|
void |
executeOnEvent(ClientPolicyContext context)
execute actions against the client on the event defined in
ClientPolicyEvent. |
String |
getName() |
String |
getProviderId() |
protected abstract void |
validate(ClientRepresentation rep)
validate the client settings specified by the argument to check
whether they follows what the executor expects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseprotected static final org.jboss.logging.Logger logger
protected static final String IS_AUGMENT
protected final KeycloakSession session
protected final ComponentModel componentModel
public AbstractAugumentingClientRegistrationPolicyExecutor(KeycloakSession session, ComponentModel componentModel)
public void executeOnEvent(ClientPolicyContext context) throws ClientPolicyException
ClientPolicyExecutorProviderClientPolicyEvent.executeOnEvent in interface ClientPolicyExecutorProvidercontext - - the context of the event.ClientPolicyExceptionpublic String getName()
getName in interface ClientPolicyExecutorProviderpublic String getProviderId()
getProviderId in interface ClientPolicyExecutorProviderprotected abstract void augment(ClientRepresentation rep)
rep - - the client settingsprotected abstract void validate(ClientRepresentation rep) throws ClientPolicyException
rep - - the client settingsClientPolicyExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.