API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.sql. SQLPermission View Source
Author(s)
Since
1.3
Version
Serial
Hierarchy
 Object
      Permission
          BasicPermission
              SQLPermission
Implements
Subclasses
Description
publicfinal class SQLPermission
  The permission for which the SecurityManager will check when code that is running in an applet calls the DriverManager.setLogWriter method or the DriverManager.setLogStream (deprecated) method.
Constructors
public SQLPermission (String name)
  Creates a new SQLPermission object with the specified name.
public SQLPermission (String name, String actions)
  Creates a new SQLPermission 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.
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
pack-privatefinalstatic long serialVersionUID = "-1439323187199563495"
Private serial version unique ID to ensure serialization compatibility.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar