Interface SpaceAccessControl
-
- All Superinterfaces:
AccessController<String>
- All Known Implementing Classes:
SpaceAccessController
public interface SpaceAccessControl extends AccessController<String>
This interface extends access controller for a Space resource.- Author:
- Yohann Chastagnier
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static SpaceAccessControl
get()
default boolean
isUserAuthorized(String userId, ResourceIdentifier id)
Checks if the specified user may access the object with the specified identifier.-
Methods inherited from interface org.silverpeas.core.security.authorization.AccessController
filterAuthorizedByUser, filterAuthorizedByUser, getUserRoles, isGroupAuthorized, isUserAuthorized, isUserAuthorized, isUserAuthorized
-
-
-
-
Method Detail
-
get
static SpaceAccessControl get()
-
isUserAuthorized
default boolean isUserAuthorized(String userId, ResourceIdentifier id)
Description copied from interface:AccessController
Checks if the specified user may access the object with the specified identifier.- Specified by:
isUserAuthorized
in interfaceAccessController<String>
- Parameters:
userId
- the unique identifier of the user.id
- the unique identifier of the object to be accessed in Silverpeas.- Returns:
- true if access is granted - false otherwise.
-
-