Interface RequestSecurityProcessor
- All Known Implementing Classes:
AddSecurityCookiesProcessor
,AuthenticationHeadersLoginProcessor
,CurrentAuthenticationResolvingProcessor
,LoginProcessor
,LogoutProcessor
,RememberMeAutoLoginProcessor
,ReturnCurrentAuthenticationProcessor
,SavedRequestAwareProcessor
,SecurityExceptionProcessor
,UrlAccessRestrictionCheckingProcessor
public interface RequestSecurityProcessor
Implementations should process a request to enforce a security aspect (authentication, authorization, etc.).
- Author:
- Alfonso Vásquez
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processRequest
(org.craftercms.commons.http.RequestContext context, RequestSecurityProcessorChain processorChain) Processes a request, enforcing security when required.
-
Method Details
-
processRequest
void processRequest(org.craftercms.commons.http.RequestContext context, RequestSecurityProcessorChain processorChain) throws Exception Processes a request, enforcing security when required.- Parameters:
context
- the context which holds the current request and responseprocessorChain
- theRequestSecurityProcessorChain
, used to call the next processor- Throws:
Exception
-