Class PolicyEnforcer.PathConfigMatcher
- java.lang.Object
-
- org.keycloak.common.util.PathMatcher<PolicyEnforcerConfig.PathConfig>
-
- org.keycloak.adapters.authorization.PolicyEnforcer.PathConfigMatcher
-
- Enclosing class:
- PolicyEnforcer
public static class PolicyEnforcer.PathConfigMatcher extends org.keycloak.common.util.PathMatcher<PolicyEnforcerConfig.PathConfig>
-
-
Constructor Summary
Constructors Constructor Description PathConfigMatcher(Map<String,PolicyEnforcerConfig.PathConfig> paths, PolicyEnforcerConfig enforcerConfig, AuthzClient authzClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
PathConfigMatcher
public PathConfigMatcher(Map<String,PolicyEnforcerConfig.PathConfig> paths, PolicyEnforcerConfig enforcerConfig, AuthzClient authzClient)
-
-
Method Detail
-
matches
public PolicyEnforcerConfig.PathConfig matches(String targetUri)
- Overrides:
matches
in classorg.keycloak.common.util.PathMatcher<PolicyEnforcerConfig.PathConfig>
-
getPath
protected String getPath(PolicyEnforcerConfig.PathConfig entry)
- Specified by:
getPath
in classorg.keycloak.common.util.PathMatcher<PolicyEnforcerConfig.PathConfig>
-
getPaths
protected Collection<PolicyEnforcerConfig.PathConfig> getPaths()
- Specified by:
getPaths
in classorg.keycloak.common.util.PathMatcher<PolicyEnforcerConfig.PathConfig>
-
getPathCache
public PathCache getPathCache()
-
resolvePathConfig
protected PolicyEnforcerConfig.PathConfig resolvePathConfig(PolicyEnforcerConfig.PathConfig originalConfig, String path)
- Overrides:
resolvePathConfig
in classorg.keycloak.common.util.PathMatcher<PolicyEnforcerConfig.PathConfig>
-
removeFromCache
public void removeFromCache(String pathConfig)
-
-