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

The JACC subject policy context handler always returns null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • JBossAS-4.0.2 Final
    • JBossAS-4.0.2 Final
    • Security
    • None

    Description

      Inside of a JACC policy provider, when the implies method is called, I attempt to obtain the caller's subject by invoking PolicyContext.getContext("javax.security.auth.Subject.container"). According to section 4.6.1.1 of the JACC specification, this should always return a non null subject, unless the caller hasn't been authenticated yet. When running against 4.0.2RC1, this always returns null.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            skinser_jira Stephen Kinser (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: