API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. BasicPermission View Source
Author(s)
Marianne Mueller
Roland Schemers
Since
Version
1.44 05/11/17
Serial
Hierarchy
 Object
      Permission
          BasicPermission
Implements
 Serializable
Subclasses
Description
publicabstract abstract class BasicPermission
  The BasicPermission class extends the Permission class, and can be used as the base class for permissions that want to follow the same naming convention as BasicPermission.
Constructors
public BasicPermission (String name)
  Creates a new BasicPermission with the specified name.
public BasicPermission (String name, String actions)
  Creates a new BasicPermission 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) [Specified in Permission]
  Checks two BasicPermission 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 a BasicPermission.
pack-privatefinal String getCanonicalName ()
  Returns the canonical name of this BasicPermission.
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 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