Microsoft.AspNetCore.Authentication.ActiveDirectory | NET 5 for Windows Integrated Authentication | Identity Management library

 by   OneBitSoftware C# Version: Current License: Apache-2.0

kandi X-RAY | Microsoft.AspNetCore.Authentication.ActiveDirectory Summary

kandi X-RAY | Microsoft.AspNetCore.Authentication.ActiveDirectory Summary

Microsoft.AspNetCore.Authentication.ActiveDirectory is a C# library typically used in Security, Identity Management applications. Microsoft.AspNetCore.Authentication.ActiveDirectory has no vulnerabilities, it has a Permissive License and it has low support. However Microsoft.AspNetCore.Authentication.ActiveDirectory has 2 bugs. You can download it from GitHub.

This ASP.NET Core middleware lets you authenticate to Active Directory. The old school ASP.NET Membership capabilities and Forms Authentication had a nice LDAP provider, and IIS has native Windows Integrated Authentication capability, supporting both NTLM and Kerberos authentication. ASP.NET Core doesn't have NTLM/Kerberos authentication middleware and ASP.NET Identity 3 doesn't have an LDAP provider. Usually, IIS handles this (and it still can), but what if you are hosting on Kestrel? This library allows you to do Windows Integrated Authentication with ASP.NET Core.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Microsoft.AspNetCore.Authentication.ActiveDirectory has a low active ecosystem.
              It has 47 star(s) with 19 fork(s). There are 16 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 7 open issues and 2 have been closed. On average issues are closed in 97 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Microsoft.AspNetCore.Authentication.ActiveDirectory is current.

            kandi-Quality Quality

              Microsoft.AspNetCore.Authentication.ActiveDirectory has 2 bugs (0 blocker, 0 critical, 1 major, 1 minor) and 0 code smells.

            kandi-Security Security

              Microsoft.AspNetCore.Authentication.ActiveDirectory has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Microsoft.AspNetCore.Authentication.ActiveDirectory code analysis shows 0 unresolved vulnerabilities.
              There are 2 security hotspots that need review.

            kandi-License License

              Microsoft.AspNetCore.Authentication.ActiveDirectory is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Microsoft.AspNetCore.Authentication.ActiveDirectory releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              Microsoft.AspNetCore.Authentication.ActiveDirectory saves you 3631 person hours of effort in developing the same functionality from scratch.
              It has 7761 lines of code, 0 functions and 35 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Microsoft.AspNetCore.Authentication.ActiveDirectory
            Get all kandi verified functions for this library.

            Microsoft.AspNetCore.Authentication.ActiveDirectory Key Features

            No Key Features are available at this moment for Microsoft.AspNetCore.Authentication.ActiveDirectory.

            Microsoft.AspNetCore.Authentication.ActiveDirectory Examples and Code Snippets

            No Code Snippets are available at this moment for Microsoft.AspNetCore.Authentication.ActiveDirectory.

            Community Discussions

            Trending Discussions on Microsoft.AspNetCore.Authentication.ActiveDirectory

            QUESTION

            ASP.NET Core 1.1 - Windows Authentication using Login screen (MVC view)
            Asked 2017-Oct-19 at 01:41

            I am working on ASP.NET Core 1.1 - MVC application. I need to authenticate windows users using Login screen(mvc view). I need to use Active Directory to authenticate users.

            I found wonderful article, http://tech.trailmax.info/2016/03/using-owin-and-active-directory-to-authenticate-users-in-asp-net-mvc-5-application/ I downloaded the sample app and sample itself works great. But I as I need to implement this with .net core 1.1, it does not support System.DirectoryServices.AccountManagement and Microsoft.Owin.Security.Cookies, Microsoft.Owin.Host.SystemWeb nuget packages. so it does not seem this solution will work for me.

            I investigated more and found Novell.Directory.Ldap.NETStandard (ASP.NET Core and on premise AD authentication) which works for active directory users validation (.net core 1.1)

            I also found Microsoft.AspNetCore.Authentication.ActiveDirectory (middleware.github.com/OneBitSoftware/Microsoft.AspNetCore.Authentication.ActiveDirectory)

            One more, AspNetCoreActiveDirectoryStarterKit (github.com/WinLwinOoNet/AspNetCoreActiveDirectoryStarterKit)

            Is there any other way I can achieve this? Anybody has experience using above mentioned options and suggest me the good one? Please suggest.

            ...

            ANSWER

            Answered 2017-Oct-19 at 01:41

            Thanks for your comments.It was helpful as well.

            It worked for me with the help of Novell.Directory.Ldap.NETStandard Nuget. I was able to refernece LDAP stuff in my code. I referenced https://nicolas.guelpa.me/blog/2017/02/15/dotnet-core-ldap-authentication.html article with some code improvements and modifications as per my requirements.Please feel free to write your views.

            Source https://stackoverflow.com/questions/46762770

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Microsoft.AspNetCore.Authentication.ActiveDirectory

            Review the sample in the samples folder. Either install through the NuGet package: https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.ActiveDirectory/. OR just reference the source code directly. Add the Microsoft.AspNetCore.Authentication.ActiveDirectory library to your project.json file. Add the following line services.AddAuthentication(options => new ActiveDirectoryCookieOptions()); in your Startup.cs ConfigureServices method. Add app.UseCookieAuthentication(new ActiveDirectoryCookieOptions().ApplicationCookie); to your Startup.cs Configure method.
            Review the sample in the samples folder.
            Either install through the NuGet package: https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.ActiveDirectory/ OR just reference the source code directly.
            Add the Microsoft.AspNetCore.Authentication.ActiveDirectory library to your project.json file
            Add the following line services.AddAuthentication(options => new ActiveDirectoryCookieOptions()); in your Startup.cs ConfigureServices method
            Add app.UseCookieAuthentication(new ActiveDirectoryCookieOptions().ApplicationCookie); to your Startup.cs Configure method
            Add the following after the app.UseCookieAuthentication() line (Step 4):
            If you don't like the default "/windowsauthentication/ntlm", you can use the CallbackPath and LoginPath settings to configure your alternative route.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/OneBitSoftware/Microsoft.AspNetCore.Authentication.ActiveDirectory.git

          • CLI

            gh repo clone OneBitSoftware/Microsoft.AspNetCore.Authentication.ActiveDirectory

          • sshUrl

            git@github.com:OneBitSoftware/Microsoft.AspNetCore.Authentication.ActiveDirectory.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Identity Management Libraries

            vault

            by hashicorp

            k9s

            by derailed

            keepassxc

            by keepassxreboot

            keycloak

            by keycloak

            uuid

            by uuidjs

            Try Top Libraries by OneBitSoftware

            NetCore.CSOM

            by OneBitSoftwareC#

            Unity-UniRxDispatcher

            by OneBitSoftwareC#