Class GigyaAssetsAuthService
java.lang.Object
de.hybris.platform.gigya.gigyab2bservices.auth.impl.GigyaAssetsAuthService
- All Implemented Interfaces:
GigyaAuthService
Default implementation of GigyaAuthService which calls the SAP CDC's
accounts.b2b.auth.getAssets API to fetch Authorizations for a Customer belonging to an
organization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignAuthorisationsToCustomer(CustomerModel customer) Method to assign authorisations to the customer after fetching it from SAP CDC.protected com.gigya.socialize.GSObjectconvertMapToGsObject(com.fasterxml.jackson.databind.ObjectMapper mapper, Map<String, Object> parms) protected com.gigya.socialize.GSResponsegetAssets(GigyaConfigModel gigyaConfig, com.fasterxml.jackson.databind.ObjectMapper mapper, B2BCustomerModel b2bCustomer) de.hybris.platform.site.BaseSiteServicede.hybris.platform.servicelayer.user.UserServicevoidremoveAuthorisationsOfCustomer(CustomerModel customer) Method to remove authorisations from the customer.voidsetBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService) voidsetGigyaService(GigyaService gigyaService) voidsetUserService(de.hybris.platform.servicelayer.user.UserService userService)
-
Constructor Details
-
GigyaAssetsAuthService
public GigyaAssetsAuthService()
-
-
Method Details
-
assignAuthorisationsToCustomer
Description copied from interface:GigyaAuthServiceMethod to assign authorisations to the customer after fetching it from SAP CDC.- Specified by:
assignAuthorisationsToCustomerin interfaceGigyaAuthService- Parameters:
customer- The customer model
-
getAssets
protected com.gigya.socialize.GSResponse getAssets(GigyaConfigModel gigyaConfig, com.fasterxml.jackson.databind.ObjectMapper mapper, B2BCustomerModel b2bCustomer) -
convertMapToGsObject
-
removeAuthorisationsOfCustomer
Description copied from interface:GigyaAuthServiceMethod to remove authorisations from the customer.- Specified by:
removeAuthorisationsOfCustomerin interfaceGigyaAuthService- Parameters:
customer- The customer model
-
getBaseSiteService
public de.hybris.platform.site.BaseSiteService getBaseSiteService() -
setBaseSiteService
public void setBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService) -
getUserService
public de.hybris.platform.servicelayer.user.UserService getUserService() -
setUserService
public void setUserService(de.hybris.platform.servicelayer.user.UserService userService) -
getGigyaService
-
setGigyaService
-