jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cech. Ulrich" <Ulrich.C...@aeb.de>
Subject AW: Disabling admin account
Date Mon, 02 Apr 2012 08:22:30 GMT

you can change the password for the admin-account and/or set/unset the permissions for whole
nodes, then it is not necessary to recompile the jackrabbit-code.


-----Urspr√ľngliche Nachricht-----
Von: Francisco Carriedo Scher [mailto:fcarriedos@gmail.com] 
Gesendet: Montag, 2. April 2012 00:44
An: users@jackrabbit.apache.org
Betreff: Disabling admin account

Hi there,

i am trying to disable the admin account and, apart from setting the
adminId to my custom value in the repository.xml file i changed the value
of the constants of the
org.apache.jackrabbit.core.security.SecurityConstants class. Once
recompiled (the core and the Webapp and used via Webdav) i am still able to
login having write permissions providing admin:admin credentials:

        Repository repository = JcrUtils.getRepository(repoURL + "/server");
        BufferedReader br = new BufferedReader(new
        Session session = repository.login(new SimpleCredentials("admin",

What else should be done to erase the admin account?

Thanks for your attention!!!

View raw message