Class UserInfoPlainResponseTypeCondition
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.messaging.context.logic.AbstractUserInfoResponseTypeCondition
-
- net.shibboleth.idp.plugin.authn.oidc.rp.messaging.context.logic.UserInfoPlainResponseTypeCondition
-
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
public class UserInfoPlainResponseTypeCondition extends AbstractUserInfoResponseTypeCondition
Condition that returns true if the UserInfo response was an plain JSON type i.e. not a signed and or encrypted JWT.
-
-
Constructor Summary
Constructors Constructor Description UserInfoPlainResponseTypeCondition()Constructor.UserInfoPlainResponseTypeCondition(Function<ProfileRequestContext,UserInfoResponseContext> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandoTest(ProfileRequestContext prc, UserInfoResponseContext context)Implementations should override this method to provide necessary logic.-
Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.messaging.context.logic.AbstractUserInfoResponseTypeCondition
test
-
-
-
-
Constructor Detail
-
UserInfoPlainResponseTypeCondition
public UserInfoPlainResponseTypeCondition()
Constructor.
-
UserInfoPlainResponseTypeCondition
public UserInfoPlainResponseTypeCondition(@Nonnull Function<ProfileRequestContext,UserInfoResponseContext> strategy)Constructor.- Parameters:
strategy- the UserInfo response context lookup strategy to use.
-
-
Method Detail
-
doTest
protected boolean doTest(@Nonnull ProfileRequestContext prc, @Nonnull UserInfoResponseContext context)Description copied from class:AbstractUserInfoResponseTypeConditionImplementations should override this method to provide necessary logic.- Specified by:
doTestin classAbstractUserInfoResponseTypeCondition- Parameters:
prc- the profile request contextcontext- the UserInfo response context- Returns:
- the result of this test
-
-