• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Spring Security - Problem to configure an anonymous access to register page on login's page

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have some difficulty to implement an anonymous configuration with spring security.

application-context.xml


web.xml


Here my security-beans.xml



At begin, i had a problem to create a session id in anonymous mode. I have add create-session="always" for solve this problem but my register page ("/public/inscription") give me a blank page and in console the message "SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.".


In console:


My goal was add a link to a registration's page on login's page.

Thank you in advance for your advices
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic