OpenSAML extensions for the eIDAS Framework.
Note: Support for OpenSAML versions prior to version 5 is implemented by the https://github.com/litsec/eidas-opensaml repository.
eIDAS (EU REGULATION 910/2014 on electronic identification and trust services for electronic transactions in the European internal market) defines requirements on cross-border recognition of electronic identification means in EU.
The eIDAS technical specifications defines a number of SAML elements and attribute definitions which are normally not supported by standard SAML software. The eidas-opensaml Open Source Java library extends the OpenSAML framework with support for the definitions from the eIDAS technical specifications.
The following eIDAS specifications are implemented:
The eidas-opensaml artifacts are published to Maven central and a dependency to the library should be included as follows in the application POM-file:
<dependency>
<groupId>se.swedenconnect.opensaml</groupId>
<artifactId>opensaml-eidas</artifactId>
<version>${opensaml.eidas.version}</version>
</dependency>
- API documentation - https://docs.swedenconnect.se/opensaml-eidas/apidocs/.
The eIDAS SAML Message Format v1.4 specification describes how a SAML AuthnRequest
message should be put together to comply to the eIDAS specifications.
CreateAuthnRequestExample.java illustrates how you could create an authentication request message using the opensaml-eidas library.
An assertion issued from an eIDAS service will contain the attributes defined in eIDAS SAML Attribute Profile.
ParseAssertionExample.java shows how to parse an Assertion and get hold of all attribute values.
- Technical specifications for the Swedish eID Framework
- Sweden Connect - The portal for the Sweden Connect federation.
- Sweden Connect - Sandbox - The portal for the Swedish eID and eIDAS test infrastructure.
Copyright © 2016-2024, Sweden Connect. Licensed under version 2.0 of the Apache License.