Interface SAML2CryptoProviderFactory
-
- All Known Implementing Classes:
SAML2CryptoProviderFactoryImpl
public interface SAML2CryptoProviderFactoryDefines concern related to obtaining an instance of the SAML2CryptoProvider class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SAML2CryptoProvidercreateSAML2CryptoProvider(SAML2Config config)Return the SAML2CryptoProvider encapsulating the crypto context corresponding to the SAML2Config state
-
-
-
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.
-
-