java.sql
public
final
class
java.sql.SQLPermission
Permission relating to security access control in the java.sql package.
Currently, the only permission supported has the name "setLog". The setLog
permission controls whether a Java application or applet can open a logging
stream using the DriverManager.setLogWriter method or the
DriverManager.setLogStream method. This is a potentially dangerous operation
since the logging stream can contain usernames, passwords
Summary
Public Constructors
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
SQLPermission(String name)
Creates a new SQLPermission object with the specified name.
Parameters
name
| the name to use for this SQLPermission
|
public
SQLPermission(String name, String actions)
Creates a new SQLPermission object with the specified name.
Parameters
name
| is the name of the SQLPermission. Currently only "setLog" is
allowed. |
actions
| is currently unused and should be set to null
|