473,769 Members | 6,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1708
DC
sounds like a great place for defining an authentication interface for all
those subsystems.

public interface IAuth
{
public bool ValidateUser(st ring 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.V alidate(usernam e,passwordHash) ) {
// use can log in...
}
}
}

-D

"J-T" <J-*@nospam.com> wrote in message
news:uh******** *****@TK2MSFTNG P10.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******** **********@TK2M SFTNGP12.phx.gb l...
sounds like a great place for defining an authentication interface for all
those subsystems.

public interface IAuth
{
public bool ValidateUser(st ring 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.V alidate(usernam e,passwordHash) ) {
// use can log in...
}
}
}

-D

"J-T" <J-*@nospam.com> wrote in message
news:uh******** *****@TK2MSFTNG P10.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
2212
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 problem I am having is that once I authenticate to the webservice within DTS, it always uses the same authentication when contacting the service. So, for example, I drop a new instance of my object into a package. It connects to the webservice as...
5
5809
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 using ASP (not .NET). What I want to do is to open the standard User Name/Password form (I don't know how to do that either) and then make my request and get back a True/False result. There must be a way to do that but I haven't found it after 3...
13
12958
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 System.Net.NetworkCredential("username","password","domainName"); 2)rService.Credentials = System.Net.CredentialCache.DefaultCredentials; My question is that is there a way to authenticate to a user using WindowsIdentity ???
3
4367
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 application (which is a .NET WinForms app) can send some information about the logged in user so that I could athenticate that user before accessing the database? The database will not have individual user accounts but will authenticate using a...
0
1197
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 knows? Maybe using LDAP? Thanks. Pedro L.
2
2576
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 TextBoxes for users to enter some data in those TextBoxes which will finally be inserted in a SQL Server 2005 DB table: <%@ WebService Language="VB" Class="NConnect" %> Imports System Imports System.Data
2
1308
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 passwords shall never be sent over http. Constraints:
1
1133
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. in a few words: i've a webservice which exports the method Authenticate(User usCurrUser). the data type User should be an abstract class like this:
2
2268
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 is my not-working solution this is my web service, with the Forms authentication and working on AspSqlMembershipProvider and with Role provider implemented too. It is working well. I can create user, I can ValidateUser... But I would like, that...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10216
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9997
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5309
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.