GithubHelp home page GithubHelp logo

swedenconnect / opensaml-eidas Goto Github PK

View Code? Open in Web Editor NEW
2.0 6.0 0.0 9.23 MB

OpenSAML extensions for the eIDAS Framework

Home Page: https://www.swedenconnect.se

License: Apache License 2.0

Java 100.00%
eidas eidas-framework opensaml opensaml-extensions

opensaml-eidas's Introduction

Logo

opensaml-eidas

License Maven Central

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:

How to use the use the eidas-opensaml library

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>

Documentation

Examples

Creating an eIDAS AuthnRequest message

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.

Parsing an Assertion

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.

Resources

eIDAS Specifications
Swedish eID Framework

Copyright © 2016-2024, Sweden Connect. Licensed under version 2.0 of the Apache License.

opensaml-eidas's People

Contributors

martin-lindstrom avatar razumain avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

opensaml-eidas's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.