• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

@PreAuthorize gives AuthenticationCredentialsNotFoundException .Am I missing out something?

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am new to spring.I am trying to implement method level permission access using @PreAuthorize annotation.
Please find below all the code I have written to build sample application.
I have made changes to my web.xml,mvcWeb-servlet.xml mvcWeb-security-servlet.xml.
I am getting below exception when it reaches HelloWebPermissionEvaluator class which implements PermissionEvaluator.

Do I have to add any thing more?Am I missing out something.

I am getting exception

Nothing? Or something? Like this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic