@Deprecated public abstract class LegacyVelocitySecureScreen extends LegacyVelocityScreen
conf, templateService, velocity
log
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
LegacyVelocitySecureScreen()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doBuildTemplate(PipelineData pipelineData)
Deprecated.
This method overrides the method in VelocityScreen to
perform a security check first.
|
protected abstract void |
doBuildTemplate(RunData data,
org.apache.velocity.context.Context context)
Deprecated.
Implement this to add information to the context.
|
protected abstract boolean |
isAuthorized(RunData data)
Deprecated.
Implement this method to perform the security check needed.
|
doBuildTemplate
buildTemplate
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate
build, getLayout, getPrefix, setLayout
getRunData
public LegacyVelocitySecureScreen()
protected abstract void doBuildTemplate(RunData data, org.apache.velocity.context.Context context) throws Exception
doBuildTemplate
in class LegacyVelocityScreen
data
- Turbine information.context
- Context for web pages.Exception,
- a generic exception.Exception
protected void doBuildTemplate(PipelineData pipelineData) throws Exception
doBuildTemplate
in class VelocityScreen
pipelineData
- Turbine information.Exception,
- a generic exception.Exception
- A generic exception.protected abstract boolean isAuthorized(RunData data) throws Exception
data
- Turbine information.Exception,
- a generic exception.Exception
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.