Class BmUserValidator
java.lang.Object
de.hybris.platform.billmanagementtmfwebservices.v2.security.BmUserValidator
Validates if the authenticated user is authorized to access a resource
- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionBmUserValidator(de.hybris.platform.servicelayer.user.UserService userService, TuaPartyBillService partyBillService) -
Method Summary
Modifier and TypeMethodDescriptionprotected TuaPartyBillServiceprotected de.hybris.platform.servicelayer.user.UserServicebooleanisResourceOwner(org.springframework.security.core.Authentication authentication, String customerBillId)
-
Constructor Details
-
BmUserValidator
public BmUserValidator(de.hybris.platform.servicelayer.user.UserService userService, TuaPartyBillService partyBillService)
-
-
Method Details
-
isResourceOwner
public boolean isResourceOwner(org.springframework.security.core.Authentication authentication, String customerBillId) -
getUserService
protected de.hybris.platform.servicelayer.user.UserService getUserService() -
getPartyBillService
-