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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()The name of this configurer.voidWe don't know if aOpenSAMLSecurityDefaultsConfigobject is sent to the initializer.voidThe 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:
getNamein 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:
preInitializein interfaceOpenSAMLInitializerConfig- Throws:
Exception- for init errors
-
postInitialize
We don't know if aOpenSAMLSecurityDefaultsConfigobject 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:
postInitializein interfaceOpenSAMLInitializerConfig- Throws:
Exception- for init errors
-