简体   繁体   English

GAE + SAML + JAVA + OpenSAML

[英]GAE + SAML + JAVA + OpenSAML

I am creating a web application on GAE. 我正在GAE上创建一个Web应用程序。 In this application i have to implement the SSO feature using SAML 2.0. 在此应用程序中,我必须使用SAML 2.0实现SSO功能。 I am suffering lot on web but i didn't find any example. 我在网上遭受很多苦难,但没有找到任何例子。 I get the knowledge how SAML work, which library i have to use in java. 我了解了SAML的工作原理,我必须在Java中使用哪个库。 But before starting i want to know if this feature is possible in GAE. 但是在开始之前,我想知道GAE中是否可以使用此功能。 I know google apps are based on SAML and provide SSO functionality. 我知道google应用基于SAML并提供SSO功能。 But i didn't find any link where it stated that GAE also support SAML and we can create SAML application on GAE. 但是我没有找到任何表明GAE也支持SAML的链接,我们可以在GAE上创建SAML应用程序。 Thanks 谢谢

I have done some integration with my demo google app engine account. 我已经与演示Google App引擎帐户进行了一些集成。 Here i used Java based SAML2 IDP in my local which has been connected to LDAP user store. 在这里,我在本地使用了基于Java的SAML2 IDP,该IDP已连接到LDAP用户存储。 And using this IDP, i could login to google app account. 并使用此IDP,我可以登录到Google应用程序帐户。 Here what i understood. 在这里我明白了。 We need to configure about the IDP details (uri and so on) in the google account and upload a certificate of my IDP. 我们需要在Google帐户中配置有关IDP详细信息(uri等),并上传我的IDP证书。 Then i want to create same user which was in my IDP, in the google app account (I guess, it is for authorization purpose). 然后,我想在Google应用程序帐户中创建我的IDP中的同一用户(我想这是出于授权目的)。 Once i tried to login to google app, then it redirects me to my local SAML2 IDP and i need to provide user credentials to IDP. 一旦我尝试登录到Google应用程序,它会将我重定向到我的本地SAML2 IDP,并且我需要向IDP提供用户凭据。 Then i would be directed to google app and can login to it. 然后,我将被定向到谷歌应用程序,并可以登录到它。 Here is some guide how to enable SAML2 SSO with shibboleth. 是一些如何使用shibboleth启用SAML2 SSO的指南。 I guess this would be help you. 我想这会对您有所帮助。

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

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