Sublime directory Surf the web anonymous Pagerank Monitor


Single Sign On

firdaus
Wed 7 March 2007, 12:08 pm GMT +0100
Hi,
This is my first post at this forum. :) i'm firdaus from Malaysia.
I want to make single sign on. My system using apache as web server and php as server scripting. I try to make integration for my login page with another system at different server, maybe using different server scripting. I have idea, but i don't know my idea is relevant or not.

My idea, i'm trying to request using http (POST) by login as background process.After user login to my system for the first time, they have to key in their  username and password for my system. Then, user have to key in their username and password for their different kind of system in a form so that my system can store those username and password.User have to logout.

Then, after the user login to my system, the system can login to the their system(s) using username and password that have been stored earlier. Just a single login, the user can access their system. This is just my idea.

What is the best solution to make it run without any failure?Can curl module or ajax solve this problem?Please anyone can help me. i'm sick of this......

Nikolas
Wed 7 March 2007, 02:50 pm GMT +0100
First of all congratulations for your first post, and welcome to the webdity community :)

AJAX wont solve the problem as it wont work for different domains (dependeing on browser security settings)

Curl is a good solution but it would be difficult to make a good piece of work.

The best in my opinion is to use a web service API to connect your applications. Check nuSOAP for php 4 or http://php.net/soap for php 5.

Hope that helps :)

firdaus
Wed 7 March 2007, 04:10 pm GMT +0100
thank you for reply,
how to make it? can u give me an example?  i really2 no idea.
can i post value/array using soap?


Nikolas
Wed 7 March 2007, 04:20 pm GMT +0100
SOAP works with XML.

Check the php site and search for tutorials. I can't write an example as this would require a lot of time :)

firdaus
Thu 8 March 2007, 04:02 am GMT +0100
Do you have any idea for best tutorial and sample?   8) url?
btw, thank u very much for reply

olaf
Thu 8 March 2007, 05:01 pm GMT +0100
Do you have any idea for best tutorial and sample?   8) url?
btw, thank u very much for reply

Hello,
the techniques suggested by Nick are not really for beginners, do you have moderate PHP / XML skills?

firdaus
Fri 9 March 2007, 02:56 am GMT +0100
yeah, i have experience and familiar with php but not in xml. My post is php programmer, i can try and make research if that is the best solution to solve my problem. i don't think that is difficult, or maybe for the first timer like me it's difficult but not after i understand that. :)
i hope support from u all.
:)

olaf
Fri 9 March 2007, 07:29 am GMT +0100
yeah, i have experience and familiar with php but not in xml. My post is php programmer, i can try and make research if that is the best solution to solve my problem. i don't think that is difficult, or maybe for the first timer like me it's difficult but not after i understand that. :)
i hope support from u all.
:)

try the different classes for SOAP on pear.php.net, I'm sure you will get it just think that XML is like sum multi-multi dimensional array formated in a kind of html :)

firdaus
Fri 9 March 2007, 08:33 am GMT +0100
 >:D ok, i will try, if have a problem, i will ask u back
terima kasih mean for thank u :)

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional