public abstract class AbstractPolicyEnforcer extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractPolicyEnforcer(PolicyEnforcer policyEnforcer) |
Modifier and Type | Method and Description |
---|---|
AuthorizationContext |
authorize(OIDCHttpFacade httpFacade) |
protected abstract boolean |
challenge(PolicyEnforcerConfig.PathConfig pathConfig,
PolicyEnforcerConfig.MethodConfig methodConfig,
OIDCHttpFacade facade) |
protected AuthzClient |
getAuthzClient() |
protected PolicyEnforcerConfig |
getEnforcerConfig() |
protected PolicyEnforcer |
getPolicyEnforcer() |
protected void |
handleAccessDenied(OIDCHttpFacade httpFacade) |
protected boolean |
isAuthorized(PolicyEnforcerConfig.PathConfig actualPathConfig,
PolicyEnforcerConfig.MethodConfig methodConfig,
AccessToken accessToken,
OIDCHttpFacade httpFacade,
Map<String,List<String>> claims) |
protected Map<String,List<String>> |
resolveClaims(PolicyEnforcerConfig.PathConfig pathConfig,
OIDCHttpFacade httpFacade) |
protected AbstractPolicyEnforcer(PolicyEnforcer policyEnforcer)
public AuthorizationContext authorize(OIDCHttpFacade httpFacade)
protected abstract boolean challenge(PolicyEnforcerConfig.PathConfig pathConfig, PolicyEnforcerConfig.MethodConfig methodConfig, OIDCHttpFacade facade)
protected boolean isAuthorized(PolicyEnforcerConfig.PathConfig actualPathConfig, PolicyEnforcerConfig.MethodConfig methodConfig, AccessToken accessToken, OIDCHttpFacade httpFacade, Map<String,List<String>> claims)
protected void handleAccessDenied(OIDCHttpFacade httpFacade)
protected AuthzClient getAuthzClient()
protected PolicyEnforcerConfig getEnforcerConfig()
protected PolicyEnforcer getPolicyEnforcer()
protected Map<String,List<String>> resolveClaims(PolicyEnforcerConfig.PathConfig pathConfig, OIDCHttpFacade httpFacade)
Copyright © 2019 JBoss by Red Hat. All rights reserved.