Class SOAPErrorPredicate
java.lang.Object
net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
net.shibboleth.idp.saml.saml2.profile.config.logic.SOAPErrorPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
,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 toEventContext
to check.private final org.slf4j.Logger
Class logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set lookup strategy forEventContext
to check.boolean
test
(ProfileRequestContext input) Methods inherited from class net.shibboleth.idp.profile.logic.AbstractRelyingPartyPredicate
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
eventContextLookupStrategy
Strategy function for access toEventContext
to check.
-
-
Constructor Details
-
SOAPErrorPredicate
public SOAPErrorPredicate()Constructor.
-
-
Method Details
-
setEventContextLookupStrategy
public void setEventContextLookupStrategy(@Nonnull Function<ProfileRequestContext, EventContext> strategy) Set lookup strategy forEventContext
to check.- Parameters:
strategy
- lookup strategy
-
test
-