Class AddSiteNameRequestAttribute
java.lang.Object
org.ametys.web.rights.solrchecking.AddSiteNameRequestAttribute
- All Implemented Interfaces:
AllowedUsersActionAdditionalOperations
public class AddSiteNameRequestAttribute
extends Object
implements AllowedUsersActionAdditionalOperations
AllowedUsersActionAdditionalOperations for adding the site of the current AmetysObject (if it is a SiteAwareAmetysObject) as a request attribute.
Some AccessControllers are based on this request attribute value to compute their results.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterGettingAllowedUsers(AmetysObject ametysObject, Request request) Do an additional operation afterAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)voidbeforeGettingAllowedUsers(AmetysObject ametysObject, Request request) Do an additional operation beforeAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)
-
Constructor Details
-
AddSiteNameRequestAttribute
public AddSiteNameRequestAttribute()
-
-
Method Details
-
beforeGettingAllowedUsers
Description copied from interface:AllowedUsersActionAdditionalOperationsDo an additional operation beforeAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)- Specified by:
beforeGettingAllowedUsersin interfaceAllowedUsersActionAdditionalOperations- Parameters:
ametysObject- The AmetysObject which will be passed toRightManager.getReadAccessAllowedUsers(Object)request- The current request
-
afterGettingAllowedUsers
Description copied from interface:AllowedUsersActionAdditionalOperationsDo an additional operation afterAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)- Specified by:
afterGettingAllowedUsersin interfaceAllowedUsersActionAdditionalOperations- Parameters:
ametysObject- The AmetysObject which will be passed toRightManager.getReadAccessAllowedUsers(Object)request- The current request
-