Authentication with Active Directory. Angular 2, Spring - theoretical

I am doing some research about Active Directory authentication for an internal application.
The application is split into two parts - the front-end in Angular 2 and the back-end in Spring. I would like to add Windows Authentication to it to avoid providing credentials when you are already logged in, but I cannot fully understand how the server knows the user's credentials, which can match the data stored in Active Directory. > For example, let's say I'm logged into Windows, my data is sent to Active Directory.
I am now heading to a site that I would like to auto-authenticate with an HTTP request sent to the rest api.
Rest server calls some logic related to authentication in Active Directory and after successful api sends token back to Angular. But what I am missing is how the server knows which credentials are being compared to see if the user exists in AD.
Should I somehow use Angular to access the user credentials stored in windows through the browser? Or am I missing something important here.

+3
spring angular windows-authentication


source to share


No one has answered this question yet

Check out similar questions:

1873
What's the difference between @Component, @Repository and @Service annotations in Spring?
42
ASP.NET Windows Authentication Output
3
Accessing Authenticated Web API windows through Angular 2 without login prompt
1
Jwt authentication with angle and spring
1
How to use NTML authentication in Angular 4 project - Django REST
1
Angular 2 - Windows Authentication - No .NET - Node JS API
0
angular2 authenticate to spring http basic auth with user credentials
0
Kentico Website with Windows Active Directory Authentication and Authorization
0
Spring Active Directory authentication using "proxy" user
0
Angular 5 Integrated Authentication with Different Web API URL



All Articles
Loading...
X
Show
Funny
Dev
Pics