Class SubjectTypeAuditExtractor
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.audit.impl.SubjectTypeAuditExtractor
-
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
public class SubjectTypeAuditExtractor extends Object implements Function<ProfileRequestContext,String>
Functionthat returns the type of the subject fromOIDCAuthenticationResponseContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,OIDCAuthenticationResponseContext>ctxLookupStrategyLookup strategy for the context to find the subject type from.
-
Constructor Summary
Constructors Constructor Description SubjectTypeAuditExtractor()Constructor.SubjectTypeAuditExtractor(Function<ProfileRequestContext,OIDCAuthenticationResponseContext> strategy)Constructor.
-
-
-
Field Detail
-
ctxLookupStrategy
@Nonnull private final Function<ProfileRequestContext,OIDCAuthenticationResponseContext> ctxLookupStrategy
Lookup strategy for the context to find the subject type from.
-
-
Constructor Detail
-
SubjectTypeAuditExtractor
public SubjectTypeAuditExtractor()
Constructor.
-
SubjectTypeAuditExtractor
public SubjectTypeAuditExtractor(@Nonnull Function<ProfileRequestContext,OIDCAuthenticationResponseContext> strategy)Constructor.- Parameters:
strategy- lookup strategy for message
-
-
Method Detail
-
apply
@Nullable public String apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,String>
-
-