/** 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 DetectIdentitySwitch() { sessionContextLookupStrategy = new ChildContextLookup<>(SessionContext.class); c14nContextLookupStrategy = new ChildContextLookup<>(SubjectCanonicalizationContext.class); }
/** Constructor. */ public AbstractAttributeReleaseAction() { attributeReleaseContextLookupStrategy = new ChildContextLookup<>(AttributeReleaseContext.class, false); attributeContextLookupStrategy = Functions.compose(new ChildContextLookup<>(AttributeContext.class), new ChildContextLookup<ProfileRequestContext, RelyingPartyContext>(RelyingPartyContext.class)); }
/** Constructor. */ public WriteAuditLog() { auditContextLookupStrategy = new ChildContextLookup<>(AuditContext.class); formattingMap = Collections.emptyMap(); }
/** * Constructor. */ public PopulateDelegationContext() { super(); relyingPartyContextLookupStrategy = new ChildContextLookup<>(RelyingPartyContext.class); samlMetadataContextLookupStrategy = new SAMLMetadataContextLookupFunction(); delegationContextLookupStrategy = new ChildContextLookup<>(DelegationContext.class, true); }
/** Constructor. */ public AbstractAttributePredicate() { attributeContextLookupStrategy = Functions.compose(new ChildContextLookup<>(AttributeContext.class), new ChildContextLookup<ProfileRequestContext,RelyingPartyContext>(RelyingPartyContext.class)); useUnfilteredAttributes = true; }
/** Constructor. */ public PopulateEncryptionParameters() { relyingPartyContextLookupStrategy = new ChildContextLookup<>(RelyingPartyContext.class); // Create context by default. encryptionContextLookupStrategy = Functions.compose( new ChildContextLookup<>(EncryptionContext.class, true), new ChildContextLookup<ProfileRequestContext,RelyingPartyContext>(RelyingPartyContext.class)); // Default: outbound msg context -> SAMLPeerEntityContext peerContextLookupStrategy = Functions.compose(new ChildContextLookup<>(SAMLPeerEntityContext.class), new OutboundMessageContextLookup()); }
/** 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. * * @param selector mapping function from session to flow descriptor */ public SelectLogoutPropagationFlow(@Nonnull final Function<SPSession, LogoutPropagationFlowDescriptor> selector) { flowSelectorFunction = Constraint.isNotNull(selector, "Selector cannot be null"); logoutPropagationContextFunction = new ChildContextLookup<>(LogoutPropagationContext.class); }
/** Constructor. */ public IsConsentRequiredPredicate() { consentContextLookupStrategy = new ChildContextLookup<>(ConsentContext.class); consentFlowDescriptorLookupStrategy = new FlowDescriptorLookupFunction<>(ConsentFlowDescriptor.class); }
/** * Constructor. */ public PopulateLibertyContext() { assertionTokenStrategy = new TokenStrategy(); libertyContextLookupStrategy = new ChildContextLookup<>(LibertySSOSContext.class, true); }
/** Constructor. */ public ScriptedDataConnector() { // Defaults to ProfileRequestContext -> RelyingPartyContext -> AttributeContext. prcLookupStrategy = new ParentContextLookup<>(); scLookupStrategy = new ChildContextLookup<>(SubjectContext.class); }
/** Constructor. */ public ScriptedAttributeDefinition() { // Defaults to ProfileRequestContext -> AttributeContext. prcLookupStrategy = new ParentContextLookup<>(); scLookupStrategy = new ChildContextLookup<>(SubjectContext.class); }
/** Constructor. */ public InitializeRelyingPartyContextFromSAMLPeer() { relyingPartyContextCreationStrategy = new ChildContextLookup<>(RelyingPartyContext.class, true); peerEntityContextLookupStrategy = Functions.compose( new ChildContextLookup<>(SAMLPeerEntityContext.class), new InboundMessageContextLookup()); }