public class KeycloakAdapterPolicyEnforcer extends AbstractPolicyEnforcer
Constructor and Description |
---|
KeycloakAdapterPolicyEnforcer(PolicyEnforcer policyEnforcer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
challenge(PolicyEnforcerConfig.PathConfig pathConfig,
PolicyEnforcerConfig.MethodConfig methodConfig,
OIDCHttpFacade httpFacade) |
protected void |
handleAccessDenied(OIDCHttpFacade facade) |
protected boolean |
isAuthorized(PolicyEnforcerConfig.PathConfig pathConfig,
PolicyEnforcerConfig.MethodConfig methodConfig,
AccessToken accessToken,
OIDCHttpFacade httpFacade) |
authorize, getAuthzClient, getEnforcerConfig, getPolicyEnforcer, resolveClaims
public KeycloakAdapterPolicyEnforcer(PolicyEnforcer policyEnforcer)
protected boolean isAuthorized(PolicyEnforcerConfig.PathConfig pathConfig, PolicyEnforcerConfig.MethodConfig methodConfig, AccessToken accessToken, OIDCHttpFacade httpFacade)
isAuthorized
in class AbstractPolicyEnforcer
protected boolean challenge(PolicyEnforcerConfig.PathConfig pathConfig, PolicyEnforcerConfig.MethodConfig methodConfig, OIDCHttpFacade httpFacade)
challenge
in class AbstractPolicyEnforcer
protected void handleAccessDenied(OIDCHttpFacade facade)
handleAccessDenied
in class AbstractPolicyEnforcer
Copyright © 2018 JBoss by Red Hat. All rights reserved.