Class UserInfoInUserInfoResponseContextUpdateStrategy
java.lang.Object
net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractUserInfoTokenResponseLookupStrategy
net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.UserInfoInUserInfoResponseContextUpdateStrategy
- All Implemented Interfaces:
BiConsumer<ProfileRequestContext,com.nimbusds.jwt.JWT>
public class UserInfoInUserInfoResponseContextUpdateStrategy
extends AbstractUserInfoTokenResponseLookupStrategy
implements BiConsumer<ProfileRequestContext,com.nimbusds.jwt.JWT>
Consumer strategy to update the UserInfo JWT in the
UserInfoResponseContext.
Note, replaces the entire UserInfoResponse object.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.UserInfoInUserInfoResponseContextUpdateStrategy(Function<ProfileRequestContext, UserInfoResponseContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ProfileRequestContext profileRequestContext, com.nimbusds.jwt.JWT token) Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractUserInfoTokenResponseLookupStrategy
getUserInfoResponseContextLookupStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
UserInfoInUserInfoResponseContextUpdateStrategy
public UserInfoInUserInfoResponseContextUpdateStrategy(@ParameterName(name="userInfoResponseContextLookupStrategy") Function<ProfileRequestContext, UserInfoResponseContext> strategy) Constructor.- Parameters:
strategy- the strategy used look up theAccessTokenResponseContext.
-
UserInfoInUserInfoResponseContextUpdateStrategy
public UserInfoInUserInfoResponseContextUpdateStrategy()Constructor.
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<ProfileRequestContext,com.nimbusds.jwt.JWT>
-