简体   繁体   中英

SAML - Service Provider in Java

I have setup Shibboleth IDP and SP. They are configured properly and are working.

I now want to remove the SP and replace it with my own code. ie: I want my Java code to function as the SP (routing requests, host metadata and verify SAML assertions) without running shibd.exe and httpd.exe.

Is this possible using OpenSAML? Are there any examples I can use?

我使用Shibboleth ECP扩展来做到这一点。

ECP profile is indeed a good way to achieve this. If it's all working for you then you should stick to this, I only want to point you to another possible direction.

If you still need to use Web Browser Single Sign On profile you could try integrate your code with Guanxi ( src , doc ), a Shibboleth SP Java Implementation.

But of course if you only need some lightweight Java Code to access Shibboeleth IdP then ECP is completely fine.

Here is the documentation for the openSAML-java .Refer this

https://wiki.shibboleth.net/confluence/display/OpenSAML/OSTwoUserManual

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