Package se.swedenconnect.opensaml
Class OpenSAMLSecurityExtensionConfig
java.lang.Object
se.swedenconnect.opensaml.OpenSAMLSecurityExtensionConfig
- All Implemented Interfaces:
OpenSAMLInitializerConfig
Configuration that extends OpenSAML's signature support with RSA-PSS algorithms.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of this configurer.void
We don't know if aOpenSAMLSecurityDefaultsConfig
object is sent to the initializer.void
The ECDH support requires that the Bouncy Castle crypto provider is installed.
-
Constructor Details
-
OpenSAMLSecurityExtensionConfig
public OpenSAMLSecurityExtensionConfig()
-
-
Method Details
-
getName
The name of this configurer. Used for logging only.- Specified by:
getName
in interfaceOpenSAMLInitializerConfig
- Returns:
- the name of the configurer
-
preInitialize
The ECDH support requires that the Bouncy Castle crypto provider is installed. This method ensures this.- Specified by:
preInitialize
in interfaceOpenSAMLInitializerConfig
- Throws:
Exception
- for init errors
-
postInitialize
We don't know if aOpenSAMLSecurityDefaultsConfig
object is sent to the initializer. Therefore, we always make sure that we extend OpenSAML's signature configuration with support for the RSA-PSS signing algorithms.- Specified by:
postInitialize
in interfaceOpenSAMLInitializerConfig
- Throws:
Exception
- for init errors
-