Class RequestSecurityProcessorChainImpl
- java.lang.Object
-
- org.craftercms.security.processors.impl.RequestSecurityProcessorChainImpl
-
- All Implemented Interfaces:
RequestSecurityProcessorChain
public class RequestSecurityProcessorChainImpl extends Object implements RequestSecurityProcessorChain
Default implementation of a handler chain, using an iterator.- Author:
- Alfonso Vásquez
-
-
Constructor Summary
Constructors Constructor Description RequestSecurityProcessorChainImpl(Iterator<RequestSecurityProcessor> processorIterator)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processRequest(org.craftercms.commons.http.RequestContext context)
Calls the nextRequestSecurityProcessor
of the iterator.
-
-
-
Constructor Detail
-
RequestSecurityProcessorChainImpl
public RequestSecurityProcessorChainImpl(Iterator<RequestSecurityProcessor> processorIterator)
Default constructor- Parameters:
processorIterator
- iterator ofRequestSecurityProcessor
s.
-
-
Method Detail
-
processRequest
public void processRequest(org.craftercms.commons.http.RequestContext context) throws Exception
Calls the nextRequestSecurityProcessor
of the iterator.- Specified by:
processRequest
in interfaceRequestSecurityProcessorChain
- Parameters:
context
- the request context- Throws:
Exception
-
-