Class DefaultGigyaAuthService
java.lang.Object
de.hybris.platform.gigya.gigyab2bservices.auth.impl.DefaultGigyaAuthService
- All Implemented Interfaces:
GigyaAuthService
@Deprecated(since="2211")
public class DefaultGigyaAuthService
extends Object
implements GigyaAuthService
Deprecated.
(SAP CDC has introduced accounts.b2b.auth.getAssets and B2B user roles have to be fetched using this API.)
Default implementation of GigyaAuthService which calls the SAP CDC's
Authorization API to fetch Authorizations for a Customer belonging to an
organization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignAuthorisationsToCustomer(CustomerModel customer) Deprecated.Method to assign authorisations to the customer after fetching it from SAP CDC.protected org.springframework.http.HttpEntity<String>createHttpEntity(CustomerModel customer, org.springframework.http.HttpHeaders headers) Deprecated.de.hybris.platform.b2bacceleratorservices.company.B2BCommerceUserServiceDeprecated.de.hybris.platform.site.BaseSiteServiceDeprecated.de.hybris.platform.servicelayer.dto.converter.Converter<CustomerModel,GigyaAuthRequestData> Deprecated.Deprecated.org.springframework.web.client.RestTemplateDeprecated.de.hybris.platform.servicelayer.user.UserServiceDeprecated.voidremoveAuthorisationsOfCustomer(CustomerModel customer) Deprecated.Method to remove authorisations from the customer.voidsetB2bCommerceUserService(de.hybris.platform.b2bacceleratorservices.company.B2BCommerceUserService b2bCommerceUserService) Deprecated.voidsetBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService) Deprecated.voidsetGigyaAuthRequestConverter(de.hybris.platform.servicelayer.dto.converter.Converter<CustomerModel, GigyaAuthRequestData> gigyaAuthRequestConverter) Deprecated.voidsetGigyaTokenGenerator(GigyaTokenGenerator gigyaTokenGenerator) Deprecated.voidsetRestTemplate(org.springframework.web.client.RestTemplate restTemplate) Deprecated.voidsetUserService(de.hybris.platform.servicelayer.user.UserService userService) Deprecated.
-
Constructor Details
-
DefaultGigyaAuthService
public DefaultGigyaAuthService()Deprecated.
-
-
Method Details
-
assignAuthorisationsToCustomer
Deprecated.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
-
createHttpEntity
protected org.springframework.http.HttpEntity<String> createHttpEntity(CustomerModel customer, org.springframework.http.HttpHeaders headers) Deprecated. -
removeAuthorisationsOfCustomer
Deprecated.Description copied from interface:GigyaAuthServiceMethod to remove authorisations from the customer.- Specified by:
removeAuthorisationsOfCustomerin interfaceGigyaAuthService- Parameters:
customer- The customer model
-
getGigyaAuthRequestConverter
public de.hybris.platform.servicelayer.dto.converter.Converter<CustomerModel,GigyaAuthRequestData> getGigyaAuthRequestConverter()Deprecated. -
setGigyaAuthRequestConverter
public void setGigyaAuthRequestConverter(de.hybris.platform.servicelayer.dto.converter.Converter<CustomerModel, GigyaAuthRequestData> gigyaAuthRequestConverter) Deprecated. -
getBaseSiteService
public de.hybris.platform.site.BaseSiteService getBaseSiteService()Deprecated. -
setBaseSiteService
public void setBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService) Deprecated. -
getGigyaTokenGenerator
Deprecated. -
setGigyaTokenGenerator
Deprecated. -
getB2bCommerceUserService
public de.hybris.platform.b2bacceleratorservices.company.B2BCommerceUserService getB2bCommerceUserService()Deprecated. -
setB2bCommerceUserService
public void setB2bCommerceUserService(de.hybris.platform.b2bacceleratorservices.company.B2BCommerceUserService b2bCommerceUserService) Deprecated. -
getUserService
public de.hybris.platform.servicelayer.user.UserService getUserService()Deprecated. -
setUserService
public void setUserService(de.hybris.platform.servicelayer.user.UserService userService) Deprecated. -
getRestTemplate
public org.springframework.web.client.RestTemplate getRestTemplate()Deprecated. -
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) Deprecated.
-