public class ClientAccessTypeCondition extends AbstractClientPolicyConditionProvider<ClientAccessTypeCondition.Configuration>
Modifier and Type | Class and Description |
---|---|
static class |
ClientAccessTypeCondition.Configuration |
configuration, session
Constructor and Description |
---|
ClientAccessTypeCondition(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<ClientAccessTypeCondition.Configuration> |
getConditionConfigurationClass() |
String |
getProviderId() |
isNegativeLogic, setupConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getName
public ClientAccessTypeCondition(KeycloakSession session)
public Class<ClientAccessTypeCondition.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.