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

io.quarkus.security.runtime.SecurityConfig Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.security.runtime;

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

/**
 * Quarkus Security configuration.
 */
@ConfigMapping(prefix = "quarkus.security")
@ConfigRoot(phase = ConfigPhase.RUN_TIME)
public interface SecurityConfig {

    /**
     * Security events configuration.
     */
    SecurityEventsConfig events();

    interface SecurityEventsConfig {

        /**
         * Whether security events should be fired.
         */
        @WithDefault("true")
        boolean enabled();

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy