Class RequireHardLoginEvaluator

    • Field Detail

      • SECURE_GUID_SESSION_KEY

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

      • RequireHardLoginEvaluator

        public RequireHardLoginEvaluator()
    • Method Detail

      • getCookieGenerator

        protected org.springframework.web.util.CookieGenerator getCookieGenerator()
      • setCookieGenerator

        public void setCookieGenerator​(org.springframework.web.util.CookieGenerator cookieGenerator)
      • getUserService

        protected UserService getUserService()
      • setUserService

        public void setUserService​(UserService userService)
      • setSessionService

        public void setSessionService​(SessionService sessionService)
      • getCartService

        protected CartService getCartService()
      • setCartService

        public void setCartService​(CartService cartService)
      • evaluate

        public boolean evaluate​(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
        Description copied from interface: SecurityTraitEvaluator
        Evaluates a security trait.
        Specified by:
        evaluate in interface SecurityTraitEvaluator
        Returns:
        true if security trait needs to be enforced.
      • checkForGUIDCookie

        protected boolean checkForGUIDCookie​(javax.servlet.http.HttpServletRequest request,
                                             javax.servlet.http.HttpServletResponse response,
                                             java.lang.String guid)
      • isGuidStoredinCookies

        protected boolean isGuidStoredinCookies​(javax.servlet.http.HttpServletRequest request,
                                                javax.servlet.http.HttpServletResponse response,
                                                java.lang.String guid,
                                                java.lang.String guidCookieName)
      • checkForAnonymousCheckout

        protected boolean checkForAnonymousCheckout()