Package io.quarkus.keycloak.pep.runtime
Class KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer
- java.lang.Object
-
- io.quarkus.keycloak.pep.runtime.KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer
-
- Enclosing class:
- KeycloakPolicyEnforcerTenantConfig
public static class KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.ClaimInformationPointConfig
static class
KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.MethodConfig
static class
KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.PathCacheConfig
static class
KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.PathConfig
-
Field Summary
Fields Modifier and Type Field Description KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.ClaimInformationPointConfig
claimInformationPoint
Defines a set of one or more claims that must be resolved and pushed to the Keycloak server in order to make these claims available to policiesorg.keycloak.representations.adapters.config.PolicyEnforcerConfig.EnforcementMode
enforcementMode
Specifies how policies are enforced.boolean
httpMethodAsScope
Specifies how scopes should be mapped to HTTP methods.boolean
lazyLoadPaths
Specifies how the adapter should fetch the server for resources associated with paths in your application.KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.PathCacheConfig
pathCache
Defines how the policy enforcer should track associations between paths in your application and resources defined in Keycloak.Map<String,KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.PathConfig>
paths
Specifies the paths to protect.
-
Constructor Summary
Constructors Constructor Description KeycloakConfigPolicyEnforcer()
-
-
-
Field Detail
-
enforcementMode
@ConfigItem(defaultValue="enforcing") public org.keycloak.representations.adapters.config.PolicyEnforcerConfig.EnforcementMode enforcementMode
Specifies how policies are enforced.
-
paths
@ConfigItem public Map<String,KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.PathConfig> paths
Specifies the paths to protect.
-
pathCache
@ConfigItem public KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.PathCacheConfig pathCache
Defines how the policy enforcer should track associations between paths in your application and resources defined in Keycloak. The cache is needed to avoid unnecessary requests to a Keycloak server by caching associations between paths and protected resources
-
lazyLoadPaths
@ConfigItem(defaultValue="true") public boolean lazyLoadPaths
Specifies how the adapter should fetch the server for resources associated with paths in your application. If true, the policy enforcer is going to fetch resources on-demand accordingly with the path being requested
-
claimInformationPoint
@ConfigItem public KeycloakPolicyEnforcerTenantConfig.KeycloakConfigPolicyEnforcer.ClaimInformationPointConfig claimInformationPoint
Defines a set of one or more claims that must be resolved and pushed to the Keycloak server in order to make these claims available to policies
-
httpMethodAsScope
@ConfigItem public boolean httpMethodAsScope
Specifies how scopes should be mapped to HTTP methods. If set to true, the policy enforcer will use the HTTP method from the current request to check whether access should be granted
-
-