Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4388299

LoginContext should pass caller AccessControlContext as state to LoginModules

XMLWordPrintable

      certain LoginModules may want to enforce security checks
      and restrict certain actions depending on the caller.
      however, since LoginContext invokes each LoginModule
      inside a doPrivileged block, the caller is truncated from
      the current ACC.

      the LoginContext should store the current ACC in the
      LoginModule sharedState variable. therefore, modules
      will be able to retrieve the current ACC if necessary.

            claisunw Charlie Lai (Inactive)
            claisunw Charlie Lai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: