Interface IPreProcessor
-
- All Superinterfaces:
IProcessor
public interface IPreProcessor extends IProcessor
IPreProcessor is a service that is called directly before executing any operation. This can be used to do some pre-processing like authorization or request modification before the invocation of the operation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
preprocess(ExecutionContext executionContext)
preprocess allow user to verify the dermis environments like inputs, operation details, request etc.-
Methods inherited from interface com.adobe.aem.dermis.api.processor.IProcessor
isSupported
-
-
-
-
Method Detail
-
preprocess
void preprocess(ExecutionContext executionContext) throws DermisException
preprocess allow user to verify the dermis environments like inputs, operation details, request etc. and allow user to stop executing operation by throwingDermisException
with codeDermisExceptionCodes.OPERATION_ACCESS_DENIED
. Apart from verification user can even modify client request like changing input, adding additional information etc.- Parameters:
executionContext
- provides details regarding operation and argument.- Throws:
DermisException
-
-