public interface ISecurityManager
| Modifier and Type | Method and Description |
|---|---|
IPermission |
getPermission(String name)
Returns the IPermission object for a supported permission with a given name
|
IPermissionList |
getSupportedPermissions(IResource resource)
Returns a a list of permissions which are supported by the security manager
for a specific resource (the result depends on wether the resource is a
collection or not)
|
String |
getType()
Returns the type attribute of this security manager.
|
boolean |
isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermission permission)
Deprecated.
As of NetWeaver 7.1, replaced by
isAllowed(IResource,com.sap.security.api.IUser,IPermission) |
boolean |
isAllowed(IResource resource,
IUser user,
IPermission permission)
Checks, whether a user has a specific permission on a specific resource
|
boolean |
isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermissionList permissions)
Deprecated.
As of NetWeaver 7.1, replaced by
isAllowed(IResource,com.sap.security.api.IUser,IPermissionList) |
boolean |
isAllowed(IResource resource,
IUser user,
IPermissionList permissions)
Checks, whether a user has some permissions on a specific resource
|
IRidSet |
isAllowed(IRidList ridList,
com.sapportals.portal.security.usermanagement.IUser user,
IPermissionList permissions,
IResourceContext context)
Deprecated.
As of NetWeaver 7.1, replaced by
isAllowed(IRidList,com.sap.security.api.IUser,IPermissionList,IResourceContext) |
IRidSet |
isAllowed(IRidList ridList,
IUser user,
IPermissionList permissions,
IResourceContext context)
Checks, whether a user has some permissions on all specified resources.
|
IPermissionList getSupportedPermissions(IResource resource) throws ResourceException
resource - the resourceResourceException - the resource RID could not be determinedIPermission getPermission(String name)
name - the permission namenull if the permission is not supported.boolean isAllowed(IResource resource, com.sapportals.portal.security.usermanagement.IUser user, IPermission permission) throws ResourceException
isAllowed(IResource,com.sap.security.api.IUser,IPermission)resource - the resourceuser - the user IDpermission - the permissionResourceException - the resource RID could not be determinedboolean isAllowed(IResource resource, IUser user, IPermission permission) throws ResourceException
resource - the resourceuser - the user IDpermission - the permissionResourceException - the resource RID could not be determinedboolean isAllowed(IResource resource, com.sapportals.portal.security.usermanagement.IUser user, IPermissionList permissions) throws ResourceException
isAllowed(IResource,com.sap.security.api.IUser,IPermissionList)resource - the resourceuser - the user IDpermissions - A list of permissionResourceException - the resource RID could not be determinedboolean isAllowed(IResource resource, IUser user, IPermissionList permissions) throws ResourceException
resource - the resourceuser - the user IDpermissions - A list of permissionResourceException - the resource RID could not be determinedIRidSet isAllowed(IRidList ridList, com.sapportals.portal.security.usermanagement.IUser user, IPermissionList permissions, IResourceContext context) throws ResourceException
isAllowed(IRidList,com.sap.security.api.IUser,IPermissionList,IResourceContext)ridList - A list of resource identifiers to checkuser - the user IDpermissions - A list of permissioncontext - The resource contextResourceException - the resource RID could not be determinedIRidSet isAllowed(IRidList ridList, IUser user, IPermissionList permissions, IResourceContext context) throws ResourceException
ridList - A list of resource identifiers to checkuser - the user IDpermissions - A list of permissioncontext - The resource contextResourceException - the resource RID could not be determinedString getType()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2017 SAP AG Complete Copyright Notice