Class AuthenticationRequestClaimsAuditExtractor
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction<T>
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthenticationRequestLookupFunction<String>
net.shibboleth.idp.plugin.oidc.op.audit.impl.AuthenticationRequestClaimsAuditExtractor
- All Implemented Interfaces:
Function<ProfileRequestContext,,String> ContextDataLookupFunction<ProfileRequestContext,String>
public class AuthenticationRequestClaimsAuditExtractor
extends AbstractAuthenticationRequestLookupFunction<String>
implements Function<ProfileRequestContext,String>
A function that resolves a claim value from the authentication request. If request object was involved and contains
a value for the claim, it will be returned. Otherwise it's fetched from the authentication request parameters.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthenticationRequestLookupFunction
doLookupMethods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction
apply, getRequestObject
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logClass logger. -
key
The claim whose value is to be extracted.
-
-
Constructor Details
-
AuthenticationRequestClaimsAuditExtractor
Constructor.- Parameters:
claim- The claim whose value is to be resolved from the id_token claims set.
-
-
Method Details
-
doLookup
Implemented to perform the actual lookup from OIDC authentication request.- Specified by:
doLookupin classAbstractAuthenticationRequestLookupFunction<String>- Parameters:
request- authentication request to perform the lookup from.- Returns:
- lookup value.
-