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

subject doas tests fail even though the required permissions are granted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • security-libs
    • None

      the tests in the testdirectory

      /net/sqesvr/export/vsn/SECURITY/JAAS1.0FCS/TestSuite/src/subject/DOAS/nesteDoAsDiffSubject fails.

      throws the following errors


      Exception in thread "main" java.security.AccessControlException: access denied (
      javax.security.auth.AuthPermission modifyPrincipals)
          at java.security.AccessControlContext.checkPermission(AccessControlContext.j
      ava:274)
          at java.security.AccessController.checkPermission(AccessController.java:400)
          at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
          at javax.security.auth.Subject$SecureSet.add(Subject.java:1122)
          at nestdoAs.main(nestdoAs.java:24)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: