Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5622

getCallerPrincipal is not mapping the domain caller mapping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.0.0.CR1
    • JBossAS-5.0.0.Beta4
    • EJB2, Security
    • None
    • Low

    Description

      The following two lines are missing:

      /* Apply any domain caller mapping. This should really only be
      done for non-run-as callers.
      */
      if (rm != null)
      caller = rm.getPrincipal(caller);

      This is right after we make an attempt to get the caller principal. If we get a caller principal to be null, the
      realm mapping may convert the null principal into an unauthenticatedIdentity defined at the security domain level via
      the JAAS login module option.

      Attachments

        Activity

          People

            anil.saldhana Anil Saldanha (Inactive)
            anil.saldhana Anil Saldanha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: