All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.keycloak.pep.runtime.KeycloakPolicyEnforcerBuildTimeConfig Maven / Gradle / Ivy

Go to download

Policy enforcer using Keycloak-managed permissions to control access to protected resources

There is a newer version: 3.17.0
Show newest version
package io.quarkus.keycloak.pep.runtime;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigRoot;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;

/**
 * Build time configuration for Keycloak Authorization.
 */
@ConfigMapping(prefix = "quarkus.keycloak")
@ConfigRoot
public interface KeycloakPolicyEnforcerBuildTimeConfig {

    /**
     * Policy enforcement enable status
     */
    KeycloakPolicyEnforcerEnableStatus policyEnforcer();

    @ConfigGroup
    interface KeycloakPolicyEnforcerEnableStatus {

        /**
         * Enables policy enforcement.
         */
        @WithDefault("false")
        boolean enable();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy