|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.manager.AbstractRepositorySubManager
com.sap.netweaver.coll.attachment.AttachmentSecurityManager
public class AttachmentSecurityManager
| Field Summary |
|---|
| Fields inherited from class com.sapportals.wcm.repository.manager.AbstractRepositorySubManager |
|---|
repositoryManager |
| Constructor Summary | |
|---|---|
AttachmentSecurityManager(IRepositoryManager manager)
|
|
| Method Summary | |
|---|---|
IPermission |
getCorrectPermission(IPermission permission,
IResource attaRes,
IResource orgRes)
|
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,
com.sap.security.api.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,
com.sap.security.api.IUser user,
IPermissionList permissions)
Checks, whether a user has some permissions on a specific resource |
com.sapportals.wcm.util.uri.IRidSet |
isAllowed(com.sapportals.wcm.util.uri.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) |
com.sapportals.wcm.util.uri.IRidSet |
isAllowed(com.sapportals.wcm.util.uri.IRidList ridList,
com.sap.security.api.IUser user,
IPermissionList permissions,
IResourceContext context)
Checks, whether a user has some permissions on all specified resources. |
| Methods inherited from class com.sapportals.wcm.repository.manager.AbstractRepositorySubManager |
|---|
checkAuthorization, getSecurity, readExternalContent, sendEvent, sendEvent, shutDown, startUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentSecurityManager(IRepositoryManager manager)
| Method Detail |
|---|
public String getType()
ISecurityManager
getType in interface ISecurityManager
public IPermissionList getSupportedPermissions(IResource resource)
throws ResourceException
ISecurityManager
getSupportedPermissions in interface ISecurityManagerresource - the resource
ResourceException - the resource RID could not be determinedpublic IPermission getPermission(String name)
ISecurityManager
getPermission in interface ISecurityManagername - the permission name
null if the permission is not supported.
public boolean isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermission permission)
throws ResourceException
isAllowed(IResource,com.sap.security.api.IUser,IPermission)
ISecurityManager
isAllowed in interface ISecurityManagerresource - the resourceuser - the user IDpermission - the permission
ResourceException - the resource RID could not be determined
public boolean isAllowed(IResource resource,
com.sap.security.api.IUser user,
IPermission permission)
throws ResourceException
ISecurityManager
isAllowed in interface ISecurityManagerresource - the resourceuser - the user IDpermission - the permission
ResourceException - the resource RID could not be determined
public com.sapportals.wcm.util.uri.IRidSet isAllowed(com.sapportals.wcm.util.uri.IRidList ridList,
com.sapportals.portal.security.usermanagement.IUser user,
IPermissionList permissions,
IResourceContext context)
throws ResourceException
isAllowed(IRidList,com.sap.security.api.IUser,IPermissionList,IResourceContext)
ISecurityManager
isAllowed in interface ISecurityManagerridList - A list of resource identifiers to checkuser - the user IDpermissions - A list of permissioncontext - The resource context
ResourceException - the resource RID could not be determined
public com.sapportals.wcm.util.uri.IRidSet isAllowed(com.sapportals.wcm.util.uri.IRidList ridList,
com.sap.security.api.IUser user,
IPermissionList permissions,
IResourceContext context)
throws ResourceException
ISecurityManager
isAllowed in interface ISecurityManagerridList - A list of resource identifiers to checkuser - the user IDpermissions - A list of permissioncontext - The resource context
ResourceException - the resource RID could not be determined
public boolean isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermissionList permissions)
throws ResourceException
isAllowed(IResource,com.sap.security.api.IUser,IPermissionList)
ISecurityManager
isAllowed in interface ISecurityManagerresource - the resourceuser - the user IDpermissions - A list of permission
ResourceException - the resource RID could not be determined
public boolean isAllowed(IResource resource,
com.sap.security.api.IUser user,
IPermissionList permissions)
throws ResourceException
ISecurityManager
isAllowed in interface ISecurityManagerresource - the resourceuser - the user IDpermissions - A list of permission
ResourceException - the resource RID could not be determined
public IPermission getCorrectPermission(IPermission permission,
IResource attaRes,
IResource orgRes)
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||