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
ConstructorsConstructorDescriptionOpenSAMLSecurityDefaultsConfig(SecurityConfiguration securityConfiguration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()The name of this configurer.voidUpdates OpenSAML with the security configuration for this object.voidDoes 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:
getNamein interfaceOpenSAMLInitializerConfig- Returns:
- the name of the configurer
-
preInitialize
Does nothing.- Specified by:
preInitializein interfaceOpenSAMLInitializerConfig- Throws:
Exception- for init errors
-
postInitialize
Updates OpenSAML with the security configuration for this object.- Specified by:
postInitializein interfaceOpenSAMLInitializerConfig- Throws:
Exception- for init errors
-