简体   繁体   中英

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). I have looked at how the spring extension handles the authorization request/response and have reversed engineered it to some extent. 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.

Is there any sample java opensaml 2.5.1 code that might shed some light on what I am doing wrong? Or are there other suggestions/ideas I am overlooking?

Thanks

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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