Announcement Announcement Module
No announcement yet.
a confusing login situation, a possible bug? Page Title Module
Move Remove Collapse
This topic is closed
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • a confusing login situation, a possible bug?

    a user DIRECTLY goes to the login page and types correct username
    and password. the page a user should go after a successful login
    is a secured page, such as the following

    <property name="defaultTargetUrl"><value>/secured_area</value></property>

    this user does not have a role allowing him to visit this area. instead
    of throwing denied access exceptions, acegi throws UsernameNotFoundException
    and redirects the user back to the login page. this is a confusing logic.
    (based on that exception, my app displays an wrong error message)

    not quite sure whether other users have similar observations or i did
    something wrong.

    thanks for your feedback!


  • #2
    Could you please post a debug-level log so I can get a feel for what's happening on your system.