|
Sonic Management API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IManagementPermission
This interface defines the API of a management permission object.
ManagementPermissionFactory,
IManagementSecurityConfigurator,
IConfigurePermissionBits,
IManagePermissionBits,
IConfigureScopeBits,
IManageScopeBits| Field Summary | |
|---|---|
static java.lang.String |
CONFIGURE_TYPE
Constant for the "configure" management permission type. |
static short |
GROUP_PRINCIPAL_TYPE
Constant for a group principal type. |
static java.lang.String |
MANAGE_TYPE
Constant for the "manage" management permission type. |
static java.lang.String |
SUPER_USER_NAME
Constant for the IManagementPermission.SUPER_USER_NAME super-user identity. |
static short |
UNKNOWN_PRINCIPAL_TYPE
Constant for an unknown principal type. |
static short |
USER_PRINCIPAL_TYPE
Constant for a user principal type. |
| Method Summary | |
|---|---|
int |
getPermissions()
Gets the permissions to be applied. |
java.lang.String |
getPrincipal()
Gets the principal to which the management permission applies. |
short |
getPrincipalType()
Gets the principal type to which the management permission applies. |
int |
getScope()
Gets the scope to which the management permission applies. |
void |
setPermissions(int permissions)
Sets the permissions to be applied. |
void |
setScope(int scope)
Sets the scope to which the management permission applies. |
| Field Detail |
|---|
static final java.lang.String CONFIGURE_TYPE
static final short GROUP_PRINCIPAL_TYPE
static final java.lang.String MANAGE_TYPE
static final java.lang.String SUPER_USER_NAME
static final short UNKNOWN_PRINCIPAL_TYPE
static final short USER_PRINCIPAL_TYPE
| Method Detail |
|---|
int getPermissions()
setPermissions(int),
IConfigurePermissionBits,
IManagePermissionBitsjava.lang.String getPrincipal()
getPrincipalType()short getPrincipalType()
getPrincipal(),
USER_PRINCIPAL_TYPE,
GROUP_PRINCIPAL_TYPEint getScope()
setScope(int),
IConfigureScopeBits,
IManageScopeBitsvoid setPermissions(int permissions)
permissions - The sum of the permission bits to be applied.getPermissions(),
IConfigurePermissionBits,
IManagePermissionBitsvoid setScope(int scope)
scope - The sum of the scope bits to which the management permission applies.getScope(),
IConfigureScopeBits,
IManageScopeBits
|
Sonic Management API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||