Interface JaxRsSecurityConfig


  • @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
    @ConfigMapping(prefix="quarkus.security.jaxrs")
    public interface JaxRsSecurityConfig
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<List<String>> defaultRolesAllowed()
      If no security annotations are affecting a method then they will default to requiring these roles, (equivalent to adding an @RolesAllowed annotation with the roles to every endpoint class).
      boolean denyJaxRs()
      if set to true, access to all JAX-RS resources will be denied by default
    • Method Detail

      • denyJaxRs

        @WithName("deny-unannotated-endpoints")
        @WithDefault("false")
        boolean denyJaxRs()
        if set to true, access to all JAX-RS resources will be denied by default
      • defaultRolesAllowed

        Optional<List<String>> defaultRolesAllowed()
        If no security annotations are affecting a method then they will default to requiring these roles, (equivalent to adding an @RolesAllowed annotation with the roles to every endpoint class). The role of '**' means any authenticated user, which is equivalent to the io.quarkus.security.Authenticated annotation.