Ralph Goers wrote:
> Thanks for the info and letting me know that new doc was
> available. I still
> have a couple of questions.
>
> The section that discusses <load-users> and <load-roles> says these
> resources are called whenever information about available roles
> or users is
> needed. What causes that to happen? Is it done just by
> <session:getxml> or
> ContextInputModule?
No, <load-users> etc. is only invoked if you have a user management tool
running in Cocoon, like e.g. the portal demo has. This tool uses the
defined pipelines to get all user etc and also to delete a user
via <delte-user>
> This feature looks very useful to me,
> however I'd also
> like to associate Permissions with a user in the same fashion. Can that be
> easily accomplished?
You can return all permissions in the authentication xml delivered by
the authentication pipeline.
>
> Also, there is an example showing parameters being specified for
> <delete-user>. Can I assume that in a pipeline these could then be
> referenced as <map:parameter name="connection" value="{connection}/>, etc?
>
Close, it's <map:parameter name="connection"
value="{request-param:connection}"/>
The parameters are passed to the pipeline via request parameters, so
you can use the request-param input module to get the values.
Carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]