Class FixedStringAuditExtractor
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.duo.audit.impl.FixedStringAuditExtractor
-
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
public class FixedStringAuditExtractor extends Object implements Function<ProfileRequestContext,String>
A simple audit extractor that allows a fixed string to be logged.
-
-
Constructor Summary
Constructors Constructor Description FixedStringAuditExtractor(String stringToLog)Constructor.
-
-
-
Field Detail
-
value
@Nonnull private final String value
The fixed string to log.
-
-
Constructor Detail
-
FixedStringAuditExtractor
public FixedStringAuditExtractor(@Nonnull @NotEmpty @ParameterName(name="value") String stringToLog)
Constructor.- Parameters:
stringToLog- the fixed string to log
-
-
Method Detail
-
apply
public String apply(ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,String>
-
-