Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application (CQ5) that requires enabling unauthenticatedIdentity on jbossdir/conf/login-config.xml I used:

      <login-module code = ""
         flag = "required" >
      <module-option name="unauthenticatedIdentity">nobody</module-option>

then I tried to copy jbossdir/conf/props/, into and roles.properies (same dir).

I still get this error:

ERROR [] Failed to load users/passwords/role files No properties file: or defaults: found

where should I put those files?

share|improve this question
It looks like a workaround was commenting out the whole section, I still do not fully understand what's behind it, does anyone know any good resource on jboss authentication? – golemwashere Oct 26 '09 at 7:55
I found this useful:… (3 parts). – BoyMars Jul 11 '11 at 11:30

As I know there is 2 places where you can put these files:

  1. In conf dir, and then you reference to them by:

    <module-option name="usersProperties">props/<module-option>

  2. You can put these file in WEB-INF/classess dir and reference to them just by name:

    <module-option name="usersProperties"></module-option>

You can find these in web-console definition. The file with user names is located under: ./deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.