Class UserInfoInUserInfoResponseContextUpdateStrategy
java.lang.Object
net.shibboleth.sp.oidc.profile.context.navigate.AbstractUserInfoTokenResponseLookupStrategy
net.shibboleth.sp.oidc.profile.context.navigate.UserInfoInUserInfoResponseContextUpdateStrategy
- All Implemented Interfaces:
BiConsumer<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>
public class UserInfoInUserInfoResponseContextUpdateStrategy
extends AbstractUserInfoTokenResponseLookupStrategy
implements BiConsumer<org.opensaml.profile.context.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<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.oidc.profile.context.UserInfoResponseContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.opensaml.profile.context.ProfileRequestContext profileRequestContext, com.nimbusds.jwt.JWT token) Methods inherited from class net.shibboleth.sp.oidc.profile.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<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.oidc.profile.context.UserInfoResponseContext> strategy) Constructor.- Parameters:
strategy- the strategy used look up theAccessTokenResponseContext.
-
UserInfoInUserInfoResponseContextUpdateStrategy
public UserInfoInUserInfoResponseContextUpdateStrategy()Constructor.
-
-
Method Details
-
accept
public void accept(org.opensaml.profile.context.ProfileRequestContext profileRequestContext, com.nimbusds.jwt.JWT token) - Specified by:
acceptin interfaceBiConsumer<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>
-