Package io.quarkus.test.security
Annotation Interface TestSecurity
-
Optional Element Summary
Optional Elements
-
Element Details
-
authorizationEnabled
boolean authorizationEnabledIf this is false then all security constraints are disabled.- Default:
- true
-
user
String userIf this is non-zero then the test will be run with a SecurityIdentity with the specified username.- Default:
- ""
-
roles
String[] rolesUsed in combination withuser()to specify the users roles.- Default:
- {}
-
attributes
SecurityAttribute[] attributes- Default:
- {}
-