Class ForceAuthnAuditExtractor
- java.lang.Object
-
- net.shibboleth.oidc.profile.audit.impl.ForceAuthnAuditExtractor
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Boolean>
public class ForceAuthnAuditExtractor extends Object implements Function<ProfileRequestContext,Boolean>
Functionthat returns true if the OIDC prompt is set as 'login' in the authentication request. BothOIDCAuthenticationRequestandAuthenticationRequestare supported.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,Object>requestLookupStrategyLookup strategy to locate the authentication request.
-
Constructor Summary
Constructors Constructor Description ForceAuthnAuditExtractor(Function<ProfileRequestContext,Object> strategy)Constructor.
-
-
-
Field Detail
-
requestLookupStrategy
@Nonnull private final Function<ProfileRequestContext,Object> requestLookupStrategy
Lookup strategy to locate the authentication request.
-
-
Constructor Detail
-
ForceAuthnAuditExtractor
public ForceAuthnAuditExtractor(@Nonnull Function<ProfileRequestContext,Object> strategy)Constructor.- Parameters:
strategy- lookup strategy for locating the authentication request
-
-
Method Detail
-
apply
@Nullable public Boolean apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,Boolean>
-
-