Class RenewLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.cas.audit.impl.RenewLookupFunction
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Boolean>
public class RenewLookupFunction extends Object implements Function<ProfileRequestContext,Boolean>
Looks up the value of the CAS renew parameter from the request to the /login URI.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,ProtocolContext>protocolContextFunctionLookup strategy for protocol context.
-
Constructor Summary
Constructors Constructor Description RenewLookupFunction()Constructor.RenewLookupFunction(Function<ProfileRequestContext,ProtocolContext> protocolLookup)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanapply(ProfileRequestContext input)Whether to require fresh subject interaction to succeed.
-
-
-
Field Detail
-
protocolContextFunction
@Nonnull private final Function<ProfileRequestContext,ProtocolContext> protocolContextFunction
Lookup strategy for protocol context.
-
-
Constructor Detail
-
RenewLookupFunction
public RenewLookupFunction()
Constructor.
-
RenewLookupFunction
public RenewLookupFunction(@Nonnull Function<ProfileRequestContext,ProtocolContext> protocolLookup)Constructor.- Parameters:
protocolLookup- lookup strategy for protocol context
-
-
Method Detail
-
apply
@Nullable public Boolean apply(@Nullable ProfileRequestContext input)
Whether to require fresh subject interaction to succeed.- Specified by:
applyin interfaceFunction<ProfileRequestContext,Boolean>
-
-