The published version of the specification specifies this method takes one or more methods: https://jakarta.ee/specifications/security/3.0/apidocs/jakarta.security/jakarta/security/enterprise/securitycontext#hasAccessToWebResource(java.lang.String,java.lang.String...) The tests in the TCK should be adhering to the published specification / API.
The published version of the specification specifies this method takes one or more methods:
https://jakarta.ee/specifications/security/3.0/apidocs/jakarta.security/jakarta/security/enterprise/securitycontext#hasAccessToWebResource(java.lang.String,java.lang.String...)
The tests in the TCK should be adhering to the published specification / API.