SAML和PHP入门 [英] Getting Started with SAML and PHP

查看:90
本文介绍了SAML和PHP入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始为项目添加SAML SSO支持的工作,并且正在寻找专门针对PHP的有用资源.我了解基本概念,并四处寻找可以帮助但空无一物的库.我发现的唯一内容是 simpleSAMLphp ,它似乎是一个完整的堆栈.

I'm beginning work on adding SAML SSO support to a project and am looking for any helpful resources specifically geared towards PHP. I understand the basic concepts and have poked around for any libraries that could help but have come up empty. The only thing I've found is simpleSAMLphp which appears to be an entire stack.

关于将SAML集成到现有项目中的任何技巧? Zend-Framework相关建议的奖励积分!

Any tips for integrating SAML into an existing project? Bonus points for Zend-Framework related suggestions!

推荐答案

我认为,SimpleSAMLPHP是使您的应用程序充当成熟的SAML 2.0服务提供者的一种方式.它确实是一个完整的堆栈,但是您可以将功能缩小到最低限度.

I think that SimpleSAMLPHP is the way to go to make your application act as a full-fledged SAML 2.0 Service Provider. It's indeed a complete stack, but you can narrow down the functionalities to the bare minimum.

根据我的经验,配置比使用Shibboleth更为简单.分发软件包附带的配置网站简化了此步骤.

From my experience, configuration is a lot simpler than with Shibboleth. This step is simplified with the configuration website that ships with the distribution package.

对每个PHP页面的影响相对较小: http://simplesamlphp.org/docs/1.8/simplesamlphp-sp#section_6

The impact on each PHP page is relatively small: http://simplesamlphp.org/docs/1.8/simplesamlphp-sp#section_6

这是我们在Zend环境中选择的解决方案.

This is the solution we opted for on our Zend environment.

这篇关于SAML和PHP入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆