Class EncryptedUserInfoJWTLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractUserInfoTokenResponseLookupStrategy
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.EncryptedUserInfoJWTLookupStrategy
-
- All Implemented Interfaces:
Function<ProfileRequestContext,com.nimbusds.jwt.JWT>
@ThreadSafe public class EncryptedUserInfoJWTLookupStrategy extends AbstractUserInfoTokenResponseLookupStrategy implements Function<ProfileRequestContext,com.nimbusds.jwt.JWT>
Function that extracts the UserInfo JWT from theUserInfoResponseContextiff it is anEncryptedJWTtype. If notnullis returned.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description EncryptedUserInfoJWTLookupStrategy()Constructor.EncryptedUserInfoJWTLookupStrategy(Function<ProfileRequestContext,UserInfoResponseContext> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.jwt.JWTapply(ProfileRequestContext prc)-
Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractUserInfoTokenResponseLookupStrategy
getUserInfoResponseContextLookupStrategy
-
-
-
-
Constructor Detail
-
EncryptedUserInfoJWTLookupStrategy
public EncryptedUserInfoJWTLookupStrategy(@ParameterName(name="userInfoResponseContextLookupStrategy") Function<ProfileRequestContext,UserInfoResponseContext> strategy)
Constructor.- Parameters:
strategy- the strategy used look up theAccessTokenResponseContext.
-
EncryptedUserInfoJWTLookupStrategy
public EncryptedUserInfoJWTLookupStrategy()
Constructor.
-
-
Method Detail
-
apply
@Nullable public com.nimbusds.jwt.JWT apply(@Nonnull ProfileRequestContext prc)- Specified by:
applyin interfaceFunction<ProfileRequestContext,com.nimbusds.jwt.JWT>
-
-