API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. UnresolvedPermission View Source
Author(s)
Roland Schemers
Since
Version
1.31 05/11/17
Serial
Hierarchy
 Object
      Permission
          UnresolvedPermission
Implements
 Serializable
Subclasses
Description
publicfinal class UnresolvedPermission
  The UnresolvedPermission class is used to hold Permissions that were "unresolved" when the Policy was initialized.
Constructors
public UnresolvedPermission (String type, String name, String actions, Certificate certs)
  Creates a new UnresolvedPermission containing the permission information needed later to actually create a Permission of the specified class, when the permission is resolved.
Methods
Hide/Show inherited methods
public void checkGuard (Object object) throws SecurityException [Inherited From Permission]
  Implements the guard interface for a permission.
public boolean equals (Object obj) [Specified in Permission]
  Checks two UnresolvedPermission objects for equality.
public String getActions () [Specified in Permission]
  Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for an UnresolvedPermission.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public String getUnresolvedActions ()
  Get the actions for the underlying permission that has not been resolved.
public Certificate getUnresolvedCerts ()
  Get the signer certificates (without any supporting chain) for the underlying permission that has not been resolved.
public String getUnresolvedName ()
  Get the target name of the underlying permission that has not been resolved.
public String getUnresolvedType ()
  Get the type (class name) of the underlying permission that has not been resolved.
public int hashCode () [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Specified in Permission]
  This method always returns false for unresolved permissions.
public PermissionCollection newPermissionCollection () [Overrides Permission]
  Returns a new PermissionCollection object for storing UnresolvedPermission objects.
pack-private Permission resolve (Permission p, Certificate certs)
try and resolve this permission using the class loader of the permission that was passed in.
public String toString () [Overrides Permission]
  Returns a string describing this UnresolvedPermission.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar