PkgAgentSystem
Class UnresolvedPermissionCollection
java.lang.Object
|
+--java.security.PermissionCollection
|
+--PkgAgentSystem.UnresolvedPermissionCollection
- 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.
- Parameters:
permission
- the Permission object to add.- Overrides:
- add in class PermissionCollection
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.
- Returns:
- an enumeration of all the UnresolvedPermission objects.
- Overrides:
- elements in class PermissionCollection
Submit a bug
Copyright 2000 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.