Class NameIDAuditExtractor

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

public class NameIDAuditExtractor extends Object implements Function<ProfileRequestContext,String>
Function that returns the Name Identifier from a request or response.
  • Field Details

  • Constructor Details

  • 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 identifier, or null
    • apply

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