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 Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class 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 the AccessTokenResponseContext.
    • UserInfoInUserInfoResponseContextUpdateStrategy

      public UserInfoInUserInfoResponseContextUpdateStrategy()
      Constructor.
  • Method Details

    • accept

      public void accept(org.opensaml.profile.context.ProfileRequestContext profileRequestContext, com.nimbusds.jwt.JWT token)
      Specified by:
      accept in interface BiConsumer<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>