Class DefaultSecurityConfiguration
java.lang.Object
se.swedenconnect.opensaml.xmlsec.config.AbstractSecurityConfiguration
se.swedenconnect.opensaml.xmlsec.config.DefaultSecurityConfiguration
- All Implemented Interfaces:
SecurityConfiguration
A security configuration for OpenSAML default settings.
For a listing of the security defaults see ExtendedDefaultSecurityConfigurationBootstrap
and
DefaultSecurityConfigurationBootstrap
.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.opensaml.xmlsec.EncryptionConfiguration
Creates the default encryption configuration for this instance.protected org.opensaml.xmlsec.SignatureSigningConfiguration
Returns the default signing configuration with RSA-PSS extensions.Gets the profile name of this configuration setup.Methods inherited from class se.swedenconnect.opensaml.xmlsec.config.AbstractSecurityConfiguration
createDefaultDecryptionConfiguration, createDefaultSignatureValidationConfiguration, getDecryptionConfiguration, getDefaultDecryptionConfiguration, getDefaultEncryptionConfiguration, getDefaultSignatureSigningConfiguration, getDefaultSignatureValidationConfiguration, getEncryptionConfiguration, getSignatureSigningConfiguration, getSignatureValidationConfiguration, initOpenSAML
-
Constructor Details
-
DefaultSecurityConfiguration
public DefaultSecurityConfiguration()
-
-
Method Details
-
getProfileName
Gets the profile name of this configuration setup.- Returns:
- the profile name
-
createDefaultSignatureSigningConfiguration
protected org.opensaml.xmlsec.SignatureSigningConfiguration createDefaultSignatureSigningConfiguration()Returns the default signing configuration with RSA-PSS extensions.- Overrides:
createDefaultSignatureSigningConfiguration
in classAbstractSecurityConfiguration
- Returns:
- default signature configuration, or
null
if the security configuration object does not need to modify the system defaults
-
createDefaultEncryptionConfiguration
protected org.opensaml.xmlsec.EncryptionConfiguration createDefaultEncryptionConfiguration()Description copied from class:AbstractSecurityConfiguration
Creates the default encryption configuration for this instance.The default implementation returns
null
which means that theEncryptionConfiguration
held byConfigurationService
will be returned whenSecurityConfiguration.getEncryptionConfiguration()
is called.- Overrides:
createDefaultEncryptionConfiguration
in classAbstractSecurityConfiguration
- Returns:
- default encryption configuration, or
null
if the security configuration object does not need to modify the system defaults
-