Results 1 to 5 of 5

Thread: can acegi use hibernate?

Hybrid View

  1. #1

    Default can acegi use hibernate?

    can acegi use hibernate?

  2. #2

    Default

    Hey, I'm certainly no expert here. But I would guess that since Acegi is built on the Spring Framework, and Spring can use Hibernate, Acegi should be able to use Hibernate as well. I'm assuming you want to use it in your authenticationDao. It is probably just a matter of configuration. I too will be attempting that approach, so if I get it, I'll post it here.

    -James

  3. #3

    Default

    If you want to use it for authenticating, you will need to simply write your own AuthenticationDAO (i.e. implement AuthenticationDAO) and then extend HibernateDaoSupport.

    --Rexxe

  4. #4
    Join Date
    Oct 2004
    Location
    China
    Posts
    14

    Default It does work with hibernate

    What Rexxe said is right .I use my UserDAO which extends org.springframework.orm.hibernate.support.Hibernat eDaoSupport and implements org.springframework.orm.hibernate.support.Hibernat eDaoSupport. It does
    work for me now

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

    Default

    Yes indeed, you only need to implement AuthenticationDao on whatever data access object takes your fancy.

    Another recent thread on how to go about Hibernate integration can be found at http://forum.springframework.org/showthread.php?t=12746.
    Last edited by robyn; May 19th, 2006 at 05:56 AM.

Similar Threads

  1. Replies: 9
    Last Post: Apr 4th, 2007, 03:09 AM
  2. Replies: 5
    Last Post: Dec 27th, 2005, 07:00 AM
  3. Loosing my SecureContext
    By sklakken in forum Security
    Replies: 3
    Last Post: Jul 21st, 2005, 01:44 PM
  4. Replies: 3
    Last Post: Nov 19th, 2004, 07:16 PM
  5. Replies: 7
    Last Post: Aug 21st, 2004, 03:42 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
  •