Results 1 to 2 of 2

Thread: Contacts Sample login confusion

  1. #1
    Join Date
    Feb 2005
    Posts
    24

    Default Contacts Sample login confusion

    Hi.

    I'm new to acegi. I've read the reference guide, and I'm now plowing through the contacts sample in hopes of figuring out how to get basic security (with some ACL rules in the future) setup.

    I pretty much understand the ACL stuff in general, but I can't figure out how the app is doing the login of the users.

    Nowhere that I can tell in the source is there a DAO that grabs the users from the USERS table. I don't even see a reference to the principles in the app context xml files.

    Basically I'm just trying to start with a simple login page.
    I'm using hibernate and already have a User domain object.
    I have no problem using the base JDBCDao stuff for ACL, but is it doing some magic to authenticate the users in the sample app as well?

    Really just need a stripped down explanation of how the sample app is handling the basic act of authentication without all the other authorization stuff.

    Thanks!

    - Jonathan

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Some of the articles at http://acegisecurity.sourceforge.net/articles.html might offer some pointers on just doing authentication.

Similar Threads

  1. how does the contacts sample work ?
    By Hamed in forum Security
    Replies: 2
    Last Post: Oct 11th, 2005, 03:01 AM
  2. Replies: 3
    Last Post: Jun 25th, 2005, 06:14 PM
  3. Contacts Sample for CAS in version 0.8.0?
    By jpwinans in forum Security
    Replies: 1
    Last Post: Mar 8th, 2005, 04:47 PM
  4. Replies: 1
    Last Post: Feb 4th, 2005, 12:20 AM
  5. sample contacts application - null pointer exception
    By rajnish.srivastava in forum Security
    Replies: 5
    Last Post: Oct 29th, 2004, 09:46 PM

Posting Permissions

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