public class StartupHelpers extends Object
| Constructor and Description |
|---|
StartupHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static Pipeline |
buildFromConfiguration(PipelineBuilder builder,
PipelineOptions options,
boolean clientSideEvidenceEnabled)
Configure the extra web elements required and build the Pipeline using
the
PipelineBuilder.buildFromConfiguration(PipelineOptions)
method. |
static Pipeline |
buildFromConfiguration(PipelineBuilder builder,
PipelineOptions options,
boolean clientSideEvidenceEnabled,
String contextRoot)
Configure the extra web elements required and build the Pipeline using
the
PipelineBuilder.buildFromConfiguration(PipelineOptions)
method. |
public static Pipeline buildFromConfiguration(PipelineBuilder builder, PipelineOptions options, boolean clientSideEvidenceEnabled) throws Exception
PipelineBuilder.buildFromConfiguration(PipelineOptions)
method.builder - to build the Pipelineoptions - to build the Pipeline withclientSideEvidenceEnabled - true if client-side evidence is enabled
in the configuration. This will add JSON
and JavaScript elements to the PipelinePipeline instanceException - if there was an error building the Pipelinepublic static Pipeline buildFromConfiguration(PipelineBuilder builder, PipelineOptions options, boolean clientSideEvidenceEnabled, String contextRoot) throws Exception
PipelineBuilder.buildFromConfiguration(PipelineOptions)
method.builder - to build the Pipelineoptions - to build the Pipeline withclientSideEvidenceEnabled - true if client-side evidence is enabled
in the configuration. This will add JSON
and JavaScript elements to the PipelinecontextRoot - The context-root setting from the web.xml. This is
needed in order to create the correct callback URL
for the JavascriptBuilder.Pipeline instanceException - if there was an error building the PipelineCopyright © 2021 51Degrees. All rights reserved.