Spring Security - Access is denied (user is not anonymous) spring-security-core-4.0.3.RELEASE

前端 未结 5 850
暗喜
暗喜 2020-12-15 06:58

can anyone see an failure in this Spring Security Config File?

After Login the i get a debug message:

Access is denied (user is not anonymous)

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-15 07:28

    The solution is that the

    img.img-rounded.img-responsive(alt='Avatar', src="#{_contextPath}#{profile.avatarPath}")

    was wrong. After getting the right path it works for me.

提交回复
热议问题