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 theUserInfoResponseContext. Note, replaces the entireUserInfoResponseobject.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description UserInfoInUserInfoResponseContextUpdateStrategy()Constructor.UserInfoInUserInfoResponseContextUpdateStrategy(Function<ProfileRequestContext,UserInfoResponseContext> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ProfileRequestContext profileRequestContext, com.nimbusds.jwt.JWT token)-
Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractUserInfoTokenResponseLookupStrategy
getUserInfoResponseContextLookupStrategy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Constructor Detail
-
UserInfoInUserInfoResponseContextUpdateStrategy
public UserInfoInUserInfoResponseContextUpdateStrategy(@ParameterName(name="userInfoResponseContextLookupStrategy") Function<ProfileRequestContext,UserInfoResponseContext> strategy)
Constructor.- Parameters:
strategy- the strategy used look up theAccessTokenResponseContext.
-
UserInfoInUserInfoResponseContextUpdateStrategy
public UserInfoInUserInfoResponseContextUpdateStrategy()
Constructor.
-
-
Method Detail
-
accept
public void accept(ProfileRequestContext profileRequestContext, com.nimbusds.jwt.JWT token)
- Specified by:
acceptin interfaceBiConsumer<ProfileRequestContext,com.nimbusds.jwt.JWT>
-
-