|
Apache Derby 10.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.security.Permission
java.security.BasicPermission
org.apache.derby.security.SystemPermission
public final class SystemPermission
This class represents access to system-wide Derby privileges.
| Permission | Description | Risk |
|---|---|---|
| "jmx" "control" | Controls the ability of JMX clients to control Derby and view security sensitive attributes through Derby's MBeans. | JMX clients may be able to change the state of the running system |
| "jmx" "monitor" | Controls the ability of JMX clients to
monitor Derby through Derby's MBeans, such as viewing number of current connections and
configuration settings. Note: security related settings require control
action on jmx | JMX clients can see information about a runing system including software versions. |
| Field Summary | |
|---|---|
static java.lang.String |
CONTROL
Action ( "control") to perform control actions through JMX
on engine, server or jmx. |
static java.lang.String |
ENGINE
Permission target name ( "engine") for actions applicable
to the core database engine. |
static java.lang.String |
JMX
Permission target name ( "jmx") for actions applicable
to management of Derby's JMX MBeans. |
static java.lang.String |
MONITOR
Action ( "monitor") to perform monitoring actions through JMX
on engine and server. |
static java.lang.String |
SERVER
Permission target name ( "server") for actions applicable
to the network server. |
static java.lang.String |
SHUTDOWN
The server and engine shutdown action ( "shutdown"). |
| Constructor Summary | |
|---|---|
SystemPermission(java.lang.String name,
java.lang.String actions)
Creates a new SystemPermission with the specified name. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Does this permission equal another object. |
java.lang.String |
getActions()
Return the permission's actions in a canonical form. |
boolean |
implies(java.security.Permission permission)
Does this permission imply another. |
| Methods inherited from class java.security.BasicPermission |
|---|
hashCode, newPermissionCollection |
| Methods inherited from class java.security.Permission |
|---|
checkGuard, getName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVER
"server") for actions applicable
to the network server.
public static final java.lang.String ENGINE
"engine") for actions applicable
to the core database engine.
public static final java.lang.String JMX
"jmx") for actions applicable
to management of Derby's JMX MBeans.
public static final java.lang.String SHUTDOWN
"shutdown").
public static final java.lang.String CONTROL
"control") to perform control actions through JMX
on engine, server or jmx.
For JMX control permission is required to get attributes that are deemed sensiive from a security aspect, such as the network server's port number, security mechanisms and any information about the file system.
public static final java.lang.String MONITOR
"monitor") to perform monitoring actions through JMX
on engine and server.
| Constructor Detail |
|---|
public SystemPermission(java.lang.String name,
java.lang.String actions)
name - the name of the SystemPermission
java.lang.NullPointerException - if name is null
java.lang.IllegalArgumentException - if name is empty or not a legal SystemPermissionBasicPermission.BasicPermission(String)| Method Detail |
|---|
public java.lang.String getActions()
getActions in class java.security.BasicPermissionpublic boolean equals(java.lang.Object other)
equals in class java.security.BasicPermissionpublic boolean implies(java.security.Permission permission)
implies in class java.security.BasicPermission
|
Built on Mon 2009-08-10 13:17:35-0700, from revision 802917 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||