Spartacus ASM 模式下用户名的大小写问题

简介: Spartacus ASM 模式下用户名的大小写问题

Spartacus ASM 模式下遇到错误消息 Cannot find user with propertyValue CustomerSupportAgent

如图:


原因:user name for asm must be all in lowercase


ASM 的用户名要小写才行。


如果不使用标准的 agent user,那么自己的用户名应该分配到这些组里:asagentsalesmanagergroup,customermanagergroup


编辑这个文件:hybris/config/local.properties

# Specifies the location of the spring context file putted automatically to the global platform application context.
samlsinglesignon.application-context=samlsinglesignon-spring.xml
# the user type for newly created user in hybris
sso.mapping.asagentgroup.usertype=Employee
# the user group mapping that is valid in hybris
sso.mapping.asagentgroup.groups=asagentsalesmanagergroup
# the user type for newly created user in hybris
sso.mapping.SALES_REP.usertype=Employee
# the user group mapping that is valid in hybris
sso.mapping.SALES_REP.groups=asagentsalesgroup
# the user type for newly created user in hybris
sso.mapping.SALES_MANAGER.usertype=Employee
# the user group mapping that is valid in hybris
sso.mapping.SALES_MANAGER.groups=asagentsalesmanagergroup
# the user type for newly created user in hybris
sso.mapping.SERVICE_AGENT.usertype=Employee
# the user group mapping that is valid in hybris
sso.mapping.SERVICE_AGENT.groups=asagentsalesgroup
# the user type for newly created user in hybris
sso.mapping.SERVICE_MANAGER.usertype=Employee
# the user group mapping that is valid in hybris
sso.mapping.SERVICE_MANAGER.groups=asagentsalesmanagergroup
# the default context to use to build the redirect URL for security reasons
sso.redirect.url=YOURVALUE
# cookie age in seconds
sso.cookie.max.age=60
# cookie path
sso.cookie.path=/
# cookie domain
sso.cookie.domain=
#generated token name, if empty then samlPassThroughToken will be used
sso.cookie.name=samlPassThroughToken
# default password encoding
sso.password.encoding=md5
#usergroup attribute name in the saml assertion
sso.usergroup.attribute.key=usergroup
#firstname attribute name in the saml assertion
sso.firstname.attribute.key=first_name
#lastname attribute name in the saml assertion
sso.lastname.attribute.key=last_name
#userid attribute name in the saml assertion
sso.userid.attribute.key=mail
# location of the samelKeystore file
sso.keystore.location=classpath:security/samlKeystore.jks
# password of the keystore, changeit by default
sso.keystore.password=changeit
# default priate key alias shipped within samlkeysotre
sso.keystore.privatekey.alias=hybris
# private key password
sso.keystore.privatekey.password=changeit
# alias for the default certificate 
sso.keystore.default.certificate.alias=hybris
# the location of the metadata file which holds the IDP info
sso.metadata.location=classpath:security/metadata.xml
# the entity id to identity our service provider
sso.entity.id=urn:ssoextension:hybris:de
# default password encoding
sso.password.encoding=md5


asagentsalesmanagergroup 是一种特殊的用户组,主要为销售代理的管理者提供。销售代理管理者通常负责管理和指导销售团队,他们需要对销售数据、销售进度和销售团队的绩效有全面的了解,以便做出合适的决策和策略。在 SAP Commerce Cloud 中,asagentsalesmanagergroup 的用户可以访问到一系列与销售相关的功能和数据,例如订单管理、客户管理、销售报告等。此外,他们还可以访问一些管理功能,例如团队绩效管理、销售目标设定等。


例如,假设我们有一个销售代理 A,他的上级经理 B 是 asagentsalesmanagergroup 的用户。A 完成了一笔订单后,B 可以在系统中查看这笔订单的详细信息,包括订单金额、购买的商品、客户信息等。此外,B 还可以查看 A 的销售绩效,包括总销售额、完成的订单数量、平均订单金额等。这些信息可以帮助 B 制定合适的销售策略和目标,以提升销售团队的绩效。


接下来,我们来看 customermanagergroup。这是另一种特殊的用户组,主要为客户管理者提供。客户管理者通常负责管理和维护客户关系,他们需要了解客户的需求和反馈,以提供更好的服务。在 SAP Commerce Cloud 中,customermanagergroup 的用户可以访问到一系列与客户管理相关的功能和数据,例如客户信息管理、客户服务、客户反馈管理等。


例如,假设我们有一个客户 C,他有一些需求和反馈需要向我们的公司提出。我们公司的客户经理 D 是 customermanagergroup 的用户。C 提出的需求和反馈会在系统中记录下来,D 可以在系统中查看并处理这些需求和反馈。此外,D 还可以查看 C 的购买记录和行为,以了解 C 的需求和喜好。这些信息可以帮助 D 提供更个性化的服务,以提升客户满意度。

相关文章
|
8月前
|
缓存 自然语言处理 API
关于 Spartacus 开源 Storefront 在 PWA 模式下运行时的 index.html hash mismatch 问题
关于 Spartacus 开源 Storefront 在 PWA 模式下运行时的 index.html hash mismatch 问题
54 0
|
6月前
|
缓存 自然语言处理 前端开发
Spartacus CSR 渲染模式下的 home page 网络请求
Spartacus CSR 渲染模式下的 home page 网络请求
27 1
|
6月前
|
运维 Serverless API
两全其美,Sidecarless 与 Sidecar 模式融合的服务网格新形态
本文主要介绍 ASM 如何落地这种 Sidecarless 和 Sidecar 模式融合的服务网格新形态,以及服务网格的 Serverless 化。
52942 20
|
6月前
|
Kubernetes API 容器
基于阿里云服务网格流量泳道的全链路流量管理(二):宽松模式流量泳道
基于阿里云服务网格流量泳道的全链路流量管理(二):宽松模式流量泳道
10892 6
|
7月前
|
负载均衡 安全 Cloud Native
服务网格的工作原理:解析服务网格的核心组件和通信模式
服务网格的工作原理:解析服务网格的核心组件和通信模式
46 0
|
7月前
|
存储 设计模式
Command 模式在 SAP Spartacus 中的具体应用一例
Command 模式在 SAP Spartacus 中的具体应用一例
30 0
|
8月前
|
存储 API
SAP 电商云 Spartacus UI 的交货模式 Delivery Mode 设计
SAP 电商云 Spartacus UI 的交货模式 Delivery Mode 设计
35 0
|
8月前
|
Web App开发 开发者
为什么 SAP 电商云 Spartacus UI SSR 模式下的客户端应用,不会发起 product 请求
为什么 SAP 电商云 Spartacus UI SSR 模式下的客户端应用,不会发起 product 请求
32 0
|
8月前
SAP 电商云 Spartacus UI 客户端模式下从服务器端渲染模式接收到的状态转移
SAP 电商云 Spartacus UI 客户端模式下从服务器端渲染模式接收到的状态转移
31 0
|
8月前
|
Web App开发 开发者
SAP 电商云 Spartacus UI 客户端模式下产品主数据的 HTTP 请求设计
SAP 电商云 Spartacus UI 客户端模式下产品主数据的 HTTP 请求设计
50 0