简体   繁体   English

生成saml 2.0断言

[英]Generate a saml 2.0 assertion

We need to generate a saml 2.0 assertion from an application in java, we are trying to make use of opensaml. 我们需要从Java中的应用程序生成一个saml 2.0断言,我们正在尝试使用opensaml。 The sending to the service provider must be done through http post binding. 发送到服务提供商必须通过http post绑定完成。 Are there any examples of this implementation? 有这种实现方式的例子吗?

Yes you can used openSAML, more details here[1] but as well as you can used WSO2 Identity Server[2] as well. 是的,您可以使用openSAML,在此处更多详细信息[1],但也可以使用WSO2 Identity Server [2]。 It is opensource and latest version in IS 5.3.0. 它是IS 5.3.0中的开源和最新版本。
If you like to use WSO2 Identity Server,first you need to create service provider for your web app(SAML Assertion consumer app). 如果您想使用WSO2 Identity Server,首先需要为Web应用程序(SAML断言使用者应用程序)创建服务提供商。 You can found sample web app call travelocity.com here[3] and you can follow the steps for service provider creation here[4]. 您可以在此处找到示例Web应用程序调用travelocity.com [3],也可以在此处执行创建服务提供商的步骤[4]。

[1] http://www.capcourse.com/Library/OpenSAML/index.html [1] http://www.capcourse.com/Library/OpenSAML/index.html
[2] http://wso2.com/products/identity-server/ [2] http://wso2.com/products/identity-server/
[3] https://docs.wso2.com/display/IS530/Downloading+a+Sample [3] https://docs.wso2.com/display/IS530/Downloading+a+Sample
[4] https://docs.wso2.com/display/IS530/Configuring+Single+Sign-On#ConfiguringSingleSign-On-ConfiguringtheSSOwebapplication [4] https://docs.wso2.com/display/IS530/Configuring+Single+Sign-On#ConfiguringSingleSign-On-ConfiguringSSO Web应用程序

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

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