Hi Sergio, I'm using version 3.1.0-incubating Marmotta is deployed on a server running Tomcat 7.0.39 with OS Ubuntu Linux. I'm accessing the server remotely.
As far as I can tell, the security login never worked. As soon as the configuration page is saved or the database configuration is tested, the authentication dialog is popped. I checked the system-config.properties file for the property: security.profile. This property is not present. What value should I use? The property file also shows there is one user: admin. It has the property: user.admin.pwhash There is a hash, however, I never entered a password. Does this help? Kind regards, Maurice On Mon, Feb 10, 2014 at 8:33 AM, Sergio Fernández < sergio.fernan...@salzburgresearch.at> wrote: > Hi Maurice, > > sorry for the late reply, your email was lost on my inbox. > > > On 05/02/14 12:40, Maurice Glandrup wrote: > >> When I try to configure marmotta with another database (MySQL) and test >> the >> configuration, it keeps asking me for authentication. >> > > Some questions: > > * Which version of Marmotta are you using? > * Where have you deploy it? and are you accessing remotely or local? > * Did the security/login work before switching to MySQL? > > > I started looking for users and roles in marmotta and found: >> http://marmotta.apache.org/platform/security-module.html >> >> I executed: >> >> curl -X POST -H "Content-Type: application/json" -d '["standard"]' >> http://<HOST>:<PORT>/marmotta/config/data/security.profile >> >> The file >> >> security.profile >> >> does not exist after execution. Could not find it in data/marmotta/* >> > > That call to a webservice does not create the same file at the filesystem. > Check the value of the property security.profile at the file > $MARMOTTA_HOME/system-config.properties. For doing any manipulation of > that file, please stop Marmotta first. > > > Can anyone tell me what I'm doing wrong? >> > > We'll try to find the issue. > > Anyway, if you have the freedom to touch the system, I'd recommend you to > switch to PostgreSQL as database to host Marmotta; MySQL is by far the less > tested backend. > > Cheers, > > -- > Sergio Fernández > Senior Researcher > Knowledge and Media Technologies > Salzburg Research Forschungsgesellschaft mbH > Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria > T: +43 662 2288 318 | M: +43 660 2747 925 > sergio.fernan...@salzburgresearch.at > http://www.salzburgresearch.at > -- Maurice Glandrup E: maurice.gland...@nexusz.com M: 06-13548188 W: www.nexusz.com