GrantPermission
instances. The implies
method of the returned PermissionCollection
instance is defined as follows: for a given GrantPermission g
, let c(g)
denote the set of all permissions contained within g
or within arbitrarily nested GrantPermission
s inside g
, excluding nested GrantPermission
s themselves. Then, a GrantPermission g
is implied by the PermissionCollection pc
if and only if each permission in c(g)
is implied by the union of c(p)
for all p
in pc
. Implication of contained java.security.UnresolvedPermission
s is special-cased: an UnresolvedPermission p1
is taken to imply another UnresolvedPermission p2
if and only if the serialized representations of p1
and p2
are identical.
@return newly created empty mutable permission collection forGrantPermissions
|
|