Class SubjectValueAuditExtractor
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.audit.impl.SubjectValueAuditExtractor
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
public class SubjectValueAuditExtractor
extends Object
implements Function<ProfileRequestContext,String>
Function that returns the value of the subject from OIDCAuthenticationResponseContext.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ProfileRequestContext,OIDCAuthenticationResponseContext> Lookup strategy for the context to find the subject value from. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.SubjectValueAuditExtractor(Function<ProfileRequestContext, OIDCAuthenticationResponseContext> strategy) Constructor. -
Method Summary
-
Field Details
-
ctxLookupStrategy
@Nonnull private final Function<ProfileRequestContext,OIDCAuthenticationResponseContext> ctxLookupStrategyLookup strategy for the context to find the subject value from.
-
-
Constructor Details
-
SubjectValueAuditExtractor
public SubjectValueAuditExtractor()Constructor. -
SubjectValueAuditExtractor
public SubjectValueAuditExtractor(@Nonnull Function<ProfileRequestContext, OIDCAuthenticationResponseContext> strategy) Constructor.- Parameters:
strategy- lookup strategy for message
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,String>
-