Package io.quarkus.resteasy.deployment
Interface JaxRsSecurityConfig
@ConfigRoot
@ConfigMapping(prefix="quarkus.security.jaxrs")
public interface JaxRsSecurityConfig
- Author:
- Michal Szynkiewicz, michal.l.szynkiewicz@gmail.com
-
Method Summary
Modifier and TypeMethodDescriptionIf 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).booleanif set to true, access to all JAX-RS resources will be denied by default
-
Method Details
-
denyUnannotatedEndpoints
@WithDefault("false") boolean denyUnannotatedEndpoints()if set to true, access to all JAX-RS resources will be denied by default -
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 theAuthenticatedannotation.
-