Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は Spring SAML を使用しており、暗号化されたアサーションを受け入れるサービス プロバイダーを構成しています。暗号化されていないアサーションを拒否するように SP を構成する方法はありますか?
いいえ、Spring SAML を構成してこのルールを適用することはできません。アサーションが暗号化されていない場合は、メソッドを拡張WebSSOProfileConsumerImplし、メソッドをオーバーライドprocessAuthenticationResponseしてスローするのが最も簡単な方法です。org.opensaml.xml.security.SecurityException
WebSSOProfileConsumerImpl
processAuthenticationResponse
org.opensaml.xml.security.SecurityException