public abstract class VelocitySecureScreen extends VelocityScreen
templateError, templateService, velocitylogCACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX| Constructor and Description |
|---|
VelocitySecureScreen() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBuildTemplate(PipelineData pipelineData)
This method overrides the method in VelocityScreen to
perform a security check first.
|
protected abstract void |
doBuildTemplate(PipelineData pipelineData,
org.apache.velocity.context.Context context)
Implement this to add information to the context.
|
protected abstract boolean |
isAuthorized(PipelineData pipelineData)
Implement this method to perform the security check needed.
|
buildTemplatedoBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplatebuild, getLayout, getPrefix, setLayoutgetRunDatapublic VelocitySecureScreen()
protected abstract void doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context) throws Exception
doBuildTemplate in class VelocityScreenpipelineData - Turbine information.context - Context for web pages.Exception - a generic exception.protected void doBuildTemplate(PipelineData pipelineData) throws Exception
doBuildTemplate in class VelocityScreenpipelineData - Turbine information.Exception - a generic exception.protected abstract boolean isAuthorized(PipelineData pipelineData) throws Exception
pipelineData - Turbine information.Exception - a generic exception.Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.