Results 1 to 2 of 2

Thread: a confusing login situation, a possible bug?

  1. #1

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

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

Similar Threads

  1. Replies: 5
    Last Post: Aug 15th, 2006, 08:40 AM
  2. acegi + CAS going in loop after login
    By mcecca in forum Security
    Replies: 3
    Last Post: Sep 30th, 2005, 02:56 PM
  3. Login As
    By nathan.ma@gmail.com in forum Security
    Replies: 6
    Last Post: Jul 30th, 2005, 07:45 PM
  4. how to config two login entry point?
    By creatxr in forum Security
    Replies: 3
    Last Post: Apr 11th, 2005, 11:32 PM
  5. Acegi - Login Tapestry
    By john017 in forum Security
    Replies: 1
    Last Post: Feb 4th, 2005, 01:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •