API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. SecurityPermission View Source
Author(s)
Marianne Mueller
Roland Schemers
Since
Version
1.30 06/04/21
Serial
Hierarchy
 Object
      Permission
          BasicPermission
              SecurityPermission
Implements
Subclasses
Description
publicfinal class SecurityPermission
  This class is for security permissions.
Constructors
public SecurityPermission (String name)
  Creates a new SecurityPermission with the specified name.
public SecurityPermission (String name, String actions)
  Creates a new SecurityPermission object with the specified name.
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) [Inherited From BasicPermission] [Specified in Permission]
  Checks two BasicPermission objects for equality.
public String getActions () [Inherited From BasicPermission] [Specified in Permission]
  Returns the canonical string representation of the actions, which currently is the empty string "", since there are no actions for a BasicPermission.
pack-privatefinal String getCanonicalName () [Inherited From BasicPermission]
  Returns the canonical name of this BasicPermission.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public int hashCode () [Inherited From BasicPermission] [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Inherited From BasicPermission] [Specified in Permission]
  Checks if the specified permission is "implied" by this object.
public PermissionCollection newPermissionCollection () [Inherited From BasicPermission]
  Returns a new PermissionCollection object for storing BasicPermission 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