public class VelocitySecureActionDoesNothing extends VelocitySecureAction
Modifier and Type | Field and Description |
---|---|
static int |
isAuthorizedCalls |
static int |
numberOfCalls |
static int |
pipelineDataCalls |
initialized, velocity
bubbleUpException, BUTTON, BUTTON_LENGTH, DEFAULT_METHOD, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
Constructor and Description |
---|
VelocitySecureActionDoesNothing() |
Modifier and Type | Method and Description |
---|---|
void |
doPerform(PipelineData pipelineData,
org.apache.velocity.context.Context context)
Default action is throw an exception.
|
protected boolean |
isAuthorized(PipelineData pipelineData) |
perform
initialize, setTemplate
doPerform
considerKey, executeEvents, formatString, getMethod
getRunData
public static int numberOfCalls
public static int pipelineDataCalls
public static int isAuthorizedCalls
public VelocitySecureActionDoesNothing()
public void doPerform(PipelineData pipelineData, org.apache.velocity.context.Context context) throws Exception
doPerform
in class VelocityAction
pipelineData
- Current RunData informationcontext
- Context to populateException
- Thrown on errorprotected boolean isAuthorized(PipelineData pipelineData) throws Exception
isAuthorized
in class VelocitySecureAction
Exception
VelocitySecureAction.isAuthorized(org.apache.turbine.pipeline.PipelineData)
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.