jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Carriedo Scher <fcarrie...@gmail.com>
Subject Disabling admin account
Date Sun, 01 Apr 2012 22:43:51 GMT
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
InputStreamReader(System.in));
        Session session = repository.login(new SimpleCredentials("admin",
"admin".toCharArray()));

What else should be done to erase the admin account?

Thanks for your attention!!!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message