Versions Compared

Key

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

[10:56:41 CDT(-0500)] <EricDalquist> so liferay doesn't return the username for getRemoteUser?
[11:01:53 CDT(-0500)] <athena> no, i believe it returns the internal ID
[11:02:31 CDT(-0500)] <athena> which is some long number
[11:02:40 CDT(-0500)] <EricDalquist> nice
[11:02:50 CDT(-0500)] <EricDalquist> yeah I don't think the spec is all that ambiguous there
[11:03:25 CDT(-0500)] <athena> yeah, i agree
[11:03:39 CDT(-0500)] <athena> i do think that there's potential ambiguity in what you actually want in some portlets
[11:03:49 CDT(-0500)] <EricDalquist> right
[11:03:56 CDT(-0500)] <EricDalquist> 286 helps a little there
[11:04:01 CDT(-0500)] <athena> like say for an email portlets, there's a good chance that you want the institutional string id, and a good chance that is what the user logged in using
[11:04:02 CDT(-0500)] <EricDalquist> by also giving you access to a "windowId"
[11:04:23 CDT(-0500)] <athena> but actually maybe your email system requires you to log in with your email address instead of your username
[11:04:30 CDT(-0500)] <EricDalquist> yup
[11:04:36 CDT(-0500)] <athena> most of our portlets get the username for cases like that, rather than actually determining the user
[11:05:00 CDT(-0500)] <EricDalquist> yeah those cases USER_INFO makes more sence
[11:05:10 CDT(-0500)] <EricDalquist> I'd still like to get the features we talked about in the long-dead 3.x code
[11:05:24 CDT(-0500)] <EricDalquist> of having the option to map data from the portlet.xml at publish time
[11:05:47 CDT(-0500)] <EricDalquist> so like if a portlet.xml declares a user attribute "emailLoginName"
[11:05:58 CDT(-0500)] <EricDalquist> you could map that to a user attribute that uPortal knows about when publishing the portlet
[11:06:13 CDT(-0500)] <athena> interesting
[11:06:16 CDT(-0500)] <athena> yeah that'd be nice
[11:06:18 CDT(-0500)] <EricDalquist> do the same thing with roles, etc
[11:06:27 CDT(-0500)] <EricDalquist> that is the intent in the spec
[11:06:34 CDT(-0500)] <athena> oh interesting
[11:06:43 CDT(-0500)] <EricDalquist> that portals provide a way to map between declared role/attribute/etc keys
[11:06:46 CDT(-0500)] <EricDalquist> and what the portal supports
[11:07:00 CDT(-0500)] <athena> yeah that'd be useful (smile)
[11:07:28 CDT(-0500)] <EricDalquist> so something to stick on the todo list
[11:08:05 CDT(-0500)] <athena> i bet there's only one item on there
[11:08:07 CDT(-0500)] <athena> (tongue)
[11:08:38 CDT(-0500)] <EricDalquist> lol
[12:34:30 CDT(-0500)] <athena> ergh, found another JAXB issue with JSTL
[12:34:37 CDT(-0500)] <EricDalquist> (tongue)
[12:34:42 CDT(-0500)] <EricDalquist> whats that?
[12:34:47 CDT(-0500)] <athena> for xs:boolean types, they produce getters/setters that use Booleans
[12:34:56 CDT(-0500)] <athena> and they name the methods isWhatever/setWhatever
[12:35:04 CDT(-0500)] <athena> which apparently is only legal with the primitive boolean type
[12:35:10 CDT(-0500)] <EricDalquist> oi