public abstract class VelocitySecureScreen extends VelocityScreen
conf, 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.Exceptionprotected void doBuildTemplate(PipelineData pipelineData) throws Exception
doBuildTemplate in class VelocityScreenpipelineData - Turbine information.Exception, - a generic exception.Exception - A generic exception.protected abstract boolean isAuthorized(PipelineData pipelineData) throws Exception
pipelineData - Turbine information.Exception, - a generic exception.ExceptionCopyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.