You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Per Kreipke <pe...@onclave.com> on 2002/08/07 23:22:48 UTC

SunRise: multiple roles per user?

>>From the documentation, it's not clear that you can specify multiple roles
for each user:

<authentication>
    <ID>value</ID>
    <role>rolename</role> <!-- optional -->
    <data>
        ... resource specific data for the user
    </data>
</authentication>

The sample above doesn't say multiple.

Also, the 'change-user' resources don't seem to add roles, it only seems to
replace the one role.

Lastly (and maybe this is the reason), only one role is propagated to the
sitemap parameters (which wouldn't allow multiple anyway).


And, related to a previous question, it doesn't seem like any of this
interacts with the container security functions: isUserInRole() or
getPrincipal(), etc.

Per


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>