WSO2 API Manager 2.1 尝试使用 Resident Identity Provider 时出错

WSO2 API Manager 2.1 Error when try to use Resident Identity Provider

尝试访问 Resident Identity Provider 页面显示空白。

https://localhost:9443/carbon/idpmgt/idp-mgt-edit-load-local.jsp?region=region1&item=identity_providers_resident

在日志中我可以看到这个错误。

TID: [-1234] [] [2017-03-22 14:42:52,171] ERROR {org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() fo
r servlet bridgeservlet threw exception {org.apache.catalina.core.ApplicationDispatcher}
java.io.IOException: An exception occurred processing JSP page /idpmgt/idp-mgt-edit-local.jsp at line 61

58:     ConfigurationContext configContext = (ConfigurationContext) config.getServletContext()
59:             .getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
60:     IdentityGovernanceAdminClient client = new IdentityGovernanceAdminClient(cookie, backendServerURL, configContext
);
61:    Map<String, Map<String, List<ConnectorConfig>>> catMap = client.getConnectorList();
62: 
63: %>
64: 

这发生在 2.1 中。它在 2.0 中运行良好。

有人知道如何解决这个问题吗?

谢谢,

日本

这已通过 APIM 2.1.0 的 wum 更新得到修复。

作为解决方法,您可以从 WSO2 身份服务器 5.3.0 (repository/components/plugins) 复制以下 jar 并将它们粘贴到 repository/components/dropins 文件夹中:

  1. org.wso2.carbon.identity.governance_1.0.2.jar
  2. org.wso2.carbon.identity.event_5.7.5.jar
  3. org.wso2.carbon.identity.account.suspension.notification.task_1.0.2.jar

同时从身份服务器 5.3.0 复制 identity-event.properties 文件(在 repository/component/identity 中)并将其粘贴到 api 管理器 2.1.0 的相同位置。

然后重启服务器。