|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An ISecurityManager is a repository submanager which controls the access to resources - an ISecurityManager might be an IAclSecurityManager (using Access Control Lists)
| Method Summary | |
IPermission |
getPermission(java.lang.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) |
java.lang.String |
getType()
Returns the type attribute of this security manager. |
boolean |
isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.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)
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)
Checks, whether a user has some permissions on all specified resources. |
| Method Detail |
public IPermissionList getSupportedPermissions(IResource resource)
throws ResourceException
resource - the resourceResourceException - the resource RID could not be determinedpublic IPermission getPermission(java.lang.String name)
name - the permission name
public boolean isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermission permission)
throws ResourceException
resource - the resourceuser - the user IDpermission - the permissionResourceException - the resource RID could not be determined
public boolean isAllowed(IResource resource,
com.sapportals.portal.security.usermanagement.IUser user,
IPermissionList permissions)
throws ResourceException
resource - the resourceuser - the user IDpermissions - A list of permissionResourceException - the resource RID could not be determined
public IRidSet isAllowed(IRidList ridList,
com.sapportals.portal.security.usermanagement.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 determinedpublic java.lang.String getType()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||