-
Notifications
You must be signed in to change notification settings - Fork 56
Description
The JWT spec specifies interoperability with the Servlet container. This is covered by the ServletTest test. The problem is that this test fails when the runtime doesn't support servlets and thus this test should be optional.
We could introduce a test profile to be used by implementations that also support servlets. When this profile is activated (for implementations that support servlets), the ServletTest would be executed with other TCK tests. If not, the test would be skipped.
Alternatively, the test suite could detect whether servlets are supported by the implementation under test and activate the test only if servlets are supported. This is even better solution because implementations that support servlets can't just disable the optional test on their own. But it's probably much harder to implement.