Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 11:32 am (All times are UTC )

 




Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2
Author Message
Posted: Thu May 24, 2007 6:40 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Feb 12, 2007 6:49 am
Posts: 24
Thanks for the reply back.  When I said example.php I was referring to what you find in plugins/authentication/

Maybe I misunderstood how you are handling things and again this is my first time working with Joomla plugins so please excuse my ignorance.  But from what I understand your plugin can bypass the login screen and used already authenticated credentials.  This is as opposed to the other plugins in the default install of the plugins/authentication/ directory where they use the login screen to get the username and password.

To give you more information here is what I would need to do with CAS and this would only apply when logging into the administrator section we would be hiding the user login.

When they reach the administrator section instead of using the Joomla Username and Password form they would get redirected to the CAS login form.
After authentication there is some information I can get from CAS. Username would be the main one.
I would then like to check if the user exists in the Joomla user table.
If they do exist and they are of a certain user group then they would be authenticated.

I've downloaded your joomla plugins and I'm guessing that the one in plexcel-joomla-sso is the one I should be looking at, but I am new and the comments in there are sparse.  If you want to tell me RTFM then feel free, but it seems that your plugin is very close to what I'm looking for that I would like to build off of that.

Thanks for your time.


Top
  E-mail  
 
Posted: Thu May 24, 2007 7:12 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 22, 2007 3:38 am
Posts: 43
All three of our plugins work together to implement both SSO and explicit login. They're only packaged separately because that is what J! requires (there was mention of modifying the Plugin installer to accept multiple plugins).

The more I think about this the less I think our plugins will help you. The bulk of our code either handles the protocol specifics of HTTP Negotiate authentication or managing state in the session so that user's can flip-flop between logging in with SSO and doing an explicit logon. Neither of those features is of interest to you.

The only thing I think you'll be interested in is the overall order and timing in which plugin handlers are called. That and checking / initializing user information will be similar. In all that code is probably 20 lines.


Top
  E-mail  
 
Posted: Thu May 24, 2007 7:24 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Feb 12, 2007 6:49 am
Posts: 24
The extra code I think is what was confusing me the best as I don't know what Joomla requires and what it doesn't.  I am going to start a new thread that is specific to what I am working on and I have some beginning code based off of your plugin which was very helpful actually.  Well after staring at it for a couple of hours.  Not your fault.

So any feedback you can give me in the new thread I would appreciate it and thank you for the help.


Last edited by redndahead on Thu May 24, 2007 7:33 pm, edited 1 time in total.

Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2

Quick reply

 



Who is online

Users browsing this forum: brendon_101, dejansoftware, sdchilderley, tommytoxen, Zanzor and 51 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group