In faces-config.xml
<protected-views>
<url-pattern>*.xhtml</url-pattern> #or more specific URL pattern
</protected-views>
But not Token (protected.xhtml?javax.faces.Token=) was generated and appended to the URL like explained here: Example
I only see the jsessionid Parameter in the URL eg (localhost:8080/x/y/z;jsessionid=mVpYT) Therefore it comes to the expected javax.faces.application.ProtectedViewException in org.apache.myfaces.lifecycle.RestoreViewExecutor.checkViewProtection(RestoreViewExecutor.java:396) which is the point of this protection mechanism I guess.
I am using myfaces-api and core version: 2.3.10.
What am I missing? Thank you..