Interface UserTargetGenerationService

All Known Implementing Classes:
DefaultUserTargetGenerationService

public interface UserTargetGenerationService
Author:
Chad Harchar (charchar)
  • Method Details

    • gatherUserTargetsFromAuthentication

      Set<UserTarget> gatherUserTargetsFromAuthentication()
      Create and return user targets for use in pricing and offer provider requests. Uses the current authentication token to determine principal and details.
      Returns:
      set of user targets for the current security context.
    • gatherUserTargetsFromContextAndAuth

      default Set<UserTarget> gatherUserTargetsFromContextAndAuth(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Create and return user targets for use in pricing and offer provider requests. Uses context information to determine principal and details, otherwise uses the current authentication token.
      Returns:
      set of user targets for the current context.