You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Frangos, Nick (SAPOL)" <ni...@police.sa.gov.au> on 2004/10/25 08:58:07 UTC

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 authentication.xroles in 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=xml-cocoon-users&r=1&w=2> 
Subject:    Re: Registering own Authentication Manager
<http://marc.theaimsgroup.com/?t=108187688200011&r=1&w=2> 
From:       Joerg Heinicke <joerg.heinicke () gmx ! de>
<http://marc.theaimsgroup.com/?a=102579193500001&r=1&w=2> 
Date:       2004-04-13 20:42:10
<http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2&b=200404> 
Message-ID: <407C50A2.4010105 () gmx ! de>
<http://marc.theaimsgroup.com/?i=%3C407C50A2.4010105%20%28%29%20gmx%20%21%20
de%3E> 

On 13.04.2004 19:21, mathias.wiegard@student.uni-ulm.de 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?

http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/authentication-fw/co
nf/authent
<http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/authentication-fw/c
onf/authent>  \
ication.xroles?rev=1.4&view=markup

is patched into

http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/coco
on.roles?r
<http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/coc
oon.roles?r>  \
ev=1.14&view=markup

and ends in cocoon.jar.

Joerg



Can I use hyperlinks in jfor?

Posted by ToƱin <to...@hotmail.com>.
Using jfor 0.7.2rc1 and commandline I type :
<fo:basic-link external-destination="{@href}" color="blue"
text-decoration="underline" font-family="Arial" font-size="12pt" >


    <xsl:apply-templates/>


</fo:basic-link>

And it represents OK hyperlinks.

But using cocoon 2.1.5.1 I type the same and don't represent OK
hyperlinks.In cocoon folder lib I replece jfor0.7.1.jar ( itsn't the lastest
Jfor version) with jfor0.7.rc2(the lastest version) and it doesn't represent
OK.

Can anyone help me?

Excuse for my poor English I'm from Galicia.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


CForms: What is best-practise on a multi-page-form?

Posted by Philipp Rech <ph...@gmx.de>.
Hello folks!

okay the scenario is a CForm form that goes over several pages. Wizard or
Registration like. Here I was wondering what people are using out there for
this common task and what are the options and best practise for that?

As far as i know there are 2 major ways to do this: 

1 - on big form def. and a on big template... from fields are hidden and
displayed via JavaScript and CSS (e.g. via <fi:styling type="tabs"/>). The
problem here is that validation occurs "on submit" and that could case many
errors and many "!" will get displayed which the user have to "find" first
(some are hidden via JS)! right?!?!?!? Another problem could be the heavy
use of client-side Javascript and CSS.

2 - split-up form definitions and templates and a submit button pointing to
the next page via the contuniation. The big problem here is that when i go
back and change values and submit again the fields on the 2nd (and so on)
page are empty! right?!?!?!? Also having one form definition and calling the
widgets from several templates doesnt work according to the developers, huh?

MY QUESTION: any other options i didn't think of (with CForms and Cocoon
2.1.5.1)? What are people using out there and what is good and bad about it?

Let's talk about it!
Thanks in advance...
phil

 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Registering own Authentication Manager

Posted by Ralph Goers <Ra...@dslextreme.com>.
I'm pretty sure that authentication.xroles is patched in using
XConfToolTask (found in the tools directory) to cocoon.roles.

I have to admit though, I'm a little curious as to why you'd want to
replace the Default Authentication Manager.  I know others have replaced
the PipelineAuthenticator with their own Authenticator.  Personally, I
found using the PipelineAuthenticator to work rather well. I simply wrote
a generator that performs all the authentication. It calls a session bean
to perform the login and then returns the required XML if login was
successful.


Frangos, Nick (SAPOL) said:
> 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 authentication.xroles in 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=xml-cocoon-users&r=1&w=2>
> Subject:    Re: Registering own Authentication Manager
> <http://marc.theaimsgroup.com/?t=108187688200011&r=1&w=2>
> From:       Joerg Heinicke <joerg.heinicke () gmx ! de>
> <http://marc.theaimsgroup.com/?a=102579193500001&r=1&w=2>
> Date:       2004-04-13 20:42:10
> <http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2&b=200404>
> Message-ID: <407C50A2.4010105 () gmx ! de>
> <http://marc.theaimsgroup.com/?i=%3C407C50A2.4010105%20%28%29%20gmx%20%21%20
> de%3E>
>
> On 13.04.2004 19:21, mathias.wiegard@student.uni-ulm.de 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?
>
> http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/authentication-fw/co
> nf/authent
> <http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/authentication-fw/c
> onf/authent>  \
> ication.xroles?rev=1.4&view=markup
>
> is patched into
>
> http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/coco
> on.roles?r
> <http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/coc
> oon.roles?r>  \
> ev=1.14&view=markup
>
> and ends in cocoon.jar.
>
> Joerg
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org