Class TokenRequestSubjectLookupFunction
- java.lang.Object
-
- org.geant.idpextension.oidc.profile.context.navigate.AbstractTokenClaimsLookupFunction<String>
-
- org.geant.idpextension.oidc.profile.context.navigate.TokenRequestSubjectLookupFunction
-
- All Implemented Interfaces:
Function<org.opensaml.profile.context.ProfileRequestContext,String>,org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.ProfileRequestContext,String>
public class TokenRequestSubjectLookupFunction extends AbstractTokenClaimsLookupFunction<String>
For Token and UserInfo end points. A function that returns subject claims via a lookup function. This lookup locates subject from token (Authorization Code / Access Token) for token request handling. If subject is not available, null is returned.
-
-
Constructor Summary
Constructors Constructor Description TokenRequestSubjectLookupFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) StringdoLookup(TokenClaimsSet tokenClaims)Implemented to perform the actual lookup.-
Methods inherited from class org.geant.idpextension.oidc.profile.context.navigate.AbstractTokenClaimsLookupFunction
apply
-
-
-
-
Method Detail
-
doLookup
String doLookup(@Nonnull TokenClaimsSet tokenClaims)
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractTokenClaimsLookupFunction<String>- Parameters:
tokenClaims- token claims set to perform the lookup from.- Returns:
- lookup value.
-
-