Pass in the security-domain name to the login modules for error reporting
-------------------------------------------------------------------------

         Key: JBAS-1477
         URL: http://jira.jboss.com/jira/browse/JBAS-1477
     Project: JBoss Application Server
        Type: Task
  Components: Security  
    Versions:  JBossAS-4.0.1 SP1, JBossAS-4.0.1 Final,  JBossAS-3.2.7 Final    
    Reporter: Scott M Stark
 Assigned to: Scott M Stark 
    Priority: Minor


Misconfiguration of the security domain often leads to errors like the 
following where the default other domain login module is executing:

2005-02-16 14:11:08,819 ERROR 
[org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load 
users/passwords/role files
java.io.IOException: Properties file users.properties not found
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadProperties(UsersRolesLoginModule.java:217)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:234)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:100)

If the security domain service passed in its name this could be incorporated 
into error messages to help clarify what the configuration problem is.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to