Interface SecurityBuildTimeConfig


@ConfigMapping(prefix="quarkus.security") @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public interface SecurityBuildTimeConfig
Author:
Michal Szynkiewicz, [email protected]
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If set to true, access to all methods of beans that have any security annotations on other members will be denied by default.
  • Method Details

    • denyUnannotated

      @WithName("deny-unannotated-members") @WithDefault("false") boolean denyUnannotated()
      If set to true, access to all methods of beans that have any security annotations on other members will be denied by default. E.g. if enabled, in the following bean, methodB will be denied.
         @ApplicationScoped
         public class A {
            @RolesAllowed("admin")
            public void methodA() {
                ...
            }
            public void methodB() {
                ...
            }
         }