I think that the issue is that Shiro, out of the box, does not address matching by query param. You may wish to configure RegExPatternMatcher, which would be more flexible.
https://shiro.apache.org/static/1.4.2/apidocs/org/apache/shiro/util/RegExPatternMatcher.html ajs6f > On Nov 22, 2019, at 12:43 PM, Jean-Claude Moissinac > <[email protected]> wrote: > > @ajs6f I doesnt think that shiro is the problem (perhaps, it is part of the > solution). I think that the web UI of Fuseki call something which is > protected. But what? > The index.html page doesn't contain an evident candidate. > I think that we have to look in js/app/main.index.js, but it becomes an > indeep analyze of complex js code... > -- > Jean-Claude Moissinac > > > > Le ven. 22 nov. 2019 à 17:49, ajs6f <[email protected]> a écrit : > >> This isn't really a question about Jena, it's a question about Shiro. Have >> you tried asking that community? >> >> ajs6f >> >>> On Nov 22, 2019, at 11:41 AM, Jean-Claude Moissinac < >> [email protected]> wrote: >>> >>> Dear Marco, >>> >>> I think my previous reading of this documentation was right. >>> My understanding is that the proposed solution is to develop specific >> Java >>> code (like the ShiroExampleEvaluator) to implement the permissions. >>> I would like just to configure and use fuseki, not start a Java >> development >>> I doesn't see clearly , by doing such code, >>> * if i get something more efficient than what I do with shiro, following >>> the documentation here >>> https://jena.apache.org/documentation/fuseki2/fuseki-security.html >>> >>> * if I will be able to manage correctly the user interface while having >>> some free datasets and some protected dataset >>> now, a window to enter a login/pwd is always displayed when I call the >> user >>> interface, so I'm not able to give a free access to free datasets >>> through the user interface >>> In the section [urls] of shiro.ini, I have the following line to access >> the >>> user interface >>> / = anon >>> >>> >>> >>> >>> -- >>> Jean-Claude Moissinac >>> >>> >>> >>> Le jeu. 21 nov. 2019 à 16:05, Marco Neumann <[email protected]> a >>> écrit : >>> >>>> please take a look at >>>> >>>> https://jena.apache.org/documentation/permissions/index.html >>>> >>>> >>>> On Thu 21. Nov 2019 at 14:00, Jean-Claude Moissinac < >>>> [email protected]> wrote: >>>> >>>>> Hello >>>>> >>>>> I would like to give free access to some datasets in my fuseki server >> and >>>>> control access to other datasets. >>>>> With shiro, I'm able to control the sparql access points like >>>>> https://myserver/dm/sparql >>>>> but I'm not able to give a controlled access to the datasets user >>>> interface >>>>> https://myserver/dataset.html?tab=query&ds=/controlleddataset >>>>> or >>>>> https://myserver/dataset.html?tab=query&ds=/freedataset >>>>> or >>>>> https://myserver/ >>>>> >>>>> Is there some good practices about the access control in fuseki >>>> instances? >>>>> >>>>> Thank's in advance for any advice >>>>> -- >>>>> Jean-Claude Moissinac >>>>> >>>> -- >>>> >>>> >>>> --- >>>> Marco Neumann >>>> KONA >>>> >> >>
