java.security
public final class UnresolvedPermission extends Permission
Policy object is instantiated. This may happen when the
necessary security class has not yet been downloaded from the network.
Instances of this class are re-resolved when
AccessController check is done. At that time, a scan is
made of all existing UnresolvedPermission objects and they
are converted to objects of the appropriate permission type if the class
for that type is then available.
Since: 1.1
See Also: Permission Permissions PermissionCollection Policy
UNKNOWN: updated to 1.4
| Constructor Summary | |
|---|---|
| UnresolvedPermission(String type, String name, String actions, Certificate[] certs)
Create a new instance with all the information necessary to resolve it
to an instance of the proper class at a future time.
| |
| Method Summary | |
|---|---|
| boolean | equals(Object obj)
This method tests this permission for equality against the specified
Object. |
| String | getActions()
This method returns the list of actions associated with this
permission.
|
| String | getUnresolvedActions()
Return the actions of the unresolved permission, or null
if there are no actions. |
| Certificate[] | getUnresolvedCerts()
Return the certificates of the unresolved permission.
|
| String | getUnresolvedName()
Return the name of the unresolved permission. |
| String | getUnresolvedType()
Return the name of the class of the unresolved permission. |
| int | hashCode()
Returns a hash code value for this object. |
| boolean | implies(Permission perm)
This method returns false always to indicate that this
permission does not imply the specified permission. |
| PermissionCollection | newPermissionCollection()
This class returns a PermissionCollection object that can
be used to store instances of UnresolvedPermission.
|
| String | toString()
This method returns a String representation of this
class. |
Parameters: type the fully-qualified name of the class of this permission name the name of this permission actions the action list for this permission certs the list of certificates that sign this permission
Object. This will be true if and only if the following
conditions are met:Object is an UnresolvedPermissionParameters: obj the Object to test for equality
Returns: true if the specified object is equal to this one
Returns: the action list
Since: 1.5
Since: 1.5
Since: 1.5
Since: 1.5
Returns: A hash value
false always to indicate that this
permission does not imply the specified permission. An
UnresolvedPermission never grants any permissions.
Parameters: perm the Permission object to test
Returns: false; until a permission is resolved, it implies nothing
PermissionCollection object that can
be used to store instances of UnresolvedPermission.
Returns: a new PermissionCollection
String representation of this
class. The format is: '(unresolved "ClassName "name" "actions")'
Returns: String representation of this object