Announcement Announcement Module
Collapse
No announcement yet.
spring security disabling anonymous role user does not work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring security disabling anonymous role user does not work

    Hi all!

    I having a problem securizing the access to some pages of my web generated by Roo.

    I need to forbid or deny the access to "anonymousUser" cause this can access although you have closed the session by the secured logout.

    My configuration is esentially the following:

    <http auto-config="false" use-expressions="true">
    <anonymous enabled="false"/>

    <form-login login-processing-url="/resources/j_spring_security_check" login-page="/login" authentication-failure-url="/login?login_error=t" default-target-url="/apio.html"/>
    <logout logout-url="/resources/j_spring_security_logout" logout-success-url="/login"/>

    I don't know why <anonymous enabled="false"/> is not working or what I should do to fix this.

    Many thx in advance for everybody.

    Regards.
Working...
X