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

io.quarkus.vertx.http.runtime.management.ManagementAuthConfig Maven / Gradle / Ivy

The newest version!
package io.quarkus.vertx.http.runtime.management;

import java.util.Optional;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;

/**
 * Authentication for the management interface.
 */
@ConfigGroup
public class ManagementAuthConfig {
    /**
     * If basic auth should be enabled.
     *
     */
    @ConfigItem
    public Optional basic;

    /**
     * If this is true and credentials are present then a user will always be authenticated
     * before the request progresses.
     *
     * If this is false then an attempt will only be made to authenticate the user if a permission
     * check is performed or the current user is required for some other reason.
     */
    @ConfigItem(defaultValue = "true")
    public boolean proactive;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy