|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Permission
org.systinet.security.perm.WSManagePermission
org.systinet.security.perm.WASPDeployPermission
Permission that allows to deploy packages into WASP.
| Field Summary | |
protected int |
mask
|
static int |
MODULE
This permission name allows deployment of WASP modules |
static int |
TRANSPORT
This permission name allows deployment of WASP transports |
static int |
WS
The permission, which mask accords to this mask, enables deployment of web services and other stuff, except transports and modules. |
| Fields inherited from class org.systinet.security.perm.WSManagePermission |
ALL, ALL_NAMES, GET, SET |
| Constructor Summary | |
WASPDeployPermission()
Constructor with no permission name "ws" (default value) and no permission actions. |
|
WASPDeployPermission(int nameMask)
Creates a new WASPDeployPermission object with the specified name mask, which is an or-ed flag of public static final int values present herein. |
|
WASPDeployPermission(java.lang.String name)
Constructor which takes one parameter - the name of the permission. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks two Permission objects for equality. |
java.lang.String |
getActions()
No actions supported by this permission. |
int |
getNameMask()
Gets the name mask, which is composed out of names. |
int |
hashCode()
Returns the hash code value for this object. |
boolean |
implies(java.security.Permission permission)
This permission implies instances of WASPDeployPermission which have rights equal or
weaker to this permission. |
java.security.PermissionCollection |
newPermissionCollection()
Returns a new PermissionCollection object for storing WASPDeployPermission objects. |
java.lang.String |
toString()
Overriden to return complete description of this permission. |
| Methods inherited from class java.security.Permission |
checkGuard, getName |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int MODULE
public static final int WS
public static final int TRANSPORT
protected transient int mask
| Constructor Detail |
public WASPDeployPermission()
public WASPDeployPermission(java.lang.String name)
"module" allows deployment of WASP modules,
"transport" allows deployment of WASP transports,
"ws" allows deployment of everything except transports
and modules. It has the same meaning as the permission created without
the name.
public WASPDeployPermission(int nameMask)
nameMask - composed out of
| Method Detail |
public java.lang.String toString()
toString in class WSManagePermissionpublic java.lang.String getActions()
getActions in class WSManagePermissionnullpublic boolean implies(java.security.Permission permission)
WASPDeployPermission which have rights equal or
weaker to this permission.
implies in class WSManagePermissionpermission - the permission to check against.
true if the specified permission is implied by this object, false if not.public int hashCode()
this.mask, where mask contains coded information about
this permission.
hashCode in class WSManagePermissionpublic boolean equals(java.lang.Object obj)
equals in class WSManagePermissionobj - the object we are testing for equality with this object
true if both Permission objects are equivalent.public java.security.PermissionCollection newPermissionCollection()
newPermissionCollection in class WSManagePermissionpublic int getNameMask()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||