Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
GWT使用Spring登录-URL问题_Gwt_Login_Spring Security - Fatal编程技术网

GWT使用Spring登录-URL问题

GWT使用Spring登录-URL问题,gwt,login,spring-security,Gwt,Login,Spring Security,我试图解决GWT中的URL登录问题。我们正在使用spring安全性。问题是,一切都在开发模式下工作,但在tomcat中,构建为WAR时失败了 application-context-security.xml请参见: <form-login authentication-success-handler-ref="mySuccessHandler" authentication-failure-handler-ref="myFailureHandler" login-processing-ur

我试图解决GWT中的URL登录问题。我们正在使用spring安全性。问题是,一切都在开发模式下工作,但在tomcat中,构建为WAR时失败了

application-context-security.xml请参见:

<form-login authentication-success-handler-ref="mySuccessHandler" authentication-failure-handler-ref="myFailureHandler" login-processing-url="/login" />
有谁能帮我找出哪里做错了?问题是,如果必须有/Login.html或Login.html ot/Login或其他内容,我不理解URL

任何帮助都将不胜感激


认为卢卡斯的问题解决了。我使用了/login-fo-Spring-security-login,但也使用了login.gwt.xml、login.java作为gwt部件。正确的URL也有问题。当我将Spring安全登录更改为其他(/differentLogin)时,Everythingg在托管和web模式下工作正常。

ypu能否显示您的登录servlet如何映射到web.xml中?我在web.xml中没有任何关于登录的信息,仅适用于spring安全:springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy springSecurityFilterChain/*