Class BaUserValidator
java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v2.security.BaUserValidator
Validates if the authenticated user is authorized to access a resource
- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionBaUserValidator(de.hybris.platform.servicelayer.user.UserService userService, TuaBillingAccountService billingAccountService) -
Method Summary
Modifier and TypeMethodDescriptionprotected TuaBillingAccountServiceprotected de.hybris.platform.servicelayer.user.UserServicebooleanisResourceOwner(org.springframework.security.core.Authentication authentication, String billingAccountId)
-
Constructor Details
-
BaUserValidator
public BaUserValidator(de.hybris.platform.servicelayer.user.UserService userService, TuaBillingAccountService billingAccountService)
-
-
Method Details
-
isResourceOwner
public boolean isResourceOwner(org.springframework.security.core.Authentication authentication, String billingAccountId) -
getUserService
protected de.hybris.platform.servicelayer.user.UserService getUserService() -
getBillingAccountService
-