• 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

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

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic