mule 3.4.0 spring security with OpenAM

浪子不回头ぞ 提交于 2019-12-11 09:06:31

问题


How do I secure a http endpoint in mule using Spring Security with OpenAM as Authentication Provider? I used

<http:inbound-endpoint host="somehost" port="someport" path="myHttp" exchange-pattern="request-response">
 <mule-ss:http-security-filter realm="mule-realm"/>
</http:inbound-endpoint>

but the issue I face is that Mule uses DefaultMuleAuthentication whose getCredentials() returns a String while OpenAM is looking for com.iplanet.sso.SSOToken and I get java.lang.String cannot be cast to com.iplanet.sso.SSOToken.

来源:https://stackoverflow.com/questions/19141638/mule-3-4-0-spring-security-with-openam

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!