Class RequestObjectRequiredAndSupported
java.lang.Object
net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
net.shibboleth.sp.oidc.profile.config.logic.RequestObjectRequiredAndSupported
- All Implemented Interfaces:
Predicate<org.opensaml.profile.context.ProfileRequestContext>
public class RequestObjectRequiredAndSupported
extends net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
A predicate that tests whether a request object should be built based on what is configured in the profile
configuration and whether the OP supports it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> Strategy that will returnOIDCProviderMetadata. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetOidcProviderMetadataContextLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> strategy) Set the lookup strategy to use to locate theOIDCProviderMetadataContext.booleantest(org.opensaml.profile.context.ProfileRequestContext input) Methods inherited from class net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
oidcProviderMetadataContextLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> oidcProviderMetadataContextLookupStrategyStrategy that will returnOIDCProviderMetadata.
-
-
Constructor Details
-
RequestObjectRequiredAndSupported
public RequestObjectRequiredAndSupported()Constructor.
-
-
Method Details
-
setOidcProviderMetadataContextLookupStrategy
public void setOidcProviderMetadataContextLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.oidc.metadata.context.OIDCProviderMetadataContext> strategy) Set the lookup strategy to use to locate theOIDCProviderMetadataContext.- Parameters:
strategy- lookup function to use
-
test
public boolean test(org.opensaml.profile.context.ProfileRequestContext input)
-