public abstract class VelocitySecureAction extends VelocityAction
initialized, velocity
bubbleUpException, BUTTON, BUTTON_LENGTH, DEFAULT_METHOD, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
VelocitySecureAction() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isAuthorized(PipelineData pipelineData)
Implement this method to perform the security check needed.
|
protected void |
perform(PipelineData pipelineData)
This method overrides the method in VelocityAction to
perform a security check first.
|
doPerform, initialize, setTemplate
doPerform
considerKey, executeEvents, formatString, getMethod
getRunData
public VelocitySecureAction()
protected void perform(PipelineData pipelineData) throws Exception
perform
in class VelocityAction
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.