Shiro.ini file as below:

# Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0

[main]
# Development
ssl.enabled = false

plainMatcher=org.apache.shiro.authc.credential.SimpleCredentialsMatcher
#iniRealm=org.apache.shiro.realm.text.IniRealm
iniRealm.credentialsMatcher = $plainMatcher

localhostFilter=org.apache.jena.fuseki.authz.LocalhostFilter

[users]
# Implicitly adds "iniRealm =  org.apache.shiro.realm.text.IniRealm"
admin=refdata

[roles]

[urls]
## Control functions open to anyone
/$/status = anon
/$/ping   = anon

## and the rest are restricted to localhost.
##/$/** = localhostFilter

## If you want simple, basic authentication user/password
## on the operations,
##    1 - set a better password in [users] above.
##    2 - comment out the "/$/** = localhost" line and use:
/$/** = authcBasic,user[admin]"

## or to allow any access.
##/$/** = anon

# Everything else
/**=anon
~


I have put in lines of the form:

/$/status = anon
/$/ping   = anon
/$/datasets = anon

and

/$/status = anon
/$/ping   = anon
/$/datasets/* = anon

and

/$/status = anon
/$/ping   = anon
/$/datasets/ds* = anon

etc. without luck.

Unsure what the /$/ path to the query page would be.

Thanks!




On Tue, Feb 16, 2016 at 4:40 PM, A. Soroka <aj...@virginia.edu> wrote:

> Can you show us your current shiro.ini file?
>
> ---
> A. Soroka
> The University of Virginia Library
>
> > On Feb 16, 2016, at 4:38 PM, Don Rolph <don.ro...@gmail.com> wrote:
> >
> > When I go to the dataset web page it asks for authentication and if I
> > cancel it I cant see the dataset.
> >
> > On Tue, Feb 16, 2016 at 3:24 PM, A. Soroka <aj...@virginia.edu> wrote:
> >
> >> Those forms should be available to everyone by default. The line:
> >>
> >> /**=anon
> >>
> >> in the default shiro.ini file takes care of that. When you go to those
> >> pages from another machine, what response are you actually getting?
> >>
> >> ---
> >> A. Soroka
> >> The University of Virginia Library
> >>
> >>> On Feb 16, 2016, at 1:15 PM, Don Rolph <don.ro...@gmail.com> wrote:
> >>>
> >>> The HTML interface.
> >>>
> >>> Thanks!
> >>>
> >>> On Tue, Feb 16, 2016 at 12:26 PM, A. Soroka <aj...@virginia.edu>
> wrote:
> >>>
> >>>> Do you mean the HTML form that lets you edit queries for any dataset
> or
> >>>> the query endpoint for a given dataset?
> >>>>
> >>>> ---
> >>>> A. Soroka
> >>>> The University of Virginia Library
> >>>>
> >>>>> On Feb 16, 2016, at 10:38 AM, Don Rolph <don.ro...@gmail.com> wrote:
> >>>>>
> >>>>> OK this works to open up the web interface to either all users or
> using
> >>>> the
> >>>>> example authorized users.
> >>>>>
> >>>>> How do I let all users use the query interface?
> >>>>>
> >>>>> I tried:
> >>>>>
> >>>>> /$/datasets = anon
> >>>>>
> >>>>> and
> >>>>>
> >>>>> /$/datasets* = anon
> >>>>>
> >>>>> and
> >>>>>
> >>>>> /$/datasets/* = anon
> >>>>>
> >>>>> and
> >>>>>
> >>>>> /$/datasets/ds = anon
> >>>>>
> >>>>> and
> >>>>>
> >>>>> /$/datsets/ds* = anon
> >>>>>
> >>>>> but none of these seem to work to allow anonymous access to the query
> >>>>> screen.
> >>>>>
> >>>>> Thoughts?
> >>>>>
> >>>>> Thanks in advance!
> >>>>>
> >>>>>
> >>>>> On Mon, Feb 15, 2016 at 3:35 PM, A. Soroka <aj...@virginia.edu>
> wrote:
> >>>>>
> >>>>>> Have you adjusted the security settings for the UI? See the first
> >>>>>> paragraph here:
> >>>>>>
> >>>>>> https://jena.apache.org/documentation/fuseki2/fuseki-security.html
> >>>>>>
> >>>>>> ---
> >>>>>> A. Soroka
> >>>>>> The University of Virginia Library
> >>>>>>
> >>>>>>> On Feb 15, 2016, at 2:08 PM, Don Rolph <don.ro...@gmail.com>
> wrote:
> >>>>>>>
> >>>>>>> How do I enable the web interface to Jena-fuseki 2.3.1?
> >>>>>>>
> >>>>>>> I can connect to the web server at:
> >>>>>>>
> >>>>>>> http://webserver.com:3030/
> >>>>>>>
> >>>>>>> but it seems I have to do something to enable this functionality
> >> form a
> >>>>>>> remote machine.
> >>>>>>>
> >>>>>>> Hints/suggestions?
> >>>>>>>
> >>>>>>> Thanks in advance!
> >>>>>>>
> >>>>>>> --
> >>>>>>>
> >>>>>>> 73,
> >>>>>>> AB1PH
> >>>>>>> Don Rolph
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>>
> >>>>> 73,
> >>>>> AB1PH
> >>>>> Don Rolph
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>>
> >>> 73,
> >>> AB1PH
> >>> Don Rolph
> >>
> >>
> >
> >
> > --
> >
> > 73,
> > AB1PH
> > Don Rolph
>
>


-- 

73,
AB1PH
Don Rolph

Reply via email to