Class Saml2AssertionBuilder

java.lang.Object
se.swedenconnect.spring.saml.idp.authentication.Saml2AssertionBuilder

public class Saml2AssertionBuilder extends Object
The Saml2AssertionBuilder is responsible for building SAML Assertions given Saml2UserAuthentication objects.
Author:
Martin Lindström
  • Constructor Details

    • Saml2AssertionBuilder

      public Saml2AssertionBuilder(String idpEntityId, PkiCredential signatureCredential, AttributeReleaseManager attributeReleaseManager)
      Constructor.
      Parameters:
      idpEntityId - the IdP entity ID
      signatureCredential - the signature credential (for signing the assertion)
      attributeReleaseManager - decides which attributes from the user token that should be released in the assertion
  • Method Details