Hi Christian,
thank you for answering.
I could change the admin password eventually but for me the problem was that there is no .basexperm file in basex web application unless you create a new user (so a .basexper file is automatically created as well) and after you change manually the admin MD5 hash value (supposing that this is the right procedure).
I was also wondering if there is a way to make available the /restxq of my basex web application to anyone on the web without being requested username and password.
Thank you.
Hi Marco,
have you also copied your user permissions file, as described in our Wiki [1]?
Best,
Christian
[1] http://docs.basex.org/wiki/Web_Application#User_Management
___________________________
> _______________________________________________
On Fri, Feb 15, 2013 at 11:20 AM, marco fregonese
<marcofregonese@gmail.com> wrote:
> Hello everybody,
>
> I'm trying to change the default user name and password in basex web app.
> I changed the param-value in WEB-INF/web.xml but when deployed in Tomcat or
> using as standalone application by running BaseX HTTP Server, the web app is
> still requiring as user name and password "admin", "admin". What am I doing
> wrong?
>
> <context-param>
> <param-name>org.basex.user</param-name>
> <param-value>myusername</param-value>
> </context-param>
> <context-param>
> <param-name>org.basex.password</param-name>
> <param-value>mypassword</param-value>
> </context-param>
>
> Thanks.
>
>
>
> BaseX-Talk mailing list
> BaseX-Talk@mailman.uni-konstanz.de
> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
>