Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1195

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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.0.1.Final
    • 7.0.0.CR1
    • Security
    • None
    • java-6-sun-1.6.0.24
      Linux ubuntu

      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"

              mmoyses Marcus Moyses (Inactive)
              brunovernay_jira Bruno Vernay (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: