Re: a webservice to authenticate the users against



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-T@xxxxxxxxxx> wrote in message
news:uheUh4R9FHA.636@xxxxxxxxxxxxxxxxxxxxxxx
>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
>
>
>


.



Relevant Pages

  • Re: PEAP, WinXP, IAS, wrong username
    ... One of the problems could be that the configuration for mschapv2 might not ... Is the winxp machine part of a domain? ... because if turn off "authenticate users on this ... it seems like this username is based on the MAC-adress on the clients NIC. ...
    (microsoft.public.internet.radius)
  • Re: Authentication with IE
    ... When I am prompted to log into the site, I enter my username and password. ... It then returns back with the local server as the prefix as opposed to the ... permissions prompts for authenticaton). ... I want the users to authenticate against foo.com, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Dovecot issue
    ... Robert Trembath wrote: ... > The server is setup as a single domain setup. ... be sure that their username is the same exact case as entered into ... authenticate, but report 0 messages, UNLESS you matched the username to ...
    (Fedora)
  • Computer Name vs FQDN Authentication Problem
    ... The domain username (APPUSER) has also been set to allow ... authenticate using windows and impersonate=true. ... is Negotiate. ...
    (microsoft.public.dotnet.security)
  • Re: a webservice to authenticate the users against
    ... string passwordHash); ... > Then just provide the implementations for the 4 flavors (java ws, sql, ... >> 4) Can query our internal Active Directory to authenticate our ... >> sign on startegy for all our applicationsm to use this webserivce to ...
    (microsoft.public.dotnet.framework.webservices)