Interface SignatureMessageExtensionExtractor
- All Known Implementing Classes:
DefaultSignatureMessageExtensionExtractor
public interface SignatureMessageExtensionExtractor
The contract for extracting, and possibly decrypting, a
SignMessage
extension. See
SignatureMessageExtension
.- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionGiven an authentication request, the method will extract theSignMessage
extension, and if it is encrypted also decrypt it.
-
Method Details
-
extract
SignatureMessageExtension extract(Saml2AuthnRequestAuthenticationToken token) throws Saml2ErrorStatusException, UnrecoverableSaml2IdpException Given an authentication request, the method will extract theSignMessage
extension, and if it is encrypted also decrypt it.- Parameters:
token
- the authentication request token- Returns:
- a
SignatureMessageExtension
ornull
if noSignMessage
is available - Throws:
Saml2ErrorStatusException
- for decryption errorsUnrecoverableSaml2IdpException
- for unrecoverable errors
-