public class PolicyEnforcer.PathConfigMatcher extends PathMatcher<PolicyEnforcerConfig.PathConfig>
Constructor and Description |
---|
PathConfigMatcher(Map<String,PolicyEnforcerConfig.PathConfig> paths,
PolicyEnforcerConfig enforcerConfig,
AuthzClient authzClient) |
Modifier and Type | Method and Description |
---|---|
protected String |
getPath(PolicyEnforcerConfig.PathConfig entry) |
PathCache |
getPathCache() |
protected Collection<PolicyEnforcerConfig.PathConfig> |
getPaths() |
PolicyEnforcerConfig.PathConfig |
matches(String targetUri) |
void |
removeFromCache(String pathConfig) |
protected PolicyEnforcerConfig.PathConfig |
resolvePathConfig(PolicyEnforcerConfig.PathConfig originalConfig,
String path) |
buildUriFromTemplate, endsWithWildcard
public PathConfigMatcher(Map<String,PolicyEnforcerConfig.PathConfig> paths, PolicyEnforcerConfig enforcerConfig, AuthzClient authzClient)
public PolicyEnforcerConfig.PathConfig matches(String targetUri)
matches
in class PathMatcher<PolicyEnforcerConfig.PathConfig>
protected String getPath(PolicyEnforcerConfig.PathConfig entry)
getPath
in class PathMatcher<PolicyEnforcerConfig.PathConfig>
protected Collection<PolicyEnforcerConfig.PathConfig> getPaths()
getPaths
in class PathMatcher<PolicyEnforcerConfig.PathConfig>
public PathCache getPathCache()
protected PolicyEnforcerConfig.PathConfig resolvePathConfig(PolicyEnforcerConfig.PathConfig originalConfig, String path)
resolvePathConfig
in class PathMatcher<PolicyEnforcerConfig.PathConfig>
public void removeFromCache(String pathConfig)
Copyright © 2019 JBoss by Red Hat. All rights reserved.