Package io.quarkus.resteasy.runtime
Class JaxRsSecurityConfig
java.lang.Object
io.quarkus.resteasy.runtime.JaxRsSecurityConfig
@ConfigRoot(name="security.jaxrs",
phase=BUILD_AND_RUN_TIME_FIXED)
public class JaxRsSecurityConfig
extends Object
- Author:
- Michal Szynkiewicz, michal.l.szynkiewicz@gmail.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionIf 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 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
denyJaxRs
@ConfigItem(name="deny-unannotated-endpoints") public boolean denyJaxRsif 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.
-
-
Constructor Details
-
JaxRsSecurityConfig
public JaxRsSecurityConfig()
-