-
Bug
-
Resolution: Fixed
-
P3
-
5.0u1
-
beta
-
sparc
-
solaris_9
The specification of AccessControlContext.checkPermission() states:
"Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect, and the context in this object."
However, it is not clear what the behavior is if the current security policy
contradicts with the protection domain associated with the context of the
object, i.e., one of them grants the permission but the other one denies the
permission.
It seems that the current behavior is that the AccessControlException
will be thrown if either one of them denies the permission.
###@###.### 2004-11-15 23:28:03 GMT
"Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect, and the context in this object."
However, it is not clear what the behavior is if the current security policy
contradicts with the protection domain associated with the context of the
object, i.e., one of them grants the permission but the other one denies the
permission.
It seems that the current behavior is that the AccessControlException
will be thrown if either one of them denies the permission.
###@###.### 2004-11-15 23:28:03 GMT