authentication-manager属性文件Spring安全性

时间:2016-05-19 11:04:14

标签: java xml spring spring-mvc

我刚接触春天,我无法弄清楚这是什么问题。

我的 foreach($jsonObj['companies'] as $item) { // now item will represent each iterable element in $jsonObj['companies] // so we could do this: echo $item['id']; } `                                                           

spring-security.xml

我的 <authentication-manager> <authentication-provider> <user-service id="userDetailsService" properties="classpath:users.properties"/> </authentication-provider> </authentication-manager>`

users.properties

我的WebApp没有从这里开始 stacktrace

bob=bobspassword,ROLE_USER,enabled

Project Structure

我关注的指南是this

1 个答案:

答案 0 :(得分:0)

修正了我的代码中存在拼写错误。