API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. AllPermission View Source
Author(s)
Roland Schemers
Since
Version
1.21 05/11/17
Serial
exclude
Hierarchy
 Object
      Permission
          AllPermission
Implements
Subclasses
Description
publicfinal class AllPermission
  The AllPermission is a permission that implies all other permissions.
Constructors
public AllPermission ()
Creates a new AllPermission object.
public AllPermission (String name, String actions)
  Creates a new AllPermission object.
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 AllPermission objects for equality.
public String getActions () [Specified in Permission]
  Returns the canonical string representation of the actions.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public int hashCode () [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Specified in Permission]
  Checks if the specified permission is "implied" by this object.
public PermissionCollection newPermissionCollection () [Overrides Permission]
  Returns a new PermissionCollection object for storing AllPermission objects.
public String toString () [Inherited From Permission]
  Returns a string describing this Permission.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar