0

我需要能够从 Identity Server 更新租户帐户信息,而无需登录到Apache Stratos Manager. 我打算通过一个自定义的 jsp 页面来做到这一点。

  1. 如何才能做到这一点?
  2. 什么罐子需要添加到IS?
  3. 调用什么方法来执行调用?

我试图复制account-mgr.jsp代码但无法访问AccountMgrService.

4

1 回答 1

1

您需要将以下jars 从复制ManagerIS

|-- 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.*.jars,但由于帐户管理依赖于计费等,因此您将需要上面提到的所有jars classpath。这是最新的 WSO2 Stratos 版本 1.5.2。

我们正在考虑使帐户管理独立于计费。

于 2012-05-17T06:52:57.493 回答