Class CurrentAuthenticationResolvingProcessor

java.lang.Object
org.craftercms.security.processors.impl.CurrentAuthenticationResolvingProcessor
All Implemented Interfaces:
RequestSecurityProcessor

public class CurrentAuthenticationResolvingProcessor extends Object implements RequestSecurityProcessor
Obtains and sets the authentication for the current request.
Author:
Alfonso Vásquez
  • Field Details

  • Constructor Details

    • CurrentAuthenticationResolvingProcessor

      public CurrentAuthenticationResolvingProcessor()
  • Method Details

    • setAuthenticationManager

      public void setAuthenticationManager(AuthenticationManager authenticationManager)
    • processRequest

      public void processRequest(org.craftercms.commons.http.RequestContext context, RequestSecurityProcessorChain processorChain) throws Exception
      Sets the authentication for the current request. If the profileLastModified timestamp is in the request, and it doesn't match the one from the current profile, a reload of the profile is forced.
      Specified by:
      processRequest in interface RequestSecurityProcessor
      Parameters:
      context - the context which holds the current request and other security info pertinent to the request
      processorChain - the processor chain, used to call the next processor
      Throws:
      Exception