public class RememberMeAutoLoginProcessor extends Object implements RequestSecurityProcessor
RequestSecurityProcessor
that executes auto login when a valid remember
me cookie is found in the request and there's no authentication present yet.Modifier and Type | Field and Description |
---|---|
protected RememberMeManager |
rememberMeManager |
Constructor and Description |
---|
RememberMeAutoLoginProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
processRequest(org.craftercms.commons.http.RequestContext context,
RequestSecurityProcessorChain processorChain)
Processes a request, enforcing security when required.
|
void |
setRememberMeManager(RememberMeManager rememberMeManager) |
protected RememberMeManager rememberMeManager
public void setRememberMeManager(RememberMeManager rememberMeManager)
public void processRequest(org.craftercms.commons.http.RequestContext context, RequestSecurityProcessorChain processorChain) throws Exception
RequestSecurityProcessor
processRequest
in interface RequestSecurityProcessor
context
- the context which holds the current request and responseprocessorChain
- the RequestSecurityProcessorChain
, used to call the next processorException
Copyright © 2023 CrafterCMS. All rights reserved.