0
我使用Spring Security 3.1在Google App Engine上開發了Spring MVC Rest服務。在Google App Engine上使用基本身份驗證的RestTemplate
由於該服務僅適用於我的其他應用程序,因此我使用預定義的用戶名和密碼進行了基本身份驗證設置。
現在,我有一個用RestTemplate開發的客戶端。但是我無法通過RestTemplate發送用戶名和密碼安全訪問我的服務。
我已經經歷了很多文章,但大多數都使用Apache HttpClient(不受谷歌appengine支持)。
那麼,有什麼替代方法來獲得我想要的谷歌appengine。
可能重複http://stackoverflow.com/questions/9376549/resttemplate-basic-or-digest-authentication-與最電流的HttpClient -4- x)的 – Raedwald