/** Constructor. */ public LogEvent() { eventContextLookupStrategy = new CurrentOrPreviousEventLookup(); suppressedEvents = Collections.emptySet(); }
/** Constructor. */ public DefaultLocalErrorPredicate() { // Default: outbound msg context -> SAMLBindingContext bindingContextLookupStrategy = Functions.compose( new ChildContextLookup<>(SAMLBindingContext.class), new OutboundMessageContextLookup()); // Default: outbound msg context -> SAMLPeerEntityContext -> SAMLEndpointContext endpointContextLookupStrategy = Functions.compose( new ChildContextLookup<>(SAMLEndpointContext.class), Functions.compose(new ChildContextLookup<>(SAMLPeerEntityContext.class), new OutboundMessageContextLookup())); eventContextLookupStrategy = new CurrentOrPreviousEventLookup(); localEvents = Collections.emptySet(); }
/** Constructor. */ public ResolveArtifact() { requestLookupStrategy = Functions.compose(new MessageLookup<>(ArtifactResolve.class), new InboundMessageContextLookup()); responseLookupStrategy = Functions.compose(new MessageLookup<>(ArtifactResponse.class), new OutboundMessageContextLookup()); requesterLookupStrategy = Functions.compose(new SAMLMessageContextIssuerFunction(), new InboundMessageContextLookup()); }
/** Constructor. */ public AddNotBeforeConditionToAssertions() { responseLookupStrategy = Functions.compose(new MessageLookup<>(SAMLObject.class), new OutboundMessageContextLookup()); }
/** Constructor. */ public NameIDPolicyLookupFunction() { requestLookupStrategy = Functions.compose(new MessageLookup<>(AuthnRequest.class), new InboundMessageContextLookup()); }
/** Constructor. */ public ResolveArtifacts() { requestLookupStrategy = Functions.compose(new MessageLookup<>(Request.class), new InboundMessageContextLookup()); responseLookupStrategy = Functions.compose(new MessageLookup<>(Response.class), new OutboundMessageContextLookup()); requesterLookupStrategy = Functions.compose(new SAMLMessageContextIssuerFunction(), new InboundMessageContextLookup()); }
/** Constructor. */ public EncryptAttributes() { responseLookupStrategy = Functions.compose(new MessageLookup<>(StatusResponseType.class), new OutboundMessageContextLookup()); }
/** * Constructor. */ public PopulateClientTLSValidationParameters() { // Create context by default. securityParametersContextLookupStrategy = Functions.compose( new ChildContextLookup<>(ClientTLSSecurityParametersContext.class, true), new InboundMessageContextLookup()); }
/** Constructor. */ public VerifyChannelBindings() { channelBindingsLookupStrategy1 = Functions.compose(new ChildContextLookup<>(ChannelBindingsContext.class), new InboundMessageContextLookup()); channelBindingsLookupStrategy2 = Functions.compose(new ChildContextLookup<>(ChannelBindingsContext.class), Functions.compose(new ChildContextLookup<>(SOAP11Context.class), new InboundMessageContextLookup())); channelBindingsCreationStrategy = Functions.compose(new ChildContextLookup<>(ChannelBindingsContext.class, true), new OutboundMessageContextLookup()); }
/** Constructor. */ public AddOneTimeUseConditionToAssertions() { responseLookupStrategy = Functions.compose(new MessageLookup<>(Response.class), new OutboundMessageContextLookup()); }
/** * Constructor. */ public PopulateDecryptionParameters() { // Create context by default. securityParametersContextLookupStrategy = Functions.compose( new ChildContextLookup<>(SecurityParametersContext.class, true), new InboundMessageContextLookup()); }
/** * Constructor. */ public AddDelegationRestrictionToAssertions() { responseLookupStrategy = Functions.compose(new MessageLookup<>(Response.class), new OutboundMessageContextLookup()); presenterContextLookupStrategy = Functions.compose(new ChildContextLookup<>(SAMLPresenterEntityContext.class), new InboundMessageContextLookup()); libertyContextLookupStrategy = new ChildContextLookup<>(LibertySSOSContext.class); }
/** Constructor. */ public AddNotOnOrAfterConditionToAssertions() { responseLookupStrategy = Functions.compose(new MessageLookup<>(SAMLObject.class), new OutboundMessageContextLookup()); defaultAssertionLifetime = 5 * 60 * 1000; }
/** * Constructor. */ public PopulateSignatureValidationParameters() { // Create context by default. securityParametersContextLookupStrategy = Functions.compose( new ChildContextLookup<>(SecurityParametersContext.class, true), new InboundMessageContextLookup()); }
/** Constructor. */ public AddProxyRestrictionToAssertions() { responseLookupStrategy = Functions.compose(new MessageLookup<>(Response.class), new OutboundMessageContextLookup()); }
/** Constructor. */ public InitializeRelyingPartyContextFromSAMLPeer() { relyingPartyContextCreationStrategy = new ChildContextLookup<>(RelyingPartyContext.class, true); peerEntityContextLookupStrategy = Functions.compose( new ChildContextLookup<>(SAMLPeerEntityContext.class), new InboundMessageContextLookup()); }
/** Constructor. */ public AddDoNotCacheConditionToAssertions() { responseLookupStrategy = Functions.compose(new MessageLookup<>(Response.class), new OutboundMessageContextLookup()); }
/** Constructor. */ public EncryptAssertions() { responseLookupStrategy = Functions.compose(new MessageLookup<>(StatusResponseType.class), new OutboundMessageContextLookup()); }
/** Constructor. */ public InitializeOutboundMessageContextForError() { // Default: outbound msg context -> SAMLBindingContext bindingContextLookupStrategy = Functions.compose( new ChildContextLookup<>(SAMLBindingContext.class, true), new OutboundMessageContextLookup()); relyingPartyContextLookupStrategy = new ChildContextLookup<>(RelyingPartyContext.class); }
/** Constructor. */ public SetRPUIInformation() { metadataContextLookupStrategy = Functions.compose(new ChildContextLookup<>(SAMLMetadataContext.class), Functions.compose( new ChildContextLookup<>(SAMLPeerEntityContext.class), new OutboundMessageContextLookup())); rpUIContextCreateStrategy = Functions.compose(new ChildContextLookup<>(RelyingPartyUIContext.class, true), new ChildContextLookup<ProfileRequestContext, AuthenticationContext>( AuthenticationContext.class, true)); }