/** Constructor. */ public AddLogoutRequest() { // Default strategy is a 16-byte secure random source. idGeneratorLookupStrategy = new Function<ProfileRequestContext,IdentifierGenerationStrategy>() { public IdentifierGenerationStrategy apply(final ProfileRequestContext input) { return new SecureRandomIdentifierGenerationStrategy(); } }; logoutPropContextLookupStrategy = new ChildContextLookup<>(LogoutPropagationContext.class); includeSessionIndex = true; }
/** Constructor. */ public UpdateSessionWithAuthenticationResult() { sessionContextCreationStrategy = new ChildContextLookup<>(SessionContext.class, true); subjectContextLookupStrategy = new ChildContextLookup<>(SubjectContext.class); }
/** Constructor. */ public ExtractConsentFromRequestHandler() { super(); consentContextStrategy = new ChildContextLookup<>(SAMLConsentContext.class, true); }
/** Constructor. */ public AddChannelBindingsHeaderHandler() { super(); channelBindingsContextLookupStrategy = new ChildContextLookup<>(ChannelBindingsContext.class); }
/** Constructor. */ public HttpSOAPClient() { soapClientContextLookupStrategy = new ChildContextLookup<>(SOAPClientContext.class, false); soap11ContextLookupStrategy = new ChildContextLookup<>(SOAP11Context.class, false); }
/** * Constructor. */ public PopulateDelegationContext() { super(); relyingPartyContextLookupStrategy = new ChildContextLookup<>(RelyingPartyContext.class); samlMetadataContextLookupStrategy = new SAMLMetadataContextLookupFunction(); delegationContextLookupStrategy = new ChildContextLookup<>(DelegationContext.class, true); }
/** Constructor. */ TransitionMultiFactorAuthentication() { multiFactorContextLookupStrategy = Functions.compose( new ChildContextLookup(MultiFactorAuthenticationContext.class), new ChildContextLookup(AuthenticationContext.class)); eventContextLookupStrategy = new WebFlowCurrentEventLookupFunction(); validateLoginTransitions = true; }
/** * Constructor. * * @param type profile interceptor flow descriptor type to look up */ public FlowDescriptorLookupFunction(@Nonnull final Class<T> type) { interceptorFlowDescriptorType = Constraint.isNotNull(type, "Interceptor flow descriptor type cannot be null"); interceptorContextlookupStrategy = new ChildContextLookup<>(ProfileInterceptorContext.class); }
/** * Constructor. */ public SAMLAddAttributeConsumingServiceHandler() { super(); metadataContextLookupStrategy = Functions.compose( new ChildContextLookup<SAMLPeerEntityContext,SAMLMetadataContext>(SAMLMetadataContext.class), new ChildContextLookup<MessageContext,SAMLPeerEntityContext>(SAMLPeerEntityContext.class)); indexLookupStrategy = new AuthnRequestIndexLookup(); }
/** Constructor. */ public BaseAddAttributeStatementToAssertion() { statementInOwnAssertion = false; ignoringUnencodableAttributes = true; attributeContextLookupStrategy = Functions.compose(new ChildContextLookup<>(AttributeContext.class), new ChildContextLookup<ProfileRequestContext,RelyingPartyContext>(RelyingPartyContext.class)); idGeneratorLookupStrategy = new IdentifierGenerationStrategyLookupFunction(); issuerLookupStrategy = new ResponderIdLookupFunction(); }
/** 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 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. */ public SelectProfileConfiguration() { relyingPartyContextLookupStrategy = Functions.compose( new ChildContextLookup<InOutOperationContext, RelyingPartyContext>(RelyingPartyContext.class), new RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>(InOutOperationContext.class) ); }
/** * Constructor. * * @param mapper mapper used to consume designators */ public FilterByQueriedAttributeDesignators(@Nonnull final SAML1AttributeDesignatorsMapperService mapper) { mapperService = Constraint.isNotNull(mapper, "MapperService cannot be null"); attributeContextLookupStrategy = Functions.compose(new ChildContextLookup<>(AttributeContext.class), new ChildContextLookup<ProfileRequestContext,RelyingPartyContext>(RelyingPartyContext.class)); requestLookupStrategy = Functions.compose(new MessageLookup(Request.class), new InboundMessageContextLookup()); }
/** Constructor. */ public AbstractDecryptAction() { errorFatal = true; securityParamsLookupStrategy = Functions.compose(new ChildContextLookup<>(SecurityParametersContext.class), new InboundMessageContextLookup()); messageLookupStrategy = Functions.compose(new MessageLookup<>(Object.class), new InboundMessageContextLookup()); decryptionPredicate = Predicates.alwaysTrue(); }
/** Constructor. */ public AbstractEncryptAction() { encryptionCtxLookupStrategy = Functions.compose(new ChildContextLookup<>(EncryptionContext.class), new OutboundMessageContextLookup()); keyPlacementLookupStrategy = FunctionSupport.<ProfileRequestContext,KeyPlacement>constant(KeyPlacement.INLINE); encryptToSelf = Predicates.alwaysFalse(); }
/** Constructor. */ public AddGeneratedKeyToAssertions() { ecpContextLookupStrategy = Functions.compose(new ChildContextLookup<>(ECPContext.class), new OutboundMessageContextLookup()); responseLookupStrategy = Functions.compose(new MessageLookup<>(Response.class), new OutboundMessageContextLookup()); }
/** * Constructor. * * @param lifetime lifetime in milliseconds, determines upper bound for expiration of * {@link SAML2SPSession} to be created */ public SAML2SPSessionCreationStrategy(@Positive @Duration final long lifetime) { sessionLifetime = Constraint.isGreaterThan(0, lifetime, "Lifetime must be greater than 0"); relyingPartyContextLookupStrategy = new ChildContextLookup<>(RelyingPartyContext.class); responseLookupStrategy = Functions.compose(new MessageLookup<>(Response.class), new OutboundMessageContextLookup()); }