Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

Acegi Configuration

 
Maya Pillai
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

Can anyone help me to configure Acegi in my Spring / HIbernate / JSF application. The error i am getting is ' The requested resource (/Project/j_acegi_security_check.jsf) is not available'. Please find my code below.

ApplicationContext.xml






WEB.XML







FACES-CONFIG.XML


<?xml version="1.0"?>



XHTML






Thanks.




 
Maya Pillai
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am using spring2 and the following jar files for Acegi

acegi-security-1.0.5.jar
acegi-security-tiger-1.0.5.jar
 
Chacko Chen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
How did you resolve the error?

Could you kindly share?

Thanks
 
Radovan Vukovic
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Report post to moderator
I did not work with JSF but seams to me that mapping in web.xml are missing

 
Chacko Chen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks for the reply.


Is there any working sample application for acegi with ntlm?
 
Radovan Vukovic
Greenhorn
Posts: 19
 
Chacko Chen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
Radovan, thanks again for the reply.

Article did not mention anything about ntlm, I am looking for working sample application for acegi with ntlm.

Thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why aren't you using the latest version of Spring Security. Acegi was the old name for Spring Security, so if you are using Acegi, you are using a much older version. Unless you had an app that was already using Acegi, it is much better to use a more up to date version.

Mark
 
Chacko Chen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
I would like to use the new version, however still looking for a working sample application with ntlm authentication.

Thanks
 
Chacko Chen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
I saw this blog regarding spring security and ntlm
http://blog.anorakgirl.co.uk/?p=68#comment-713

However I am not sure how do I start? Where to start? How do I pass my ntlm authenticated user to class which is mentioned in blog? Should I use a servlet or jsp to get ntlm user? etc etc.

Could someone provide some insight?

Thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
What is ntlm? I haven't heard of it before.

Mark
 
Chacko Chen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
NTLM is NT LAN Manager in Windows. By this in servlets or JSP one could get logged in username. More information
http://en.wikipedia.org/wiki/NTLM
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Chako, so this now is a duplicate thread and an old thread that you resurrected. So I am going to close it and allow your other thread to be the one people respond to.

Thanks

Mark
 
    Bookmark Topic Watch Topic
  • New Topic