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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Acegi Configuration

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
How did you resolve the error?

Could you kindly share?

Thanks
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Thanks for the reply.


Is there any working sample application for acegi with ntlm?
 
Radovan Vukovic
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Try this: http://www.ibm.com/developerworks/java/library/j-acegi1/index.html
 
Chacko Chen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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