aspose file tools
The moose likes Spring and the fly likes NoSuchMethodException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "NoSuchMethodException:" Watch "NoSuchMethodException:" New topic


Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 238
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:<init>(javax.faces.view.facelets.ComponentConfig)

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

Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

Does this help?

If you are using web-flow see their documentation

[How To Ask Questions][Read before you PM me]
Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 238
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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: NoSuchMethodException: