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 Details

    • releaseAttributes

      List<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