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,
Map<String,List<String>> claims) |
authorize, getAuthzClient, getEnforcerConfig, getPolicyEnforcer, resolveClaims
public KeycloakAdapterPolicyEnforcer(PolicyEnforcer policyEnforcer)
protected boolean isAuthorized(PolicyEnforcerConfig.PathConfig pathConfig, PolicyEnforcerConfig.MethodConfig methodConfig, AccessToken accessToken, OIDCHttpFacade httpFacade, Map<String,List<String>> claims)
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 © 2019 JBoss by Red Hat. All rights reserved.