Class NameIDFormatAuditExtractor

java.lang.Object
net.shibboleth.idp.saml.audit.impl.NameIDFormatAuditExtractor
All Implemented Interfaces:
Function<ProfileRequestContext,​String>

public class NameIDFormatAuditExtractor
extends Object
implements Function<ProfileRequestContext,​String>
Function that returns the Name Identifier Format from a SAML Subject.
  • Field Details

  • Constructor Details

    • NameIDFormatAuditExtractor

      public NameIDFormatAuditExtractor​(@Nonnull Function<ProfileRequestContext,​SAMLObject> strategy)
      Constructor.
      Parameters:
      strategy - lookup strategy for message
  • Method Details

    • apply

      @Nullable public String apply​(@Nullable ProfileRequestContext input)
      Specified by:
      apply in interface Function<ProfileRequestContext,​String>
    • apply

      @Nullable private String apply​(@Nonnull Assertion assertion)
      Apply function to an assertion.
      Parameters:
      assertion - assertion to operate on
      Returns:
      the format, or null
    • apply

      @Nullable private String apply​(@Nonnull Assertion assertion)
      Apply function to an assertion.
      Parameters:
      assertion - assertion to operate on
      Returns:
      the format, or null