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 theSignMessageextension, 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 theSignMessageextension, and if it is encrypted also decrypt it.- Parameters:
token- the authentication request token- Returns:
- a
SignatureMessageExtensionornullif noSignMessageis available - Throws:
Saml2ErrorStatusException- for decryption errorsUnrecoverableSaml2IdpException- for unrecoverable errors
-