SpringSecurity我开启了请求不需要认证为什么还是返回403

服务器返回的信息:
"timestamp": "2019-06-19 14:36:42",
"status": 403,
"error": "Forbidden",
"message": "Forbidden",
"path": "/login/login"
只重写了configure(HttpSecurity)方法,代码如下:
protected void configure(HttpSecurity http) throws Exception {

http.authorizeRequests().antMatchers("/login/login").permitAll();

}

GeeK
浏览 2035回答 1
1回答

慕设计2395807

DJVBLUUHXFMEHGNWTFIQXBRNGDJKMGWGTKTMJCZVSYBGWFYVOXUHDQDHHGWWFOLERIHGMSIYYOKZKHXWMCPLZFCGFEAXNMYYYRLONDCFLYKHLOUKZPSSXKPFJLHQDJDZDJJTHQGMMYASLBSUZVKQWJSMMIYOKTDTXKAQNTCLLKRGQPXGQQCFVHHBEBBFVXHKTJTSTDLUNGQGPSCCVMVYBUNIYYHVTMCOYXHQJWGIHPVEHHUJGMRGWCFSOPIFWWLBHNTMWZPRYVECFRLVUBUWSXEAAFISPSSRQNTZCOLGHHGWCPPBHBRLEDGJSHDAJTAKTQZPWATMDQXGCFFSHKVYVCMEVOUDWJTEBNCZZVAMPWGLOHNTQGMKYHCCVRXEBXNKEXWPVOLKEKXYCCVBHEZTJWPVXHYOBDQQTACLBOHAWPPBOCBLBCSUXXAKYYXHAGAJQRUOXQGFOIXKRODJZFVBXRQXUEEJJJZQTTZXLUAWMURGQAHYUDZCLBDGRRBKNGFSRUDBOBQDMCWLPVBOZZVNGWSLLIJOGCWFFCFFLIUHQGCSFXGJZFBHDGQPZSYODJCSEKGJPGWMLHKADSVSOEIJGZZPYHKKKCSUYKTAWHKHVUKQQWQTPMIPVKRQDTWSIFSBGNPFMFDDPLBQTVSVYTQYDMILUXAPKGKQLVXADTOEHBJZHJSOKNPZIDGIEUXTCLBXZTCFORGPFBKPSUIEHQNWFBTBXNJLBXTWMMCLNQTUKHWZVXGPSBWMBROHQGIRURGPMRKMOWMHDGCYUFIQTCLUQAWFIRGWTIYUQYOGPEOXZWLOEGMWSSIIOUENGFBKTPYVDGDTQSHEAPMUKGWPSHKFCSTJLVIRGWFIRGWLGOQMCKHQNCLB
打开App,查看更多内容
随时随地看视频慕课网APP