Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login with spring acegi.

 
peter aerts
Ranch Hand
Posts: 32
MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.
I want to create an university application with spring 2.5 ,hibernate 3.1,jsf 1.2.but first of all i want to write login
that have username,password,usertype(admin,hod,student) with acegi.
could anyone help me.I am really confuse becouse i read acegi reference and many sample but i cant write it yet.
I need a real sample.i want handle errors with acegi capaibility(message.properties) not to redirect to another page like error.jsp.
please help me.
thank you.
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Peter,

After a quick google I found http://www.tfo-eservices.eu/wb_tutorials/media/SpringAcegiTutorial/HTML/SpringAcegiTutorial-1_1-html.html this acegi example.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is probably a little more up to date. http://www.acegisecurity.org/petclinic-tutorial.html
 
Jay Chmiel
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure you want to use Acegi? Spring Security is based on Acegi and it makes life a lot easier.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic