Fixing checkstyle violation

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2021-09-14 13:18:40 -05:00
parent 871abb5d5a
commit 19f2b99e0d
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 10 additions and 6 deletions

View File

@ -65,12 +65,16 @@ public class TestSecurityAnnotationConversions
{
}
@ServletSecurity(value = @HttpConstraint(value = EmptyRoleSemantic.PERMIT, transportGuarantee = TransportGuarantee.CONFIDENTIAL, rolesAllowed =
{
"tom", "dick", "harry"
}), httpMethodConstraints = {
@HttpMethodConstraint(value = "GET", transportGuarantee = TransportGuarantee.CONFIDENTIAL)
})
@ServletSecurity(
value = @HttpConstraint(
value = EmptyRoleSemantic.PERMIT,
transportGuarantee = TransportGuarantee.CONFIDENTIAL,
rolesAllowed = {
"tom", "dick", "harry"
}),
httpMethodConstraints = {
@HttpMethodConstraint(value = "GET", transportGuarantee = TransportGuarantee.CONFIDENTIAL)
})
public static class Method2Servlet extends HttpServlet
{
}