Name

UnresolvedPermission

Synopsis

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.

java.security.UnresolvedPermission

Figure 14-46. java.security.UnresolvedPermission

public 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( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.