You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by "lgilardoni61@gmail.com" <lg...@gmail.com> on 2011/01/26 18:29:06 UTC

Single Sign on against joomla

  Hi Guys.

I have a jspwiki installation running ina a tomcat, togther with a 
couple of other apps. Already doing SSO within tomcat
the usual way (valve). Now we also attached a joomla server, which also 
acts as master password provider (and, yes, tomcat
is now proxied by apache).

We already managed to have single credentials by implementing in the 
valve a check agains joomla user/pw in the mysql db, so that
a user may log into joomla and into any tomcat based appl using the same 
credentials. But would like to have a real Single Sign On
between joomla and jspwiki (and/or all the others tomcat apps).

Any hints? We are going to have a look at Josso but wondering if anyone 
has any other suggestion or experience to share.

Tx in advance

LG

Re: JSPWIKI.ORG seems to be down

Posted by David Clemmons <d_...@yahoo.com>.
I'm having the same problem.
 David Clemmons




________________________________
From: Robert FORBES <rf...@highlinecorp.com>
To: jspwiki-user@incubator.apache.org
Sent: Thu, March 3, 2011 11:57:22 AM
Subject: JSPWIKI.ORG seems to be down

Is it just me, or is the domain non-responsive to others ?

doc.jspwiki.org or even plain old jspwiki.org ... down ?


Robert Forbes | Director, Client Services | High Line Corporation
145 Renfrew Drive, Suite 210 | Markham, ON L3R 9R6 | CAN |
Office: (250) 658-9397 (PST) | Fax: (250) 658-9387 | Head Office: (905) 940-8777 
| rforbes@highlinecorp.com  | 

JSPWIKI.ORG seems to be down

Posted by Robert FORBES <rf...@highlinecorp.com>.
Is it just me, or is the domain non-responsive to others ?

doc.jspwiki.org or even plain old jspwiki.org ... down ?


Robert Forbes | Director, Client Services | High Line Corporation
145 Renfrew Drive, Suite 210 | Markham, ON L3R 9R6 | CAN |
Office: (250) 658-9397 (PST) | Fax: (250) 658-9387 | Head Office: (905) 940-8777 | rforbes@highlinecorp.com  | 




Re: Single Sign on against joomla

Posted by "lgilardoni61@gmail.com" <lg...@gmail.com>.
  Yes, JOSSO and CAS were both candidates. However, given that we 
already setup a single credential scheme by forcing tomcat to authenticate
against joomla users db, we are also trying a much simpler solution to 
setup, involving seamleslly logging in joomla from wiki login through
an ajax call and viceversa ....

e.g from joomla login:

<script type="text/javascript" >
function submitJspWiki(){
var u = document.getElementById('mod_login_username').value;
var p = document.getElementById('mod_login_password').value;
var url= 
"https://www.wikilex.eu/WikiLex/j_security_check?"+'j_username='+u+'&j_password='+p+'&redirect=&submitlogin=Login';
$.ajax({type: "POST",url: url,data: ''});
return true;
}
</script>


<form action="..../index.php?option=com_comprofiler&amp;task=login"
    method="post" id="mod_loginform" style="margin:0px;"
    onsubmit="javascript:submitJspWiki();">

seems to work. No perfect but easy and handy for this (special) case.

L

On 1/29/2011 9:38 PM, Siegfried Goeschl wrote:
> Hi,
>
> many years I evaluated both solutions (JOSSO, CAS) but as far as I 
> know CAS is really simple to setup but only provides authentication 
> and not authorization.
>
> Cheers,
>
> Siegfried Goeschl
>
> On 1/27/11 11:51 AM, Christophe Dupriez wrote:
>> Hi!
>>
>> Personnaly, I solved multi-applications using Tomcat container 
>> authentication.
>> But as Joomla is not Tomcat based, it does not apply to your situation.
>> In your case, I would recommend to explore CAS type of authentication:
>> http://www.jasig.org/cas
>>
>> https://wiki.jasig.org/display/CASC/Tomcat
>>
>> https://wiki.jasig.org/display/CASC/CASifying+Joomla+1.5
>>
>> Please let me know the final result of your experimentation!
>>
>>
>>
>> Wishing you a very nice day,
>>
>> Christophe Dupriez
>> Centre Antipoisons-Antigifcentrum
>> C/o Hôpital Central de la Base Reine Astrid
>> Rue Bruyn
>> 1120 Bruxelles
>> Belgique
>> tel 32-(0)2.264.96.36
>> fax 32-(0)2.264.96.46
>>        _____
>>
>>    From: lgilardoni61@gmail.com [mailto:lgilardoni61@gmail.com]
>> To: jspwiki-user@incubator.apache.org
>> Sent: Wed, 26 Jan 2011 18:29:06 +0100
>> Subject: Single Sign on against joomla
>>
>> Hi Guys.
>>
>> I have a jspwiki installation running ina a tomcat, togther with a
>> couple of other apps. Already doing SSO within tomcat
>> the usual way (valve). Now we also attached a joomla server, which also
>> acts as master password provider (and, yes, tomcat
>> is now proxied by apache).
>>
>> We already managed to have single credentials by implementing in the
>> valve a check agains joomla user/pw in the mysql db, so that
>> a user may log into joomla and into any tomcat based appl using the same
>> credentials. But would like to have a real Single Sign On
>> between joomla and jspwiki (and/or all the others tomcat apps).
>>
>> Any hints? We are going to have a look at Josso but wondering if anyone
>> has any other suggestion or experience to share.
>>
>> Tx in advance
>>
>> LG
>>
>>
>>


Re: Single Sign on against joomla

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi,

many years I evaluated both solutions (JOSSO, CAS) but as far as I know 
CAS is really simple to setup but only provides authentication and not 
authorization.

Cheers,

Siegfried Goeschl

On 1/27/11 11:51 AM, Christophe Dupriez wrote:
> Hi!
>
> Personnaly, I solved multi-applications using Tomcat container authentication.
> But as Joomla is not Tomcat based, it does not apply to your situation.
> In your case, I would recommend to explore CAS type of authentication:
> http://www.jasig.org/cas
>
> https://wiki.jasig.org/display/CASC/Tomcat
>
> https://wiki.jasig.org/display/CASC/CASifying+Joomla+1.5
>
> Please let me know the final result of your experimentation!
>
>
>
> Wishing you a very nice day,
>
> Christophe Dupriez
> Centre Antipoisons-Antigifcentrum
> C/o Hôpital Central de la Base Reine Astrid
> Rue Bruyn
> 1120 Bruxelles
> Belgique
> tel 32-(0)2.264.96.36
> fax 32-(0)2.264.96.46
>        _____
>
>    From: lgilardoni61@gmail.com [mailto:lgilardoni61@gmail.com]
> To: jspwiki-user@incubator.apache.org
> Sent: Wed, 26 Jan 2011 18:29:06 +0100
> Subject: Single Sign on against joomla
>
> Hi Guys.
>
> I have a jspwiki installation running ina a tomcat, togther with a
> couple of other apps. Already doing SSO within tomcat
> the usual way (valve). Now we also attached a joomla server, which also
> acts as master password provider (and, yes, tomcat
> is now proxied by apache).
>
> We already managed to have single credentials by implementing in the
> valve a check agains joomla user/pw in the mysql db, so that
> a user may log into joomla and into any tomcat based appl using the same
> credentials. But would like to have a real Single Sign On
> between joomla and jspwiki (and/or all the others tomcat apps).
>
> Any hints? We are going to have a look at Josso but wondering if anyone
> has any other suggestion or experience to share.
>
> Tx in advance
>
> LG
>
>
>

Re: Single Sign on against joomla

Posted by Christophe Dupriez <ch...@poisoncentre.be>.
Hi!  
   
Personnaly, I solved multi-applications using Tomcat container authentication.  
But as Joomla is not Tomcat based, it does not apply to your situation.  
In your case, I would recommend to explore CAS type of authentication:  
http://www.jasig.org/cas  

https://wiki.jasig.org/display/CASC/Tomcat  

https://wiki.jasig.org/display/CASC/CASifying+Joomla+1.5  

Please let me know the final result of your experimentation!  

   

Wishing you a very nice day,

Christophe Dupriez
Centre Antipoisons-Antigifcentrum
C/o Hôpital Central de la Base Reine Astrid
Rue Bruyn
1120 Bruxelles
Belgique
tel 32-(0)2.264.96.36
fax 32-(0)2.264.96.46
      _____  

  From: lgilardoni61@gmail.com [mailto:lgilardoni61@gmail.com]
To: jspwiki-user@incubator.apache.org
Sent: Wed, 26 Jan 2011 18:29:06 +0100
Subject: Single Sign on against joomla

Hi Guys.

I have a jspwiki installation running ina a tomcat, togther with a 
couple of other apps. Already doing SSO within tomcat
the usual way (valve). Now we also attached a joomla server, which also 
acts as master password provider (and, yes, tomcat
is now proxied by apache).

We already managed to have single credentials by implementing in the 
valve a check agains joomla user/pw in the mysql db, so that
a user may log into joomla and into any tomcat based appl using the same 
credentials. But would like to have a real Single Sign On
between joomla and jspwiki (and/or all the others tomcat apps).

Any hints? We are going to have a look at Josso but wondering if anyone 
has any other suggestion or experience to share.

Tx in advance

LG