0
是否可以使用Sencha Touch 2和Spring Security進行跨域登錄?Sencha Touch 2跨域登錄
是否可以使用Sencha Touch 2和Spring Security進行跨域登錄?Sencha Touch 2跨域登錄
您可以使用Restful Web Services來實現這一點。您可以使用Spring構建一個寧靜的Web服務,Spring Security可以處理身份驗證和授權。我相信這是唯一的方法,因爲您無法通過普通的Spring Security認證來重定向不在同一個域中的頁面。爲了使應用程序跨域運行,您需要使用lib http://software.dzhuvinov.com/cors-filter.html。
你能否更詳細地解釋一下你想要做什麼? – ThinkFloyd