Class DefaultUserInfoJWTLookupStrategy
java.lang.Object
net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.DefaultUserInfoJWTLookupStrategy
- All Implemented Interfaces:
Function<ProfileRequestContext,com.nimbusds.jwt.JWT>
@ThreadSafe
public class DefaultUserInfoJWTLookupStrategy
extends Object
implements Function<ProfileRequestContext,com.nimbusds.jwt.JWT>
Function that extracts the UserInfo claims as a JWT from the
UserInfoResponseContext. If not found, returns
null.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ProfileRequestContext,UserInfoResponseContext> Strategy used to look up theUserInfoResponseContext. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor. -
Method Summary
-
Field Details
-
userInfoResponseContextLookupStrategy
@Nonnull private final Function<ProfileRequestContext,UserInfoResponseContext> userInfoResponseContextLookupStrategyStrategy used to look up theUserInfoResponseContext.
-
-
Constructor Details
-
DefaultUserInfoJWTLookupStrategy
public DefaultUserInfoJWTLookupStrategy()Constructor. -
DefaultUserInfoJWTLookupStrategy
public DefaultUserInfoJWTLookupStrategy(@Nonnull Function<ProfileRequestContext, UserInfoResponseContext> strategy) Constructor.- Parameters:
strategy- the UserInfo response context lookup strategy to use.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,com.nimbusds.jwt.JWT>
-