• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Acegi security - writing custom username validation to db.

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm new to Acegi Security, so I'm having trouble starting. I have a solid understanding on working with Spring, Struts and Hibernate.

Now, I want to create a web login page with Acegi, where I can write my AuthenticationDAO and use my database for username validation. I found alot of samples on InMemoryDaoImpl and JdbcImpl, but that's not what I want!!!

Can anyone provide me sample code on implementing "PasswordDaoAuthenticationProvider", "DaoAuthenticationProvider" with custom database access (doesn't have to be hibernate). Also, how to tie it back to the applicationContext.xml config file?

Please Please help!!!
 
Greenhorn
Posts: 22
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you looked at "AppFuse"?

http://appfuse.org/

It seems to be a "pre-setup" project that includes Acegi (and Spring, etc.)... Perhaps it would provide a good example on how to do this for you?
 
reply
    Bookmark Topic Watch Topic
  • New Topic