Class BankIdAttributeProducer

java.lang.Object
se.swedenconnect.bankid.idp.authn.BankIdAttributeProducer
All Implemented Interfaces:
AttributeProducer

public class BankIdAttributeProducer extends Object implements AttributeProducer
An AttributeProducer that makes sure that the authContextParam and transactionId attributes are released even if they are not explicitly requested.
Author:
Martin Lindström, Felix Hellman
  • Constructor Details

    • BankIdAttributeProducer

      public BankIdAttributeProducer()
  • Method Details

    • releaseAttributes

      public List<org.opensaml.saml.saml2.core.Attribute> releaseAttributes(Saml2UserAuthentication userAuthentication)
      Will release authContextParam and transactionId attributes. If the requester is a sign service, we also release the userSignature attribute.
      Specified by:
      releaseAttributes in interface AttributeProducer