Hi,
We still have problem with CAS Authentication and permanent links even without using ANONYMOUS_AUTH_FOR_CAS2 plugin (see http://answers.nuxeo.com/questions/5445/permanent-links-dont-work-with-cas-authentication), but another kind.
If document can be reached with its permanent link, other links in the page (other workspaces or "deconnection button") are broken: we got a "page not found" when we used them.
This happen when there is no previous cookies in the browser (no connection to nuxeo plateform before use of the direct link).
In this case, URLs of the links contain the substring "jsessionid=....."
Ex.: <a href="http://localhost/nuxeo/nxpath/default/default-domain/workspaces/niv2@view_documents;jsessionid=4E26E6BDDFB2E0220550C9728EB97927.nuxeo?tabIds=%3A&conversationId=0NXMAIN1" target="test_blank" rel="nofollow noopener noreferrer">http://localhost/nuxeo/nxpath/default/default-domain/workspaces/niv2@view_documents;jsessionid=4E26E6BDDFB2E0220550C9728EB97927.nuxeo?tabIds=%3A&conversationId=0NXMAIN1</a>
After a back with the link given in the error page, the URL become :
<a href="http://localhost/nuxeo/nxpath/default/default-domain/workspaces/niv2@view_documents?tabIds=%3A&conversationId=0NXMAIN2" target="test_blank" rel="nofollow noopener noreferrer">http://localhost/nuxeo/nxpath/default/default-domain/workspaces/niv2@view_documents?tabIds=%3A&conversationId=0NXMAIN2</a>
and works.
Has someone experienced the same behaviour?
Thanks