public abstract class VelocitySecureScreen extends VelocityScreen
templateError, templateService, velocity
log
CACHE_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.
|
buildTemplate
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate
build, getLayout, getPrefix, setLayout
getRunData
public VelocitySecureScreen()
protected abstract void doBuildTemplate(PipelineData pipelineData, org.apache.velocity.context.Context context) throws Exception
doBuildTemplate
in class VelocityScreen
pipelineData
- Turbine information.context
- Context for web pages.Exception
- a generic exception.protected void doBuildTemplate(PipelineData pipelineData) throws Exception
doBuildTemplate
in class VelocityScreen
pipelineData
- 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.