[英]WSO2 API Manager(wso2am-4.1.0) - How to make the carbon console show application names?
I'm using wso2am-4.1.0 and in the carbon console under the service providers, it shows the service providers' id instead of the corresponding application name created in the devportal.我正在使用 wso2am-4.1.0,在服务提供商下的 carbon 控制台中,它显示服务提供商的 ID,而不是在开发门户中创建的相应应用程序名称。
Is it possible to make the carbon console show the corresponding application name instead of the service provider ID?是否可以让 carbon 控制台显示相应的应用程序名称而不是服务提供商 ID?
Thanks in advance.提前致谢。
It is not possible to do that.这是不可能的。 In the latest versions, that name was removed to a uuid intentionally.
在最新版本中,该名称被有意删除为 uuid。 If you need to find the name related to that SP, one option is to get the client id of related to that OAuth application and query Apim database.
如果您需要查找与该 SP 相关的名称,一种选择是获取与该 OAuth 应用程序相关的客户端 ID 并查询 Apim 数据库。 Application name to consumer key is stored in apim database.
消费者密钥的应用程序名称存储在 apim 数据库中。
The default behaviour in APIM 4.xx versions is to generate the SP name with the UUID. APIM 4.xx 版本中的默认行为是使用 UUID 生成 SP 名称。
One workaround would be to use the system property -Doverride.sp.name=false
.一种解决方法是使用系统属性
-Doverride.sp.name=false
。 You will have to modify the SP name manually in the management console.您必须在管理控制台中手动修改 SP 名称。 But when this property is there, it will prevent the name being overridden in consequent application updates from the devportal.
但是,当此属性存在时,它将防止名称在来自开发门户的后续应用程序更新中被覆盖。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.