Class DefaultLocalErrorPredicate

All Implemented Interfaces:
Predicate<ProfileRequestContext>, Predicate<ProfileRequestContext>

public class DefaultLocalErrorPredicate
extends Object
implements Predicate<ProfileRequestContext>
Predicate that decides whether to handle an error by returning a SAML response to a requester or fail locally.

This is principally determined based on whether or not the necessary message context children are present so that a response can be delivered, but is also tunable based on the error event being handled.