Class RequireHardLoginBeforeControllerHandler

java.lang.Object
de.hybris.platform.yacceleratorstorefront.interceptors.beforecontroller.RequireHardLoginBeforeControllerHandler
All Implemented Interfaces:
BeforeControllerHandler

public class RequireHardLoginBeforeControllerHandler extends Object implements BeforeControllerHandler
  • Field Details

  • Constructor Details

    • RequireHardLoginBeforeControllerHandler

      public RequireHardLoginBeforeControllerHandler()
  • Method Details

    • getLoginUrl

      protected String getLoginUrl()
    • setLoginUrl

      public void setLoginUrl(String loginUrl)
    • getRedirectStrategy

      protected org.springframework.security.web.RedirectStrategy getRedirectStrategy()
    • setRedirectStrategy

      public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
    • getLoginAndCheckoutUrl

      public String getLoginAndCheckoutUrl()
    • setLoginAndCheckoutUrl

      public void setLoginAndCheckoutUrl(String loginAndCheckoutUrl)
    • getRequireHardLoginEvaluator

      protected RequireHardLoginEvaluator getRequireHardLoginEvaluator()
    • setRequireHardLoginEvaluator

      public void setRequireHardLoginEvaluator(RequireHardLoginEvaluator requireHardLoginEvaluator)
    • beforeController

      public boolean beforeController(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.method.HandlerMethod handler) throws Exception
      Description copied from interface: BeforeControllerHandler
      Called before the DispatcherServlet calls the controller.
      Specified by:
      beforeController in interface BeforeControllerHandler
      Parameters:
      request - current HTTP request
      response - current HTTP response
      Returns:
      true if the execution chain should proceed with the next interceptor or the handler itself. Else, DispatcherServlet assumes that this interceptor has already dealt with the response itself.
      Throws:
      Exception - in case of errors
    • getRedirectUrl

      protected String getRedirectUrl(javax.servlet.http.HttpServletRequest request)
    • findAnnotation

      protected <T extends Annotation> T findAnnotation(org.springframework.web.method.HandlerMethod handlerMethod, Class<T> annotationType)