我的例子是

SavedRequest savedRequest = (SavedRequest) httpRequest.getSession()
       .getAttribute(AbstractProcessingFilter.SPRING_SECURITY_SAVED_REQUEST_KEY);


但这在SpringSecurity 3.1.1中不起作用

最佳答案

SavedRequest savedRequest = (SavedRequest)httpRequest.getSession().getAttribute(AbstractProcessingFilter.SPRING_SECURITY_SAVED_REQUEST_KEY);

09-28 05:31