io.quarkus.vertx.http.runtime.management.ManagementRuntimeAuthConfig Maven / Gradle / Ivy
The newest version!
package io.quarkus.vertx.http.runtime.management;
import java.util.List;
import java.util.Map;
import io.quarkus.runtime.annotations.ConfigDocMapKey;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.vertx.http.runtime.PolicyConfig;
import io.quarkus.vertx.http.runtime.PolicyMappingConfig;
/**
* Authentication for the management interface.
*/
@ConfigGroup
public class ManagementRuntimeAuthConfig {
/**
* The HTTP permissions
*/
@ConfigItem(name = "permission")
public Map permissions;
/**
* The HTTP role based policies
*/
@ConfigItem(name = "policy")
public Map rolePolicy;
/**
* Map the `SecurityIdentity` roles to deployment specific roles and add the matching roles to `SecurityIdentity`.
*
* For example, if `SecurityIdentity` has a `user` role and the endpoint is secured with a 'UserRole' role,
* use this property to map the `user` role to the `UserRole` role, and have `SecurityIdentity` to have
* both `user` and `UserRole` roles.
*/
@ConfigItem
@ConfigDocMapKey("role-name")
public Map> rolesMapping;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy