Interface SAML2CryptoProviderFactory

  • All Known Implementing Classes:
    SAML2CryptoProviderFactoryImpl

    public interface SAML2CryptoProviderFactory
    Defines concern related to obtaining an instance of the SAML2CryptoProvider class.
    • Method Detail

      • createSAML2CryptoProvider

        SAML2CryptoProvider createSAML2CryptoProvider​(SAML2Config config)
                                               throws TokenCreationException
        Return the SAML2CryptoProvider encapsulating the crypto context corresponding to the SAML2Config state
        Parameters:
        config - the SAML2Config instance corresponding to the STS instance consuming the token service.
        Returns:
        a non-null SAML2CryptoProvider implementation
        Throws:
        TokenCreationException - if the crypto provider could not be instantiated - usually due to incorrect KeyStore configuration state.