【发布时间】:2015-06-01 03:02:27
【问题描述】:
我使用 Spring-Security-Saml 示例应用作为 SP,使用 ADFS 2.0 作为 IdP。我按照此处描述的说明进行操作 http://docs.spring.io/autorepo/docs/spring-security-saml/1.0.x-SNAPSHOT/reference/htmlsingle/ 。设置完成后,我可以登录系统,但在全局注销时 ADFS 会抛出 NullReferenceException(事件 ID 303):
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.IdentityServer.Service.SamlProtocol.SingleLogoutService.LogoutNextSessionParticipant()
at Microsoft.IdentityServer.Service.SamlProtocol.SingleLogoutService.ProcessLogoutRequest(LogoutRequest logoutRequest, Boolean& validLogoutRequest)
at Microsoft.IdentityServer.Service.SamlProtocol.SingleLogoutService.ProcessMessage(SamlMessage samlMessage, BindingInformation bindingInformation, Boolean validResponseMessage, Boolean& validLogoutRequest)
【问题讨论】:
标签: events nullreferenceexception adfs spring-saml