Class GigyaAssetsAuthService

java.lang.Object
de.hybris.platform.gigya.gigyab2bservices.auth.impl.GigyaAssetsAuthService
All Implemented Interfaces:
GigyaAuthService

public class GigyaAssetsAuthService extends Object implements 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 Details

    • GigyaAssetsAuthService

      public GigyaAssetsAuthService()
  • Method Details

    • assignAuthorisationsToCustomer

      public void assignAuthorisationsToCustomer(CustomerModel customer)
      Description copied from interface: GigyaAuthService
      Method to assign authorisations to the customer after fetching it from SAP CDC.
      Specified by:
      assignAuthorisationsToCustomer in interface GigyaAuthService
      Parameters:
      customer - The customer model
    • getAssets

      protected com.gigya.socialize.GSResponse getAssets(GigyaConfigModel gigyaConfig, com.fasterxml.jackson.databind.ObjectMapper mapper, B2BCustomerModel b2bCustomer)
    • convertMapToGsObject

      protected com.gigya.socialize.GSObject convertMapToGsObject(com.fasterxml.jackson.databind.ObjectMapper mapper, Map<String,Object> parms)
    • removeAuthorisationsOfCustomer

      public void removeAuthorisationsOfCustomer(CustomerModel customer)
      Description copied from interface: GigyaAuthService
      Method to remove authorisations from the customer.
      Specified by:
      removeAuthorisationsOfCustomer in interface GigyaAuthService
      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

      public GigyaService getGigyaService()
    • setGigyaService

      public void setGigyaService(GigyaService gigyaService)