com.silverpeas.accesscontrol
Class WorkspaceAccessController
java.lang.Object
com.silverpeas.accesscontrol.AbstractAccessController<String>
com.silverpeas.accesscontrol.WorkspaceAccessController
- All Implemented Interfaces:
- AccessController<String>
@Named
public class WorkspaceAccessController
- extends AbstractAccessController<String>
Check the access to a Silverpeas workspace for a user.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceAccessController
public WorkspaceAccessController()
isUserAuthorized
public boolean isUserAuthorized(String userId,
String spaceId,
AccessControlContext context)
- Description copied from interface:
AccessController
- Checks if the specified user may access the specified object.
- Parameters:
userId
- the unique identifier of the user.spaceId
- the object to be accessed.context
- the context in which the object is accessed.
- Returns:
- true if access is granted - false otherwise.
Copyright © 2016 Silverpeas. All Rights Reserved.