You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Glenn Golden <gg...@umich.edu> on 2002/04/25 19:28:58 UTC
Group PSML support
Hi folks. I will soon be returning my attention to Jetspeed internals, and
need to get things working for group access to group portal pages. I want
to ask anyone actively working on projects to comment on anything they
happen to be doing that might impact this. I want to also canvas the
developers to see if anyone knows of anything which is not working in this
area.
My scenarios to test group access and group pages are as follows:
Scenario One: multiple open pages
User A has two different portal pages open in two different browser windows,
both in the same HTTP session. They may be two different "group" pages
(i.e. with /group/xxx in the URL), or one may be the user's own page.
Scenario Two: multiple users on a page
User A has a portal page open in a browser window, and so does User B; they
are both viewing the same "group" page, using the /group/G profiler
information in the page URL. Users A and B are both members of group "G".
User C cannot view the page, because User C is not in group "G".
In both of these cases, the users must be able to do all the stuff we can do
in Jetspeed; view, interact, maximize, minimize, customize. Security must
be enforced to control who can view and who can change based on GROUP
membership.
Soon, I'll be reviewing the code and carefully testing and fixing to make
sure this works; I just want to find out now what we know that might be a
problem here, or what we know needs to be implemented to have this work.
Thanks!
- Glenn
--------------------------------------------
Glenn R. Golden, Systems Research Programmer
University of Michigan School of Information
ggolden@umich.edu 734-615-1419
http://www-personal.si.umich.edu/~ggolden/
--------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Group PSML support
Posted by Santiago Gala <sg...@hisitech.com>.
David Sean Taylor wrote:
>
>
>>My scenarios to test group access and group pages are as follows:
>>
>>Scenario One: multiple open pages
>>
>>User A has two different portal pages open in two different
>>browser windows, both in the same HTTP session. They may be
>>two different "group" pages (i.e. with /group/xxx in the
>>URL), or one may be the user's own page.
>>
>>
>>
>
>I think you will find problems with having two windows open in the same
>session since Jetspeed stores its session state by session, not by
>browser window.
>
>
If cookies are disabled (maybe we should have an option to use
url-rewriting only, maybe tomcat already has it :-) ) each window
belongs to a different session (unless you paste the ;jsessionid=xxxx in
the browser window). This is a little known feature of servlets.
Unless we have broken url rewriting support lately, it used to work.
If not, all windows send the same cookie and belong to the same session.
Great to have a choice!
>
>
>>Scenario Two: multiple users on a page
>>
>>User A has a portal page open in a browser window, and so
>>does User B; they are both viewing the same "group" page,
>>using the /group/G profiler information in the page URL.
>>Users A and B are both members of group "G". User C cannot
>>view the page, because User C is not in group "G".
>>
>>In both of these cases, the users must be able to do all the
>>stuff we can do in Jetspeed; view, interact, maximize,
>>minimize, customize. Security must be enforced to control
>>who can view and who can change based on GROUP membership.
>>
>>
>
>Paul has added support for correctly accessing group pages with the
>JetspeedLink class.
>You should now be able to customize a group page, although the example
>group pages under group/apache fail to customize.
>
>The next step is the add security checks to the Profiler.
>This shouldn't be too difficult.
>Security checks on psml resources is very much needed feature!
>
>
PortletSetWrapper will do this, storing the Security coming from the
PSML object in addition to the PoerletSet. Coming RSN to your flat
screens :-)
>
>
>>Soon, I'll be reviewing the code and carefully testing and
>>fixing to make sure this works; I just want to find out now
>>what we know that might be a problem here, or what we know
>>needs to be implemented to have this work.
>>
>>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Group PSML support
Posted by David Sean Taylor <da...@bluesunrise.com>.
> My scenarios to test group access and group pages are as follows:
>
> Scenario One: multiple open pages
>
> User A has two different portal pages open in two different
> browser windows, both in the same HTTP session. They may be
> two different "group" pages (i.e. with /group/xxx in the
> URL), or one may be the user's own page.
>
I think you will find problems with having two windows open in the same
session since Jetspeed stores its session state by session, not by
browser window.
> Scenario Two: multiple users on a page
>
> User A has a portal page open in a browser window, and so
> does User B; they are both viewing the same "group" page,
> using the /group/G profiler information in the page URL.
> Users A and B are both members of group "G". User C cannot
> view the page, because User C is not in group "G".
>
> In both of these cases, the users must be able to do all the
> stuff we can do in Jetspeed; view, interact, maximize,
> minimize, customize. Security must be enforced to control
> who can view and who can change based on GROUP membership.
Paul has added support for correctly accessing group pages with the
JetspeedLink class.
You should now be able to customize a group page, although the example
group pages under group/apache fail to customize.
The next step is the add security checks to the Profiler.
This shouldn't be too difficult.
Security checks on psml resources is very much needed feature!
>
> Soon, I'll be reviewing the code and carefully testing and
> fixing to make sure this works; I just want to find out now
> what we know that might be a problem here, or what we know
> needs to be implemented to have this work.
>
> Thanks!
>
> - Glenn
>
> --------------------------------------------
> Glenn R. Golden, Systems Research Programmer
> University of Michigan School of Information
> ggolden@umich.edu 734-615-1419
> http://www-personal.si.umich.edu/~ggolden/
> --------------------------------------------
>
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-dev-> unsubscribe@jakarta.apache.org>
> For
> additional commands,
> e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>