Package io.quarkus.test.security
Annotation Type TestSecurity
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface TestSecurity
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description SecurityAttribute[]attributesbooleanauthorizationEnabledIf this is false then all security constraints are disabled.String[]rolesUsed in combination withuser()to specify the users roles.StringuserIf this is non-zero then the test will be run with a SecurityIdentity with the specified username.
-
-
-
-
user
String user
If this is non-zero then the test will be run with a SecurityIdentity with the specified username.- Default:
- ""
-
-
-
attributes
SecurityAttribute[] attributes
- Default:
- {}
-
-