I'm interested in this discussion, too. vB has its session setup  
routines (no doubt). I think the approach would be to to have a  
landing page with the cas client -- once the phpcas session is set up  
with that page, call the vBulletin routines with the authenticated  
userid as a parameter.

The following script does vB authentication in no-vb pates. It might  
give a clue as to what vB routines are being called.
>> http://www.vbulletin.org/forum/showthread.php?t=91129&highlight=authenticate
Kim

-=#=-
PCC 120 ~ x6655






On May 27, 2009, at 12:11 PM, Martin Simons wrote:

> Rhian,
>
> I've now started to hack my own CAS plugin for vBulletin. It's  
> intended for internal use only, but I might release it as a regular  
> vB-plugin some day.
>
> Unfortunately I'm still far away from this point: While integrating  
> phpCAS itself was a breeze, I can't get vBulletin to "log in" the  
> user provided by CAS. I followed your suggestion to base my plugin  
> on the existing LDAP ones. But there's a major difference between  
> LDAP and CAS-authentication: While the first replaces vBulletin's  
> own login, CAS bypasses it. I'm sure it's just a small detail I need  
> to know about the internals of vB, but I failed to establish the  
> connection "CAS user name -> logged in user" so far. I suppose it  
> has to do with some weird custom session handling of vB.
>
> I've already posted my question to the vB-plugin forums, but the  
> thread seems to drown unanswered. Can you give me a hint from you  
> experience implemeting CAS into vB? Hopefully you're getting my  
> question. I know this is kind of off-topic, as it's very specific to  
> vB...may the list forgive me ;-)
>
> Kind regards,
> Martin
>
>
> Am 29.04.2009 um 19:36 schrieb Rhian Resnick:
>
>> Martin,
>>
>>
>>
>> Our University uses Sun Directory Server (ldap) so we first setup  
>> the ldap server integration (which can create accounts) and then  
>> added cas in front of the ldap user. We need ldap even with cas  
>> because ldap defined the group membership for the users.
>>
>>
>>
>> In your case I am sure you could use the ldap plugin as a base,  
>> but  there may be a better integration point for your site. Check  
>> out their plugin list.
>>
>>
>>
>> - Rhian
>>
>>
>>
>> From: Martin Simons [mailto:[email protected]]
>> Sent: Wednesday, April 29, 2009 11:56 AM
>> To: [email protected]
>> Subject: Re: [cas-user] Integrating vBulletin and CAS
>>
>>
>>
>> Rhian,
>>
>>
>>
>> thanks for your reply. How does vBulletin handle this integration?  
>> Does it create new users on vBulletin-side automatically as soon as  
>> a new CAS-authenticated user arrives or does the user still have to  
>> manually "register" himself with the forums?
>>
>>
>>
>> We're not using an LDAP-server either...do I correctly understand  
>> your approach in that you just hacked the LDAP plugin but don't  
>> actually rely on LDAP?
>>
>>
>>
>> Thanks,
>>
>> Martin
>>
>>
>>
>>
>>
>>
>>
>> Am 29.04.2009 um 13:48 schrieb Rhian Resnick:
>>
>>
>>
>>
>> I modified VBulletin 2 years ago for a trial deployment. I enabled  
>> their ldap plugin and then hacked in phpCAS. It didn’t take long  
>> and was pretty straight forward.
>>
>>
>>
>> -          Rhian
>>
>>
>>
>> From: [email protected] [mailto:[email protected] 
>> ]
>> Sent: Wednesday, April 29, 2009 7:45 AM
>> To: [email protected]
>> Subject: RE: [cas-user] Integrating vBulletin and CAS
>>
>>
>>
>> Hello everybody,
>>
>> I figure nobody has worked with VBulletin and CAS before. But can  
>> anybody maybe recommend another bulletin board software that  
>> supports CAS out of the box or is easily modifiable to do so?
>>
>> Thanks a lot for you advice,
>> Martin
>>
>>
>>
>>
>>
>> Quick question: Anybody having experience or tipps concerning an  
>> integration of the vBulletin forums system and CAS? A search for  
>> "vBulletin" and "CAS" on Google yields...well...a lot of  
>> vBulletins :-)
>>
>>
>>
>> Regards,
>>
>> Martin
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -- 
>>
>>
>>
>>
>> You are currently subscribed to [email protected] as: 
>> [email protected]
>>
>>
>>
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>>
>> -- 
>>
>>
>>
>> You are currently subscribed to [email protected] as: [email protected]
>>
>>
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>>
>> -- 
>>
>> You are currently subscribed to [email protected] as: 
>> [email protected]
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>>
>> -- 
>>
>> You are currently subscribed to [email protected] as: [email protected]
>>
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>> -- 
>> You are currently subscribed to [email protected] as: 
>> [email protected]
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
> -- 
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to