简体   繁体   English

wso2身份服务器与esb集成

[英]wso2 identity server integration with esb

I am a beginner to WSO2. 我是WSO2的初学者。 I am facing some challenges in integrating WSO2 identity server with ESB. 在将WSO2身份服务器与ESB集成时,我面临一些挑战。 I followed the " http://wso2.org/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform/ " blog. 我关注了“ http://wso2.org/library/articles/2010/10/using-xacml-fine-grained-authorization-wso2-platform/ ”博客。 I am getting some errors related to authenticating the user when using entitlement component in ESB. 在ESB中使用授权组件时,出现一些与验证用户身份有关的错误。 Following is the error i get in console:- 以下是我在控制台中遇到的错误:-

[2012-07-06 19:23:42,312] ERROR - EntitlementMediator User name not provided for the Entitlement mediator - can't proceed [2012-07-06 19:23:42,312] ERROR - EntitlementMediator Error occured while evaluating the policy org.apache.synapse.SynapseException: User name not provided for the Entitlement mediator - can't proceed at org.wso2.carbon.identity.entitlement.mediator.EntitlementMediator.mediate(EntitlementMediator.java:149) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114) at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:154) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:409) at org. [2012-07-06 19:23:42,312]错误-未为Entitlement调解人提供EntitlementMediator用户名-无法继续[2012-07-06 19:23:42,312]错误-在评估策略组织时发生EntitlementMediator错误.apache.synapse.SynapseException:未为“权利”调解人提供用户名-无法在org.apache.synapse的org.wso2.carbon.identity.entitlement.mediator.EntitlementMediator.mediate(EntitlementMediator.java:149)处继续。位于org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)的mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)在org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver。 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)处org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)处org.apache.synapse机构的.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:409)。 apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:261) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) org.apache.axis2.transport.base.threads.NativeWorkerPool $ 1.run(NativeWorkerPool.java:173)上的apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:261)在java.util.concurrent.ThreadPoolExecutor上java.util.concurrent.ThreadPoolExecutor $ Worker.run(未知源)处的java.lang.Thread.run(未知源)处的.runWorker(未知源)

Can any one please help me understanding it. 谁能帮助我理解它。

Thanks in advance. 提前致谢。 Charan 查兰

Have a look at this article[1] as to see how you can secure. 看一下本文[1],了解如何安全。

[1] http://wso2.org/library/articles/2011/06/securing-web-service-integration [1] http://wso2.org/library/articles/2011/06/securing-web-service-integration

This is because the service request to the ESB proxy service is not secured using a username token based policy. 这是因为使用基于用户名令牌的策略无法保护对ESB代理服务的服务请求。 Please make sure that proxy is secured with Username token based security scenario as per the article and your client is sending the username token credentials in the WS Security header of the request to the proxy service. 请确保按照本文所述,使用基于用户名令牌的安全方案保护代理安全,并且您的客户端将请求的WS安全性标头中的用户名令牌凭证发送给代理服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM