Thanks for the quick reply,

actually it the the first subsite that logged out. I know because it
is a crud interface and when I try to enter the first subsite it
redirect me to login page.

Sorry for my bad English:

Let me explain it again

There are two subsites like A and B.

When I logged in to subsite A(by the way roles are different for A and
B ) it works normal. I can see subsite A but not subsite B. Then I
logged in to sub site B(which has another role and user assigned)
which has supposedly totally different authentication mechanism. This
is also works fine. But at this point logging into subsite b causes to
subsite a logged out as after logging into subsite B, A redirect any
url inside it to its login  page.

I hope I can explain my problem.

Thanks


On Sep 7, 9:48 am, Geert Bevin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> can you please detail what makes you conclude that the first
> authentication is 'logged out' when you visit the 2nd sub-site?
>
> Thanks,
>
> Geert
>
> On 07 Sep 2007, at 08:23, dk wrote:
>
>
>
>
>
> > hello everyone,
>
> > A need two different subsite which need authentication with different
> > roles. For this purpose I create another role in
> > CreateAuthenticationStructure and in main.xml I created two different
> > element which extends database.xml
>
> > <element id="AuthAdminDatabase" extends="rife/authenticated/
> > database.xml">
> >                    <property name="password_encryption">SHA</property>
> >                    <property 
> > name="template_name">authentication.veli</property>
> >                    <property name="role">admin</property>
> >                    <property name="authvar_type">cookie</property>
> >                    <property 
> > name="datasource"><datasource>postgresql</datasource></
> > property>
>
> >                    <submission name="credentials">
> >                            <param name="login"/>
> >                            <param name="password"/>
> >                    </submission>
>
> >                    <childtrigger name="authid"/>
> >            </element>
>
> > <element id="AuthVeliDatabase" extends="rife/authenticated/
> > database.xml">
> >                            <property 
> > name="password_encryption">SHA</property>
> >                            <property 
> > name="template_name">authentication.newRole</property>
> >                            <property name="role">newRole</property>
> >                            <property name="authvar_type">cookie</property>
> >                            <property 
> > name="datasource"><datasource>postgresql</datasource></
> > property>
>
> >                            <submission name="credentials">
> >                                    <param name="login"/>
> >                                    <param name="password"/>
> >                            </submission>
>
> >                            <childtrigger name="authid"/>
> >            </element>
>
> > these two are used as follows:
> > <subsite id="Admin" file="admin.xml" urlprefix="/admin"
> > inherits="AuthAdminDatabase"/>
> > <subsite id="Veli" file="veli.xml" urlprefix="/veli"
> > inherits="AuthVeliDatabase"/>
>
> > AND finally my problem :
> > when I logged in to one of the sites and try to log into other subsite
> > the first authentication automatically logged out.
>
> > ps. If this is related to "<childtrigger name="authid"/> " someone plz
> > explain this clearly because I cant find any sufficient explanation in
> > the maillist doc or anywhere :)
>
> --
> Geert Bevin
> Terracotta -http://www.terracotta.org
> Uwyn "Use what you need" -http://uwyn.com
> RIFE Java application framework -http://rifers.org
> Music and words -http://gbevin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to