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.