com.sonicsw.mf.common.security
Class ManagementPermissionFactory
java.lang.Object
com.sonicsw.mf.common.security.ManagementPermissionFactory
public class ManagementPermissionFactory
- extends java.lang.Object
This factory is used to create IManagementPermission instances.
- See Also:
IManagementPermission,
IManagementSecurityConfigurator,
IConfigurePermissionBits,
IManagePermissionBits,
IConfigureScopeBits,
IManageScopeBits
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagementPermissionFactory
public ManagementPermissionFactory()
createManagementPermission
public IManagementPermission createManagementPermission(java.lang.String principal,
short principalType)
- Creates a management permission object to define a new management permission.
- Parameters:
principal - The user or group to which the permission will apply.principalType - Whether the given principal is a user (USER_PRINCIPAL_TYPE)
or a group (GROUP_PRINCIPAL_TYPE).- See Also:
IManagementSecurityConfigurator.setManagementPermissions(java.lang.String[], java.lang.String, com.sonicsw.mf.common.security.IManagementPermission[][])
createManagementPermission
public IManagementPermission createManagementPermission(java.lang.String principal,
short principalType,
int scope,
int permissions)
- Creates a management permission object to define a new management permission.
- Parameters:
principal - The user or group to which the permission will apply.principalType - Whether the given principal is a user (USER_PRINCIPAL_TYPE)
or a group (GROUP_PRINCIPAL_TYPE).scope - The sum of the scope bits to which the permission should apply.permissions - The sum of the permission bits to which the permission should apply.- See Also:
IManagementSecurityConfigurator.setManagementPermissions(java.lang.String[], java.lang.String, com.sonicsw.mf.common.security.IManagementPermission[][]),
IConfigurePermissionBits,
IManagePermissionBits,
IConfigureScopeBits,
IManageScopeBits
Copyright © 2001-2011
Progress Software Corporation. All Rights Reserved.
HTML formatted on 12-Aug-2011.