我需要能够从 Identity Server 更新租户帐户信息,而无需登录到Apache Stratos Manager
. 我打算通过一个自定义的 jsp 页面来做到这一点。
- 如何才能做到这一点?
- 什么罐子需要添加到IS?
- 调用什么方法来执行调用?
我试图复制account-mgr.jsp
代码但无法访问AccountMgrService
.
我需要能够从 Identity Server 更新租户帐户信息,而无需登录到Apache Stratos Manager
. 我打算通过一个自定义的 jsp 页面来做到这一点。
我试图复制account-mgr.jsp
代码但无法访问AccountMgrService
.
您需要将以下jar
s 从复制Manager
到IS
,
|-- org.wso2.carbon.account.mgt-1.5.2.jar
|-- org.wso2.carbon.account.mgt.stub-3.2.2.jar
|-- org.wso2.carbon.account.mgt.ui-1.5.2.jar
|-- drools-5.0.1.wso2v1.jar
|-- jsr94-1.1.0.wso2v1.jar
|-- org.wso2.carbon.billing.core-1.5.2.jar
|-- org.wso2.carbon.billing.mgt-1.5.2.jar
|-- org.wso2.carbon.email.sender-1.5.2.jar
|-- org.wso2.carbon.email.verification-3.2.1.jar
|-- org.wso2.carbon.rulecep.adapters-3.2.0.jar
|-- org.wso2.carbon.rulecep.commons-3.2.0.jar
|-- org.wso2.carbon.rule.core-3.2.0.jar
|-- org.wso2.carbon.rule.engine.drools-3.2.0.jar
|-- org.wso2.carbon.rule.engine.jsr94-3.2.0.jar
|-- org.wso2.carbon.rule.server-3.2.0.jar
|-- org.wso2.carbon.usage-1.5.2.jar
`-- org.wso2.carbon.usage.meteringqueryds.stub-3.2.0.jar
billing-config.xml
也从目录复制$MANAGER_HOME/repository/conf
。$IS_HOME/repository/conf
理想情况下,它应该只需要account.mgt.*.jar
s,但由于帐户管理依赖于计费等,因此您将需要上面提到的所有jar
s classpath
。这是最新的 WSO2 Stratos 版本 1.5.2。
我们正在考虑使帐户管理独立于计费。