我正在尝试运行https://github.com/spring-projects/spring-security-saml(master版本中提供的应用程序)并选择了选项http://idp.ssocircle.com并点击了启动单点登录按钮,然后点击继续saml-single-sign-on,然后花了很多时间我到错误页面,我收到如下错误 严重:servlet [default]的Servlet.service()在路径[/ spring-security-saml2-sample3]的上下文中引发了异常 显示java.lang.NullPointerException
at org.springframework.security.saml.processor.HTTPPAOS11Binding.supports(HTTPPAOS11Binding.java:45)
at org.springframework.security.saml.processor.SAMLProcessorImpl.getBinding(SAMLProcessorImpl.java:260)
at org.springframework.security.saml.processor.SAMLProcessorImpl.retrieveMessage(SAMLProcessorImpl.java:172)
at org.springframework.security.saml.SAMLProcessingFilter.attemptAuthentication(SAMLProcessingFilter.java:80)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:195)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
答案 0 :(得分:0)