Hi Michael,

On 15/01/15 16:54, Bohms, H.M. (Michel) wrote:
We have two installations, one on windows and one on linux/Ubuntu.

We have same issue on both:

When we set the security to standard (via console/prfiles etc.) we cannot login 
with admin/pass123.

(we thought that admin would be aut. part of manager role..)

How should we do this  (to be able to remotely upload data)

(ie do we need to set manager password somewhere and use THAT? With admin user?)

We definitely have an issue with the login mechanism, see MARMOTTA-534 for further details, and has nothing to do with the platform where it is installed. Please, provide details to the issue and then we can try to address it.

In the meantime, for temporally bypassing the issue, if your instance is running on a protected environment (i.e., a machine running behind a firewall in your intranet) you can disable security by executing the following request from the same machine where Marmotta is running:

curl -X POST -H "Content-Type: application/json" -d '["false"]' http://localhost:8080/marmotta/config/data/security.enabled

You are able to do that because Marmotta comes with the simple profile enabled by default, which allows read access from everywhere and write access only from localhost or other local interfaces. You can find some documentation about the Security Profiles at: http://marmotta.apache.org/platform/security-module.html

Please, take into account that having security disabled allows everybody to perform write requests (POST/PUT/DELETE/PATCH) without authentication. You can keep this configuration if it easier for you. But I have to insist this setup is _not_ recommended for instances with open access.

In practice you should always keep security enabled, switching to the 'standard' security profile for every installation that requires external access beyond a local demo. But I guess the authentication issue would remain, even with that profile enabled. Therefore, if your installation fits with the restrictions described above, you can have whatever profile while you keep security disabled. Otherwise we have to take a closer look to the issue and related problems reported to MARMOTTA-534.

Hope that helps.

Cheers,

--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co

Reply via email to