Class DefaultSecurityConfiguration

java.lang.Object
se.swedenconnect.opensaml.xmlsec.config.AbstractSecurityConfiguration
se.swedenconnect.opensaml.xmlsec.config.DefaultSecurityConfiguration
All Implemented Interfaces:
SecurityConfiguration

public class DefaultSecurityConfiguration extends AbstractSecurityConfiguration
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 Details

    • DefaultSecurityConfiguration

      public DefaultSecurityConfiguration()
  • Method Details

    • getProfileName

      public String 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 class AbstractSecurityConfiguration
      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 the EncryptionConfiguration held by ConfigurationService will be returned when SecurityConfiguration.getEncryptionConfiguration() is called.

      Overrides:
      createDefaultEncryptionConfiguration in class AbstractSecurityConfiguration
      Returns:
      default encryption configuration, or null if the security configuration object does not need to modify the system defaults