I was able to find the Shiro.ini in fuseki2 code, but not in fuseki1. Can
you please point me to its location in earlier version?

Also, editing Shiro.ini under webapp and then re tar, re war, would create
same Shiro.ini by default for first run of fuseki server, correct?

On Mon, 16 Dec, 2019, 7:45 AM Amandeep Srivastava, <
amandeep.srivastava1...@gmail.com> wrote:

> Thanks Andy, that's exactly what I was looking for.
>
> On Mon, 16 Dec, 2019, 2:02 AM Andy Seaborne, <a...@apache.org> wrote:
>
>> Hi,
>>
>> Do you want the same, modified shiro.ini in each server, or different
>> shiro files in each server?
>>
>> The shiro.ini can be altered in the war file. It's inside the
>> jena-fuseki-webapp jar (so war > jar > shiro.ini) and the war and jar
>> file can be modified.  Or unpack the whole war, change and repack.
>>
>>      Andy
>>
>>
>> On 15/12/2019 07:12, Laura Morales wrote:
>> > I think the shiro.ini configuration is configured like that on purpose,
>> you do not want anon access from every host by default. So I would guess
>> that that's unlikely to change.
>> > If you have only a few instances, just change the file for any of them
>> or copy/paste the same file. If you have too many, either create links or
>> maybe mount a shared folder.
>> >
>> >
>> >
>> >
>> >> Sent: Sunday, December 15, 2019 at 7:47 AM
>> >> From: "Amandeep Srivastava" <amandeep.srivastava1...@gmail.com>
>> >> To: users@jena.apache.org
>> >> Subject: Re: Fuseki - Grant permissions to all by default
>> >>
>> >> Yes, I'm talking about Shiro.ini file, apologies if the question isn't
>> >> clear.
>> >>
>> >> I'm trying to deploy the fuseki server on multiple hosts, changing it
>> >> manually would mean manually logging into each of the hosts to do it.
>> >>
>> >> Also, its not necessary that I launch fuseki from same directory
>> everytime
>> >> since I can have multiple instances of it running, that means a new run
>> >> folder for every run and manually editing Shiro for each run too.
>> >>
>> >> On Sun, 15 Dec, 2019, 12:13 PM Laura Morales, <laure...@mail.com>
>> wrote:
>> >>
>> >>> I think you're talking about the shiro.ini file but I don't think the
>> >>> question is very clear. What is the problem with editing one file
>> manually?
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>> Sent: Sunday, December 15, 2019 at 7:32 AM
>> >>>> From: "Amandeep Srivastava" <amandeep.srivastava1...@gmail.com>
>> >>>> To: Users@jena.apache.org
>> >>>> Subject: Fuseki - Grant permissions to all by default
>> >>>>
>> >>>> Hi,
>> >>>>
>> >>>> I'm trying to run an instance of fuseki server. This run generates a
>> >>> folder
>> >>>> called 'run', containing all fuseki config files.
>> >>>>
>> >>>> I have to manually comment /$/** = localhostFilter and add
>> /$/**=anon to
>> >>>> access and query the database from UI.
>> >>>>
>> >>>> Is there a way to set this to default?
>> >>>>
>> >>>> Thanks.
>> >>>>
>> >>>
>> >>
>>
>

Reply via email to