Struts2 + Spring Security 2.06: Valuestack is null when attempting to use @Secured on an Action method
I just wonder, this problem occurs if you use the default configuration of Spring Security, where it expects ROLE_ prefixed names. See this question: How do I use custom roles/authorities in Spring Security? You are using the default configuration witch expects that roles starts with the “ROLE_” prefix. You will have to add a custom …