Announcement Announcement Module
Collapse
No announcement yet.
Access to logged in user/ Authentication object from public pages Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access to logged in user/ Authentication object from public pages

    Hi,
    I have an application that contains some pages that are secure (you need to log in) and others that can be accessed without logging in.

    I need access to Authentication in my "public page" too, but
    SecurityContextHolder.getContext().getAuthenticati on() returns null in this page.

    I have set filters="none" on the intercept-url for the public page.

    What do I have to access the Authentication from this page?

    Thanks :-)
Working...
X