01-25-2014 08:37 PM
Hello,
I have a problem when I want to download a blob with a url like this on my website
localhost:8080/nuxeo/nxfile/default/*/blobholder:0/*
I use authentification CAS2_AUTH and ANONYMOUS_AUTH. But when I am connect to this for the first time, I can't download it but a windows is prompt with differents repositories. And when I come back on website i can download it. But I want to download it without a windows is prompted for the first login.
This is my configuration
<extension
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
point="chain">
<authenticationChain>
<plugins>
<plugin>BASIC_AUTH</plugin>
<plugin>PORTAL_AUTH</plugin>
<plugin>CAS2_AUTH</plugin>
<plugin>ANONYMOUS_AUTH_FOR_CAS2</plugin>
</plugins>
</authenticationChain>
</extension>
It's very strange because if I delete the AUNONYMOUS_AUTH and If I connect to my wrbsite without connected on nuxeo I can download it. But if I let this line I have the problem that I describe on top of this topic.
And my log I have this following error but I don't want to give anonymous read rights for this document
ERROR [org.nuxeo.ecm.core.api.CoreSession] Permission 'Read' is not granted to 'guest' on document
ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] Session event listener threw exception
java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()
at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler.handleAnonymousException(NuxeoSecurityExceptionHandler.j
ava:89)
at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler.handleException(NuxeoSecurityExceptionHandler.java:71)
I really don't ubderstand what is my problem, If my configuration is bad or something like that. Thanks for your help.
01-27-2014 09:24 AM
hello,
HF29 includes a fix to a similar problem: https://jira.nuxeo.com/browse/NXP-12491 it worths a try to check if it fixes your problem too.
Thierry
01-27-2014 07:09 AM
what version of Nuxeo and hotfixes are you using?
01-27-2014 09:24 AM
hello,
HF29 includes a fix to a similar problem: https://jira.nuxeo.com/browse/NXP-12491 it worths a try to check if it fixes your problem too.
Thierry
01-27-2014 09:50 AM
Thanks a lot for your help Thierry.
01-30-2014 05:16 PM
Hello Thierry,
Now, I use the 5.6 version with HF29, nuxeo-platform-login-cas2-5.6.jar and the same configuration which is written in this ticket [https://jira.nuxeo.com/browse/NXP-12491][1]. Now I can download a document by a direct link with Firefox and Chrome but not with IE 9 10 and 11. When Itry to download one, I automatically redirect on logout CAS page. But with IE 8 it works fine.
Thank you for your help
David [1]: https://jira.nuxeo.com/browse/NXP-12491
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.