我有带有弹簧安全 SAML 过滤器的应用程序。有 ADFS 2.0 的配置。服务器站在域外的机器上。我尝试使用用户的域帐户登录我的应用程序(但显示输入域用户主体的窗口)。是否有可能将其配置为自动登录我们在 Windows 上登录的域用户的用户?
感谢日志。
我有带有弹簧安全 SAML 过滤器的应用程序。有 ADFS 2.0 的配置。服务器站在域外的机器上。我尝试使用用户的域帐户登录我的应用程序(但显示输入域用户主体的窗口)。是否有可能将其配置为自动登录我们在 Windows 上登录的域用户的用户?
感谢日志。
您可以通过以下方式authnContext
更改 bean 来配置在 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>