public class ClientUpdaterContextCondition extends AbstractClientPolicyConditionProvider<ClientUpdaterContextCondition.Configuration>
Modifier and Type | Class and Description |
---|---|
static class |
ClientUpdaterContextCondition.Configuration |
configuration, session
Constructor and Description |
---|
ClientUpdaterContextCondition(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
ClientPolicyVote |
applyPolicy(ClientPolicyContext context)
returns ABSTAIN if this condition is not evaluated due to its nature.
|
Class<ClientUpdaterContextCondition.Configuration> |
getConditionConfigurationClass() |
String |
getProviderId() |
isNegativeLogic, setupConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getName
public ClientUpdaterContextCondition(KeycloakSession session)
public Class<ClientUpdaterContextCondition.Configuration> getConditionConfigurationClass()
ClientPolicyConditionProvider.setupConfiguration(ClientPolicyConditionConfigurationRepresentation)
public String getProviderId()
public ClientPolicyVote applyPolicy(ClientPolicyContext context) throws ClientPolicyException
ClientPolicyConditionProvider
ClientPolicyEvent
.
If not, returns NO.context
- - the context of the event.ClientPolicyException
Copyright © 2021 JBoss by Red Hat. All rights reserved.