Package se.swedenconnect.opensaml
Class OpenSAMLSecurityDefaultsConfig
java.lang.Object
se.swedenconnect.opensaml.OpenSAMLSecurityDefaultsConfig
- All Implemented Interfaces:
OpenSAMLInitializerConfig
Initializer that modifies OpenSAML's default algorithms as returned by
DefaultSecurityConfigurationBootstrap
with the caller's own wishes for security defaults.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
ConstructorDescriptionOpenSAMLSecurityDefaultsConfig
(SecurityConfiguration securityConfiguration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of this configurer.void
Updates OpenSAML with the security configuration for this object.void
Does nothing.
-
Constructor Details
-
OpenSAMLSecurityDefaultsConfig
Constructor.- Parameters:
securityConfiguration
- the security configuration to install
-
-
Method Details
-
getName
The name of this configurer. Used for logging only.- Specified by:
getName
in interfaceOpenSAMLInitializerConfig
- Returns:
- the name of the configurer
-
preInitialize
Does nothing.- Specified by:
preInitialize
in interfaceOpenSAMLInitializerConfig
- Throws:
Exception
- for init errors
-
postInitialize
Updates OpenSAML with the security configuration for this object.- Specified by:
postInitialize
in interfaceOpenSAMLInitializerConfig
- Throws:
Exception
- for init errors
-