Class SOAPErrorPredicate
java.lang.Object
net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
net.shibboleth.idp.saml.saml2.profile.config.logic.SOAPErrorPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
Predicate that decides whether to handle an error by returning a SOAP fault to a requester
or fail locally.
Most ECP errors that don't result in a SAML Response should be handled with a SOAP fault, but this can be overriden to accomodate special needs of clients, particularly when dealing with login failure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,EventContext> Strategy function for access toEventContextto check.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSet lookup strategy forEventContextto check.booleantest(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. -
eventContextLookupStrategy
Strategy function for access toEventContextto check.
-
-
Constructor Details
-
SOAPErrorPredicate
public SOAPErrorPredicate()Constructor.
-
-
Method Details
-
setEventContextLookupStrategy
public void setEventContextLookupStrategy(@Nonnull Function<ProfileRequestContext, EventContext> strategy) Set lookup strategy forEventContextto check.- Parameters:
strategy- lookup strategy
-
test
-