[jboss-jira] [JBoss JIRA] Created: (AS7-1195) Failure to load login-module should be reported as WARNING instead of TRACE

Bruno Vernay (JIRA) jira-events at lists.jboss.org
Tue Jul 5 19:45:24 EDT 2011


Failure to load login-module should be reported as WARNING instead of TRACE
---------------------------------------------------------------------------

                 Key: AS7-1195
                 URL: https://issues.jboss.org/browse/AS7-1195
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Security
    Affects Versions: 7.0.0.CR1
         Environment: java-6-sun-1.6.0.24
Linux ubuntu 
            Reporter: Bruno Vernay


An error in standalone.xml :
<security-domains>              
 <security-domain ...>
  <authentication>
   <login-module code="database" flag="required">

is reported in TRACE: 

TRACE [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-1) Login failure: javax.security.auth.login.LoginException: unable to find LoginModule class: database from [Module "deployment.jboss-as-login.war:main" from Service Module Loader]

It makes it difficult to spot the error. 
Would be easier if it was reported as a WARNING, specially since it is "required"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list