473,378 Members | 1,500 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,378 software developers and data experts.

a webservice to authenticate the users against

J-T
I need to create a webserivce which is able to talk to the following
components:

1) Another webservice which is written by java and talks to its own backend
database to authenticate the users
2) Directly talk to a sql server database containg a table to store username
and passwords
3) Directoly talks to an Oracle Databse containg a table to store username
and passwords
4) Can query our internal Active Directory to authenticate our
organization's staff

The reason I choose a web service is that we want to create a sort of signle
sign on startegy for all our applicationsm to use this webserivce to
authenticate the users against. my webserivce needs to be secure and also
vey expandable to span future added components.

Is there soehting similar out there or can anyone give me some idea?

I really appreciate it.

Thanks

Lester J-T

Nov 29 '05 #1
2 1682
DC
sounds like a great place for defining an authentication interface for all
those subsystems.

public interface IAuth
{
public bool ValidateUser(string username, string passwordHash);
// etc
}

Then just provide the implementations for the 4 flavors (java ws, sql,
oracle, AD), then create your front-end webservice that delegates to one of
those implementations. I guess you could specify the implementation to use,
within web.config.

[WebService]
public class MyAuthnService
{
IAuth authService= // ??? figure out how to select among the
implementations

[WebMethod]
public Login(string username, string passwordHash)
{
if (authnService.Validate(username,passwordHash)) {
// use can log in...
}
}
}

-D

"J-T" <J-*@nospam.com> wrote in message
news:uh*************@TK2MSFTNGP10.phx.gbl...
I need to create a webserivce which is able to talk to the following
components:

1) Another webservice which is written by java and talks to its own
backend
database to authenticate the users
2) Directly talk to a sql server database containg a table to store
username
and passwords
3) Directoly talks to an Oracle Databse containg a table to store
username
and passwords
4) Can query our internal Active Directory to authenticate our
organization's staff

The reason I choose a web service is that we want to create a sort of
signle
sign on startegy for all our applicationsm to use this webserivce to
authenticate the users against. my webserivce needs to be secure and also
vey expandable to span future added components.

Is there soehting similar out there or can anyone give me some idea?

I really appreciate it.

Thanks

Lester J-T

Nov 30 '05 #2
J-T
I am just wondering if .Net framework 2.0 (which I suppose should support
WSE 2.0 ) is a better framework to achieve this?

What you think?
Thanks for your time in advance.

"DC" <di****@online.microsoft.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
sounds like a great place for defining an authentication interface for all
those subsystems.

public interface IAuth
{
public bool ValidateUser(string username, string passwordHash);
// etc
}

Then just provide the implementations for the 4 flavors (java ws, sql,
oracle, AD), then create your front-end webservice that delegates to one
of those implementations. I guess you could specify the implementation to
use, within web.config.

[WebService]
public class MyAuthnService
{
IAuth authService= // ??? figure out how to select among the
implementations

[WebMethod]
public Login(string username, string passwordHash)
{
if (authnService.Validate(username,passwordHash)) {
// use can log in...
}
}
}

-D

"J-T" <J-*@nospam.com> wrote in message
news:uh*************@TK2MSFTNGP10.phx.gbl...
I need to create a webserivce which is able to talk to the following
components:

1) Another webservice which is written by java and talks to its own
backend
database to authenticate the users
2) Directly talk to a sql server database containg a table to store
username
and passwords
3) Directoly talks to an Oracle Databse containg a table to store
username
and passwords
4) Can query our internal Active Directory to authenticate our
organization's staff

The reason I choose a web service is that we want to create a sort of
signle
sign on startegy for all our applicationsm to use this webserivce to
authenticate the users against. my webserivce needs to be secure and also
vey expandable to span future added components.

Is there soehting similar out there or can anyone give me some idea?

I really appreciate it.

Thanks

Lester J-T


Dec 1 '05 #3

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

Similar topics

1
by: Backslider | last post by:
I created a custom DTS object that does its work by calling a webservice. When you create the object in DTS, it lets you set the user/pw you want to use to authenticate to the webservice. The...
5
by: Bud | last post by:
I would like to be able to pass a request to IIS to have a user name and password authenticated against my Active Directory Users database. I'm running Server 2003 however my web pages are build...
13
by: ALI-R | last post by:
I know how to authenticate to a webservice using either of these ways(Assuming that rService represents the webservice): 1) rService.Credentials = new...
3
by: Buddy Ackerman | last post by:
I have a webservice based app that a company has purchased to use internally. They want the authentication to integrate with their Active Directory. Is there anyway that the client portion of the...
0
by: Lajus Norvejikus | last post by:
Hi all, I want to develop a web service to authenticate user/pass against a Active Directory domain. I only don't know how to authenticate the credentials user enters against a AD domain. Anyone...
2
by: rn5a | last post by:
I have created the following WebService named NConnect.asmx using which I want an ASPX page to first authenticate a user & after successful user validation, the ASPX page should display a few...
2
by: thomas | last post by:
Hi everybody, Here is the scenario: webservice and a windows client application. Requirements: 1. Only authenticated and authorized users shall be able to call web methods. 2. User names or...
1
by: Francesco Spegni | last post by:
hi there, i hope this message is not out of topic. i've a question about how to realize a small architecture based on webservice and whose goal is ensure a good level o flexibility of my code. ...
2
by: Mike Endys | last post by:
Hi all, have problem to use login to the web service. Im thinking about the web service that provides datas and files to the WinForm Client. I want the client log-in to the application... here...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.