public class SOAPErrorPredicate extends AbstractRelyingPartyPredicate
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.
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<ProfileRequestContext,EventContext> |
eventContextLookupStrategy
Strategy function for access to
EventContext to check. |
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
SOAPErrorPredicate()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ProfileRequestContext input) |
void |
setEventContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,EventContext> strategy)
Set lookup strategy for
EventContext to check. |
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy@Nonnull private final org.slf4j.Logger log
@Nonnull private com.google.common.base.Function<ProfileRequestContext,EventContext> eventContextLookupStrategy
EventContext to check.public void setEventContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,EventContext> strategy)
EventContext to check.strategy - lookup strategypublic boolean apply(@Nullable ProfileRequestContext input)
Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.