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

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 7.0.1.Final
    • 7.0.0.CR1
    • Security
    • None

    Description

      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"

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: