Interface AttributeProducer

All Known Subinterfaces:
AttributeReleaseManager
All Known Implementing Classes:
DefaultAttributeProducer, DefaultAttributeReleaseManager, ReleaseAllAttributeProducer, SwedenConnectAttributeProducer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AttributeProducer
An interface that is used to decide which attributes that should be released in an Assertion.
Author:
Martin Lindström
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.opensaml.saml.saml2.core.Attribute>
    Determines which attributes to release based on the supplied token.
  • Method Details

    • releaseAttributes

      List<org.opensaml.saml.saml2.core.Attribute> releaseAttributes(Saml2UserAuthentication userAuthentication)
      Determines which attributes to release based on the supplied token.
      Parameters:
      userAuthentication - the user authentication token
      Returns:
      a (possibly empty) list of attributes