Announcement Announcement Module
Collapse
No announcement yet.
a confusing login situation, a possible bug? Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • 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!

    pete

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

    Comment

    Working...
    X