This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchMethodException: org.springframework.security.taglibs.authz.AuthenticationTag

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
how do you get hold of spring security 3 tag within a jsf2 facelet page.
I currently call <sec:authentication property="principal.username" /> but keep
getting the following:-
Caused by: java.lang.NoSuchMethodException: org.springframework.security.taglibs.authz.AuthenticationTag.<init>(javax.faces.view.facelets.ComponentConfig)

I created the following within springsecurity.taglib.xml, not sure if this is the correct approach.



 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill,
thanks for the reply. I have managed to integrate spring security 3 into my jsf application, but I'm not sure how to get hold of the username that is logged in using the spring authenticationtag
I checked out the following, but this is for aurhorize


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic