Class DefaultGigyaAuthService

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

public class DefaultGigyaAuthService extends Object implements GigyaAuthService
Default implementation of GigyaAuthService which calls the SAP CDC's Authorization API to fetch Authorizations for a Customer belonging to an organization
  • Constructor Details

    • DefaultGigyaAuthService

      public DefaultGigyaAuthService()
  • 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
    • createHttpEntity

      protected org.springframework.http.HttpEntity createHttpEntity(CustomerModel customer, org.springframework.http.HttpHeaders headers)
    • 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
    • getGigyaAuthRequestConverter

      public de.hybris.platform.servicelayer.dto.converter.Converter<CustomerModel,GigyaAuthRequestData> getGigyaAuthRequestConverter()
    • setGigyaAuthRequestConverter

      public void setGigyaAuthRequestConverter(de.hybris.platform.servicelayer.dto.converter.Converter<CustomerModel,GigyaAuthRequestData> gigyaAuthRequestConverter)
    • getBaseSiteService

      public de.hybris.platform.site.BaseSiteService getBaseSiteService()
    • setBaseSiteService

      public void setBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService)
    • getGigyaTokenGenerator

      public GigyaTokenGenerator getGigyaTokenGenerator()
    • setGigyaTokenGenerator

      public void setGigyaTokenGenerator(GigyaTokenGenerator gigyaTokenGenerator)
    • getB2bCommerceUserService

      public de.hybris.platform.b2b.company.B2BCommerceUserService getB2bCommerceUserService()
    • setB2bCommerceUserService

      public void setB2bCommerceUserService(de.hybris.platform.b2b.company.B2BCommerceUserService b2bCommerceUserService)
    • getUserService

      public de.hybris.platform.servicelayer.user.UserService getUserService()
    • setUserService

      public void setUserService(de.hybris.platform.servicelayer.user.UserService userService)
    • getRestTemplate

      public org.springframework.web.client.RestTemplate getRestTemplate()
    • setRestTemplate

      public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)