Package io.quarkus.security.runtime
Class SecurityBuildTimeConfig
- java.lang.Object
-
- io.quarkus.security.runtime.SecurityBuildTimeConfig
-
@ConfigRoot(name="security", phase=BUILD_AND_RUN_TIME_FIXED) public class SecurityBuildTimeConfig extends Object
- Author:
- Michal Szynkiewicz, [email protected]
-
-
Field Summary
Fields Modifier and Type Field Description 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.
-
Constructor Summary
Constructors Constructor Description SecurityBuildTimeConfig()
-
-
-
Field Detail
-
denyUnannotated
@ConfigItem(name="deny-unannotated-members") public 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() { ... } }
-
-