A
A
Alexey2018-04-28 20:50:53
Java
Alexey, 2018-04-28 20:50:53

How to integrate an application written in Java with Windows Server?

Guys, such a question is still a completely black box for me. This is from a real-life task, you need to make a workplace (desktop or web interface, it doesn’t matter)) authorization and roles should be taken from Windows Server, the basic JAVA language, there is a MS Server database and I can’t understand the architecture, how all this will be integrated how Winodws Server will exchange with the application, how information will be protected, where you can get information, maybe there is a similar example on GitHub? or the minimum stack that I should use, and I will start from this already) Thanks in advance)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2018-04-29
@alexsemen94

The correct way to integrate a Web application is to take advantage of the Windows ADFS service. Windows deploys ADFS, then it remains to experiment with the search queries "JAVA ADFS". (find examples to understand the logic)
The entire exchange goes through TLS, although you will have to spend money on a certificate or screw let's encrypt.
Your application is a Relaying Party, during authentication, the application forwards a request to ADFS, ADFS authenticates it in AD and returns a claim - which may contain user membership, any additional. information. All this, as I already wrote, goes through secure channels. And you, on the application side, endlessly trusting the AD database, let the user go where he can.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question