Deploying Sign single on using AD

Asked

Viewed 69 times

1

Is it possible to implement single singn on using AD? How will my legacy applications communicate with AD? Will it have a WS?

1 answer

1

It is possible to implement single Sign on using AD?

Yes, it is possible.

How my legacy applications will communicate with AD?

Depends on the legacy application. In C#, from the framework 3.5 This authentication can be done as follows::

using System.DirectoryServices.AccountManagement;

using (var pc = new PrincipalContext(ContextType.Domain, "SEUDOMINIO"))
{
    bool loginValido = pc.ValidateCredentials("usuario", "senha");
}

Will have a WS?

It all depends on how you want to organize your architecture. It is possible to do it by WS, but I do not recommend going this way because WS is an old approach. There are other better ones like Identityserver.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.