This class is used internally to provide a mechanism for delayed resolution of permissions (such as those whose implementation is in an external JAR file that has not been loaded yet). An UnresolvedPermission holds a representation of a Permission object that can later be used to create the actual Permission object. Java 5.0 adds methods to obtain details about the unresolved permission. Applications never need to use this class. Figure 14-46. java.security.UnresolvedPermissionpublic final class UnresolvedPermission extends Permission implements Serializable { // Public Constructors public UnresolvedPermission (String type , String name , String actions , java.security.cert.Certificate[ ] certs ); // Public Instance Methods 5.0 public String getUnresolvedActions ( ); 5.0 public java.security.cert.Certificate[ ] getUnresolvedCerts ( ); 5.0 public String getUnresolvedName ( ); 5.0 public String getUnresolvedType ( ); // Public Methods Overriding Permission public boolean equals (Object obj ); public String getActions ( ); public int hashCode ( ); public boolean implies (Permission p ); constant public PermissionCollection newPermissionCollection ( ); public String toString ( ); } |