473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

single sign on

Hi,

i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.

could someone help me please ?
i tried to google it but without success.

thx.

A.
Dec 11 '07 #1
5 9536
DoB
i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.
I am also interested ;-)

DoB
Dec 11 '07 #2
Unless I missed something really obvious, I think you first have to tell us
*what* the SSO available at your company actually is, before you can expect
to get help.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"Alain R." wrote:
Hi,

i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.

could someone help me please ?
i tried to google it but without success.

thx.

A.
Dec 11 '07 #3
Hi Peter,

basically i try to do the same thing as under PHP.
when the user log on, i check if he is able to connect to network
resource (basically if LDAP is able to identify him).

if he is able to retrieve resources from LDAP, is get credentials to
continue to use application.

something like that i would like to perform.

basically in PHP, steps are :
- connect to LDAP
- try to bind using login and password of user
- if successful, so everything is ok and user can continue to use
application.
Alain

Peter Bromberg [C# MVP] wrote:
Unless I missed something really obvious, I think you first have to tell us
*what* the SSO available at your company actually is, before you can expect
to get help.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"Alain R." wrote:
>Hi,

i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.

could someone help me please ?
i tried to google it but without success.

thx.

A.
Dec 12 '07 #4
I've done a fair bit of SSO stuff under windows.

What environment are you using? A web site? A winforms app? A custom sockets
application? What are you authenticating against? That is, do you have a
client app authenticating against a server app? Are you running under AD?
LDAP? Do you need Kerberos, or is NTLM good enough?

Are you trying to have users not on the AD login via SSO? Are you using AD
Federation? Trust?

There are alot of variables here, and I need more detail if I'm going to say
anything meaningfull.

In the short term, you can go take a look at:
http://msdn2.microsoft.com/en-us/lib...atestream.aspx
http://win32.mvps.org/security/sspi.html

For the code I wrote, I ended up having to write Mixed Mode C++ and do
everything by hand, similar to the way the Platform SDK samples do. You can
go pull down the Soapbox Framework (available under LGPL), and look for the
Win32 library that has the SSPI code in it. It's very clear (well, relativly
speaking0, easily callable from C#, and (hopefully!) debugged.

--
Chris Mullins

"Alain R." <no****@noemail.comwrote in message
news:eG****************@TK2MSFTNGP03.phx.gbl...
Hi,

i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.

could someone help me please ?
i tried to google it but without success.

thx.

A.

Dec 12 '07 #5
Well, that's really easy. Just hit AD / LDAP. All the classes are there in
..Net to do this (System.DirectoryService).

As an easier approach, you can use:
http://www.codeplex.com/LINQtoAD

--
Chris Mullins

"Alain R." <no*****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi Peter,

basically i try to do the same thing as under PHP.
when the user log on, i check if he is able to connect to network resource
(basically if LDAP is able to identify him).

if he is able to retrieve resources from LDAP, is get credentials to
continue to use application.

something like that i would like to perform.

basically in PHP, steps are :
- connect to LDAP
- try to bind using login and password of user
- if successful, so everything is ok and user can continue to use
application.
Alain

Peter Bromberg [C# MVP] wrote:
>Unless I missed something really obvious, I think you first have to tell
us *what* the SSO available at your company actually is, before you can
expect to get help.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com "Alain R." wrote:
>>Hi,

i'm looking for a tutorial about how to implement a user authentication
using the single sign on available in our company.

could someone help me please ?
i tried to google it but without success.

thx.

A.

Dec 12 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Cowboy \(Gregory A. Beamer\) | last post by:
Quite a few months back, I was able to create a single sign on app for all apps on a single box (perhaps a domain, but never tested) by setting the auth cookie name to an identical value: ...
1
by: Rodney Lane | last post by:
Hi I am investigating the possibility writing an application which uses single sign on with ASP.Net / VB.Net and was wondering if anyone has endeavoured to do this yet. I will most likely be...
3
by: daniel | last post by:
Hi, i want to use dotnet web form to do SSO with AD now, but i don't know to do it. where can i look for relative article or sample code ? thanks.
1
by: EricMatz | last post by:
I work for a medium-sized insurance company, developing web-based systems for our independent agents. There are four primary applications we provide - one that serves as an agent portal (ASP), and...
1
by: TPK | last post by:
Here is what I want to do with javascript. On a page with text place a javascript link that: 1) When a user clicks the link (onClick) a new browser window opens (the easy part) NewWindow =...
2
by: Spam Catcher | last post by:
Hi all, I'm looking to implement a single sign on solution for .NET applications. This single sign on solution will need to work against a variety of back- end databases (i.e. SQL (mainly),...
4
by: Jai | last post by:
Hi, I have a problem related to Login System. I am developing 3 websites for some institution.Now they want that if anybody had sign up for there site1.com(say), than he or she should be able...
7
by: hamarsheh | last post by:
Hi everbody! i need single sign on software for our php website , For all application, because we used visual basic and php, and another things so we need software to do single sign on , that the...
0
amitpatel66
by: amitpatel66 | last post by:
All, Please find below POST about Oracle SINGLE ROW FUNCTIONS which might be useful. SINGLE ROW FUNCTION are those which are executed once for each and every row of the Query. The different...
9
by: Phillip B Oldham | last post by:
Are there any FOSS Python Single-Sign-on Servers? We're looking to centralise the sign-on for our numerous "internal" webapps (across multiple servers, languages, and domains) to speed user...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.