Class EncryptedUserInfoJWTLookupStrategy

java.lang.Object
net.shibboleth.sp.oidc.profile.context.navigate.AbstractUserInfoTokenResponseLookupStrategy
net.shibboleth.sp.oidc.profile.context.navigate.EncryptedUserInfoJWTLookupStrategy
All Implemented Interfaces:
Function<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>

@ThreadSafe public class EncryptedUserInfoJWTLookupStrategy extends AbstractUserInfoTokenResponseLookupStrategy implements Function<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>
Function that extracts the UserInfo JWT from the UserInfoResponseContext iff it is an EncryptedJWT type. If not null is returned.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Logger.
  • Constructor Details

    • EncryptedUserInfoJWTLookupStrategy

      public EncryptedUserInfoJWTLookupStrategy(@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.
    • EncryptedUserInfoJWTLookupStrategy

      public EncryptedUserInfoJWTLookupStrategy()
      Constructor.
  • Method Details

    • apply

      @Nullable public com.nimbusds.jwt.JWT apply(@Nullable org.opensaml.profile.context.ProfileRequestContext prc)
      Specified by:
      apply in interface Function<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>