-
Bug
-
Resolution: Fixed
-
P3
-
6u39
-
b52
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084558 | emb-9 | Jaroslav BachorĂk | P3 | Resolved | Fixed | team |
JDK-8086817 | 8u65 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8074488 | 8u60 | Kevin Walls | P3 | Resolved | Fixed | b06 |
JDK-8138101 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8076893 | emb-8u60 | Kevin Walls | P3 | Resolved | Fixed | team |
JDK-8075499 | 7u85 | Kevin Walls | P3 | Resolved | Fixed | b06 |
JDK-8141309 | openjdk7u | Kevin Walls | P3 | Resolved | Fixed | master |
JDK-8077145 | 6u105 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8077181 | 6u101 | Kevin Walls | P3 | Resolved | Fixed | b07 |
```
AccessControlContext acc = AccessController.getContext();
Subject subject = Subject.getSubject(acc);
```
the subject is always null even though it should contain the currently authenticated Subject.
The reason for this is the combination of the facts that JMX is using JavaSecurityAccess.doIntersectionPrivilege(actin, stackACC, savedACC) to invoke a code in the combined access control context and this method just drops the information about the domain combiner of the stack ACC.
In turn, Subject.getSubject(acc) relies on a correct domain container used in the current ACC and fails.
- backported by
-
JDK-8074488 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8075499 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8076893 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8077145 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8077181 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8084558 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8086817 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8138101 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
-
JDK-8141309 JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
-
- Resolved
-
- relates to
-
JDK-8072932 Test fails with java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getDomainCombiner")
-
- Closed
-