2014-09-18 89 views

回答

0

不,您不能配置Spring SAML來強制執行此規則。最簡單的方法是擴展WebSSOProfileConsumerImpl,覆蓋例如方法processAuthenticationResponse並拋出org.opensaml.xml.security.SecurityException以防斷言未加密。