PkgAgentSystem
Class UnresolvedPermissionCollection
java.lang.Object
|
+--java.security.PermissionCollection
|
+--PkgAgentSystem.UnresolvedPermissionCollection
- All Implemented Interfaces:
- Serializable
- final class UnresolvedPermissionCollection
- extends PermissionCollection
- implements Serializable
A UnresolvedPermissionCollection stores a collection
of UnresolvedPermission permissions.
- Version:
- 1.5 98/12/01
- Author:
- Roland Schemers
- See Also:
Permission
,
See also java.security.UnresolvedPermission
, Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnresolvedPermissionCollection
public UnresolvedPermissionCollection()
- Create an empty BasicPermissions object.
add
public void add(Permission permission)
- Adds a permission to the BasicPermissions. The key for the hash is
permission.path.
- Overrides:
add
in class PermissionCollection
- Parameters:
permission
- the Permission object to add.
getUnresolvedPermissions
Vector getUnresolvedPermissions(Permission p)
- get any unresolved permissions of the same type as p,
and return the Vector containing them.
implies
public boolean implies(Permission permission)
- always returns false for unresolved permissions
- Overrides:
implies
in class PermissionCollection
elements
public Enumeration elements()
- Returns an enumeration of all the UnresolvedPermission vectors in the
container.
- Overrides:
elements
in class PermissionCollection
- Returns:
- an enumeration of all the UnresolvedPermission objects.
Submit a bug
Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.