Class DefaultUserMappingPropertiesService<P extends UserMappingProperties.FieldMapping>
java.lang.Object
com.broadleafcommerce.auth.security.service.DefaultUserMappingPropertiesService<P>
- All Implemented Interfaces:
UserMappingPropertiesService<P>
public class DefaultUserMappingPropertiesService<P extends UserMappingProperties.FieldMapping>
extends Object
implements UserMappingPropertiesService<P>
This service provides
UserMappingProperties.FieldMapping objects built from
UserMappingProperties defined through application properties. All methods of this class
will gracefully return null if the UserMappingProperties properties are not set.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserMappingPropertiesService(UserMappingProperties userMappingProperties, UserFieldMappingService userFieldMappingService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetCustomerMappings(String tenantId) Find all user field mappings for a tenantprotected com.broadleafcommerce.common.extension.TypeFactoryprotected UserFieldMappingServiceprotected UserMappingProperties
-
Constructor Details
-
DefaultUserMappingPropertiesService
public DefaultUserMappingPropertiesService(UserMappingProperties userMappingProperties, UserFieldMappingService userFieldMappingService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
-
Method Details
-
getCustomerMappings
Description copied from interface:UserMappingPropertiesServiceFind all user field mappings for a tenant- Specified by:
getCustomerMappingsin interfaceUserMappingPropertiesService<P extends UserMappingProperties.FieldMapping>- Parameters:
tenantId- the tenant ID- Returns:
- a page of user field mappings for the tenant
-
getUserMappingProperties
-
getUserFieldMappingService
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
-