Frangos, Nick (SAPOL) wrote:
What happens if the XML in your authentication pipeline like this:
As I said, the example I gave only works with a single role.
This is my situation, how can the ParameterSelector be used in this case
with the example code you provided?.
It can't, although I could
.
...
So if the user had this role contained in the authentication XML, then true
would be returned.
Nick Frangos
-Original Message-
From: Ralph Goers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 27 October 2004 2:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Registering own
You don't need a new selector. Return the user's role in the XML from
your authentication pipeline like this:
Unique ID of the user in the system
rolename
Any additional optional information can be supplied here.
This will be stored in the session for later retrieval
: RE: Registering own Authentication Manager
I needed something like this, so I used the standard flow example to do
authentication with the default Authentication manager and then implemented
some "after-burner" in flow script that checked whether the role of the user
(which w
l-cocoon-users&m=108195396222907&w=2
(see the last paragraph about the role issue).
-Original Message-
From: Frangos, Nick (SAPOL) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 1:40 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Registering own Authentication Manager
F
the last paragraph about the role issue).
> -Original Message-
> From: Frangos, Nick (SAPOL) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 26, 2004 1:40 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Registering own Authentication Manager
>
oles. But based on the roles, I want access-control to certain
> areas
> of the sitemap.
>
>
> Nick Frangos
>
> -Original Message-
> From: Ralph Goers [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 26 October 2004 12:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: R
From: Ralph Goers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 26 October 2004 12:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Registering own Authentication Manager
I'm pretty sure that authentication.xroles is patched in using
XConfToolTask (found in the tools directory) to cocoon.roles.
I hav
my
> cocoon (2.1.5) src distro, but how is this included in my cocoon.jar? as
> indicated in the response. Also how is it "pathed" into cocoon.roles ?
>
> Is the initial response correct ?.
>
>
> List: xml-cocoon-users
> <http://marc.theaimsgroup.com/?l=x
Title: Registering own Authentication Manager
I want to add my own Authentication Manager to be used instead of DefaultAUthenticationManager.
I have found a response (below) on the mailing archive, but I require clarification.
In regards to the response, I have found the
On 13.04.2004 19:21, [EMAIL PROTECTED] wrote:
Hi,
where can I register my own Authentication Manager (Authentication FW) instead
the default one? I searched for this particular configuration without any
success in the files 'cocoon.xconf' and 'web.xml'
Best regards,
Mat
Probably in cocoon.roles?
Hi,
where can I register my own Authentication Manager (Authentication FW) instead
the default one? I searched for this particular configuration without any
success in the files 'cocoon.xconf' and 'web.xml'
Best regards,
Mat
-
To
12 matches
Mail list logo