Class RequireHardLoginBeforeControllerHandler

    • Field Detail

      • SECURE_GUID_SESSION_KEY

        public static final java.lang.String SECURE_GUID_SESSION_KEY
        See Also:
        Constant Field Values
    • Constructor Detail

      • RequireHardLoginBeforeControllerHandler

        public RequireHardLoginBeforeControllerHandler()
    • Method Detail

      • getLoginUrl

        protected java.lang.String getLoginUrl()
      • setLoginUrl

        public void setLoginUrl​(java.lang.String loginUrl)
      • getRedirectStrategy

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

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

        public java.lang.String getLoginAndCheckoutUrl()
      • setLoginAndCheckoutUrl

        public void setLoginAndCheckoutUrl​(java.lang.String loginAndCheckoutUrl)
      • 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 java.lang.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:
        java.lang.Exception - in case of errors
      • getRedirectUrl

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

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