简体   繁体   English

任何人都用opensaml 2.5.1实现saml 2.0服务提供商

[英]Anybody implement saml 2.0 service provider with opensaml 2.5.1

I have to implement saml 2.0 on a code base that has opensaml 2.5.1 (older version of cas) and unfortunately cannot make use of the spring saml security extension (which uses a new version of newer opensaml). 我必须在具有opensaml 2.5.1(旧版本的cas)的代码库上实现saml 2.0,不幸的是无法使用spring saml安全扩展(使用新版本的openaml的新版本)。 I have looked at how the spring extension handles the authorization request/response and have reversed engineered it to some extent. 我研究了spring扩展如何处理授权请求/响应,并在某种程度上进行了反向工程。 I am able to make the call from sp to the idp (sso circle) and attempt login, however I get a 500 error upon submit: Reason: Unable to do Single Sign On or Federation. 我可以从sp拨打电话到idp(sso圈子)并尝试登录,但是提交时出现500错误:原因:无法进行单点登录或联合。

Is there any sample java opensaml 2.5.1 code that might shed some light on what I am doing wrong? 是否有任何示例Java opensaml 2.5.1代码可能阐明我做错了什么? Or are there other suggestions/ideas I am overlooking? 还是我还有其他建议/想法?

Thanks 谢谢

事实证明,我在请求中发送的AssertionConsumerService url与我的metatada(sp.xml)中的AssertionConsumerService值略有不同,因此导致500个错误

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

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