JSF (Mojarra) ViewState must not be unencrypted

Test Case that checks that a given JSF page (typically ending on .xhtml) does not contain an unencrypted ViewState.

Given

HTTP GET on any JSF based page (typically ending on .xhtml).

Expected

In this template the HTTP Status returned is expected to be 200 (OK) and the following body content:

More information

See also: