Class SAML2IntSecurityConfiguration
java.lang.Object
se.swedenconnect.opensaml.xmlsec.config.AbstractSecurityConfiguration
se.swedenconnect.opensaml.xmlsec.config.SAML2IntSecurityConfiguration
- All Implemented Interfaces:
SecurityConfiguration
Security defaults according to Kantara's
SAML2Int specification.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.opensaml.xmlsec.EncryptionConfiguration
Builds anEncryptionConfiguration
that is according to SAML2Int.protected org.opensaml.xmlsec.SignatureSigningConfiguration
Black-lists SHA-1 from use and adds RSA-PSS algos.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
-
SAML2IntSecurityConfiguration
public SAML2IntSecurityConfiguration()
-
-
Method Details
-
getProfileName
Gets the profile name of this configuration setup.- Returns:
- the profile name
-
createDefaultEncryptionConfiguration
protected org.opensaml.xmlsec.EncryptionConfiguration createDefaultEncryptionConfiguration()Builds anEncryptionConfiguration
that is according to SAML2Int.- Overrides:
createDefaultEncryptionConfiguration
in classAbstractSecurityConfiguration
- Returns:
- default encryption configuration, or
null
if the security configuration object does not need to modify the system defaults
-
createDefaultSignatureSigningConfiguration
protected org.opensaml.xmlsec.SignatureSigningConfiguration createDefaultSignatureSigningConfiguration()Black-lists SHA-1 from use and adds RSA-PSS algos.- Overrides:
createDefaultSignatureSigningConfiguration
in classAbstractSecurityConfiguration
- Returns:
- default signature configuration, or
null
if the security configuration object does not need to modify the system defaults
-