/** Constructor. */ public SelectProfileConfiguration() { relyingPartyContextLookupStrategy = Functions.compose( new ChildContextLookup<InOutOperationContext, RelyingPartyContext>(RelyingPartyContext.class), new RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>(InOutOperationContext.class) ); }
/** Constructor. */ public AbstractRelyingPartyLookupFunction() { relyingPartyContextLookupStrategy = Functions.compose( new ChildContextLookup<InOutOperationContext, RelyingPartyContext>(RelyingPartyContext.class), new RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>(InOutOperationContext.class) ); }
/** Constructor. */ public InitializeRelyingPartyContextFromSAMLPeer() { relyingPartyContextCreationStrategy = Functions.compose( new ChildContextLookup<InOutOperationContext, RelyingPartyContext>(RelyingPartyContext.class, true), new RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>(InOutOperationContext.class) ); peerEntityContextLookupStrategy = Functions.compose( new ChildContextLookup<InOutOperationContext, SAMLPeerEntityContext>(SAMLPeerEntityContext.class), new RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>(InOutOperationContext.class) ); }
/** Constructor. */ public SelectRelyingPartyConfiguration() { relyingPartyContextLookupStrategy = Functions.compose( new ChildContextLookup<InOutOperationContext, RelyingPartyContext>(RelyingPartyContext.class), new RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>(InOutOperationContext.class) ); }
/** Constructor. */ public AbstractRelyingPartyPredicate() { relyingPartyContextLookupStrategy = Functions.compose( new ChildContextLookup<InOutOperationContext, RelyingPartyContext>(RelyingPartyContext.class), new RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>(InOutOperationContext.class) ); }
/** * Constructor. * * @param prcPredicate the adapted predicate * @param unresolvedSatisfies whether failure to resolve a parent ProfileRequestContext satisfies the predicate */ public MessageContextPredicateAdapter( @Nonnull @ParameterName(name = "prcPredicate") final Predicate<ProfileRequestContext> prcPredicate, @ParameterName(name = "unresolvedSatisfies") final boolean unresolvedSatisfies) { adapted = Constraint.isNotNull(prcPredicate, "The adapted predicate may not be null"); noPRCSatisfies = unresolvedSatisfies; prcLookup = new RecursiveTypedParentContextLookup<>(ProfileRequestContext.class); }