Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IIS窗口10(V10.0.14393.0)上PHP的$\u服务器数组中缺少Shibboleth身份验证用户属性_Php_Codeigniter_Iis_Shibboleth - Fatal编程技术网

IIS窗口10(V10.0.14393.0)上PHP的$\u服务器数组中缺少Shibboleth身份验证用户属性

IIS窗口10(V10.0.14393.0)上PHP的$\u服务器数组中缺少Shibboleth身份验证用户属性,php,codeigniter,iis,shibboleth,Php,Codeigniter,Iis,Shibboleth,我正在开发基于php codeigniter的web应用程序,并通过在我的个人计算机上安装window 10上的Shibboleth-sp-2.6.0.1-win64.msi和IIS V10.0.14393.0来实现Shibboleth ISAPI模块安装在IIS上,该IIS指向shibboleth安装中的模块C:\opt\shibboleth sp\lib64\shibboleth\ISAPI_shib.dll 身份验证过程工作正常,IdP重定向回SP。Shibboleth会话看起来正常,但环

我正在开发基于php codeigniter的web应用程序,并通过在我的个人计算机上安装window 10上的Shibboleth-sp-2.6.0.1-win64.msiIIS V10.0.14393.0来实现Shibboleth

ISAPI模块安装在IIS上,该IIS指向shibboleth安装中的模块C:\opt\shibboleth sp\lib64\shibboleth\ISAPI_shib.dll

身份验证过程工作正常,IdP重定向回SP。Shibboleth会话看起来正常,但环境变量在$\u服务器中丢失,现有变量为空

我需要shibboleth会话变量与经过身份验证的用户相关,并希望根据我的应用程序要求将其保存在php会话中。我不知道如何在IIS上用PHP实现它

重定向回idp后,/Shibboleth/会话打印出以下响应数据。

Miscellaneous
Session Expiration (barring inactivity): 480 minute(s)
Client Address: 127.0.0.1
SSO Protocol: urn:oasis:names:tc:SAML:2.0:protocol
Identity Provider: http://sts.platform.rmunify.com/sts
Authentication Time: 2017-06-02T07:01:45.867Z
Authentication Context Class: urn:oasis:names:tc:SAML:2.0:ac:classes:Password
Authentication Context Decl: (none)

Attributes
identityguid: c3ec37e9-ff24-4143-be53-9526650cef34
organisationCode: 0020051
organisationid: 9b975206-da98-4893-a47c-e3e68b100169
和shibd.log文件有以下行

2017-06-02 15:52:33 INFO Shibboleth.SessionCache [2]: new session created: 
ID (_3dc0307b7f78094057945aa4254b0e15) 
IdP (http://sts.platform.rmunify.com/sts) Protocol(urn:oasis:names:tc:SAML:2.0:protocol) 
Address (127.0.0.1)
但是,$\u服务器阵列中缺少
Shib会话ID
和一些其他属性,
仅使用$\u服务器阵列中的其他服务器相关数据获取shibboleth属性
HTTPshibsboofcheck
,并获取以下shibboleth cookie
shibsession646661756C746874703A2F6465762E676F7365727279706C61792E636F6D2F7369626F6C657468

我需要$\u服务器阵列中经过身份验证的用户数据,我无法 要了解IIS为什么不映射$\u服务器中的属性 数组

我们将非常感谢您在这方面提供的任何帮助,谢谢