| |
|
| java.lang.Object java.security.PermissionCollection java.security.UnresolvedPermissionCollection
UnresolvedPermissionCollection | final class UnresolvedPermissionCollection extends PermissionCollection (Code) | | Specific PermissionCollection for storing UnresolvedPermissions. Contained
elements are grouped by their target type.
|
hasUnresolved | boolean hasUnresolved(Permission permission)(Code) | | Returns true if this collection contains unresolved permissions
with the same classname as argument permission.
|
resolveCollection | PermissionCollection resolveCollection(Permission target, PermissionCollection holder)(Code) | | Resolves all permissions of the same class as the specified target
permission and adds them to the specified collection. If passed
collection is null and some unresolved permissions were
resolved, an appropriate new collection is instantiated and used. All
resolved permissions are removed from this unresolved collection, and
collection with resolved ones is returned.
Parameters: target - - a kind of permissions to be resolved Parameters: holder - - an existing collection for storing resolved permissions a collection containing resolved permissions (if any found) |
|
|
|