Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[14:48:43 CDT(-0500)] <cwaymire> which is the case. are there any tricks to getting the username of the authenticated user?

[14:49:39 CDT(-0500)] <EricDalquist> the only way

[14:49:48 CDT(-0500)] <EricDalquist> is for the user to visit the portlet first

[14:49:57 CDT(-0500)] <EricDalquist> the portlet stores the username in the application scope in the portlet session

[14:50:01 CDT(-0500)] <EricDalquist> then the servlet can see that value

[14:50:10 CDT(-0500)] <EricDalquist> if the servlet is the first point of contact though

[14:50:10 CDT(-0500)] <EricDalquist> no

[14:50:12 CDT(-0500)] <EricDalquist> there is no way