Mozilla 没有获取 SAML 上下文
Mozilla not getting SAML context
我正在使用以下代码获取我的凭据,它在 IE 中运行良好,
为什么它在 mozilla 中不起作用。
SecurityContextImpl obj = (SecurityContextImpl) session
.getAttribute("SPRING_SECURITY_CONTEXT");
SAMLCredential credential = (SAMLCredential) obj.getAuthentication()
.getCredentials();
如果有人遇到过这样的情况。
我正在使用 Spring SAML
已解决,因为 responseSkew 是我使用默认的 60 以下更改有帮助
<bean id="webSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerImpl"> <property name="responseSkew" value="600"/> <!-- 10 minutes --> </bean>
我正在使用以下代码获取我的凭据,它在 IE 中运行良好, 为什么它在 mozilla 中不起作用。
SecurityContextImpl obj = (SecurityContextImpl) session
.getAttribute("SPRING_SECURITY_CONTEXT");
SAMLCredential credential = (SAMLCredential) obj.getAuthentication()
.getCredentials();
如果有人遇到过这样的情况。 我正在使用 Spring SAML
已解决,因为 responseSkew 是我使用默认的 60 以下更改有帮助
<bean id="webSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerImpl"> <property name="responseSkew" value="600"/> <!-- 10 minutes --> </bean>