简体   繁体   English

需要在 PHP 中实现单点登录

[英]Need to Implement Single Sign On in PHP

I have read a lot of document regarding this, Few of which are as follows我已经阅读了很多关于此的文件,其中很少有如下

http://www.opengroup.org/security/sso/sso_intro.htm http://www.opengroup.org/security/sso/sso_intro.htm
http://www.authenticationworld.com/Single-Sign-On-Authentication/ http://www.authenticationworld.com/Single-Sign-On-Authentication/
http://merbist.com/2012/04/04/building-and-implementing-a-single-sign-on-solution/ http://merbist.com/2012/04/04/building-and-implementing-a-single-sign-on-solution/
https://wiki.queensu.ca/display/itsd/Single+Sign-On https://wiki.queensu.ca/display/itsd/Single+Sign-On

I know the concept now but my client already has a systems build which has there own authentication system already in place and working and now i need to implement this concept for him all over his application我现在知道这个概念,但我的客户已经有一个系统构建,其中有自己的身份验证系统已经到位并且可以工作,现在我需要在他的整个应用程序中为他实现这个概念

He has given me the access for only one of the main application where i can implement this but now the problem is, Client is not ready for the access of other application, So is there any way where i can implement some plugging and ask the client to call this every time for the authentication and implement the single sign on.他只给了我一个主要应用程序的访问权限,我可以在其中实现这一点,但现在的问题是,客户端尚未准备好访问其他应用程序,那么有什么方法可以实现一些插入并询问客户端每次都调用它进行身份验证并实现单点登录。

It would be really helpful if anyone can give me the basic building block or Steps to implement this.如果有人能给我基本的构建块或实现这一点的步骤,那将非常有帮助。

You can make SimpleSamlPHP as your IDP to implement Single Sign On to your client application.您可以将 SimpleSamlPHP 作为您的 IDP 来实现对您的客户端应用程序的单点登录。 SimpleSamlPHP(IDP will take care of the authentication).This is light weight IDP Where you can store the user info and Payload as configuration file. SimpleSamlPHP(IDP 将负责身份验证)。这是轻量级的 IDP,您可以在其中将用户信息和有效负载存储为配置文件。

Refer the below link to configure the SimpleSamlPHP.请参阅以下链接以配置 SimpleSamlPHP。

https://simplesamlphp.org/docs/stable/ https://simplesamlphp.org/docs/stable/

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

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