我已经获得了弹簧安全SAML过滤器的应用程序。有ADFS 2.0的配置。服务器站在域外的机器上。我尝试在用户的域帐户上登录我的应用程序(但是显示输入域用户主体的窗口)。是否有可能为我们在Windows上登录的域用户的用户配置此自动登录?
感谢日志。
答案 0 :(得分:0)
您可以通过以下方式更改bean authnContext
来配置SAML请求中发送的自定义samlEntryPoint
:
<bean id="samlEntryPoint" class="org.springframework.security.saml.SAMLEntryPoint">
<property name="defaultProfileOptions">
<bean class="org.springframework.security.saml.websso.WebSSOProfileOptions">
<property name="authnContexts"
value="urn:federation:authentication:windows"/>
</bean>
</property>
</bean>