Currently, I am working on creating an internal web portal for our organization. The technologies I am using include Angular 5, Java Spring, REST, JDBC, JSON, and MS SQL Server. To ensure seamless authentication on my website, I have implemented a method utilizing LDAP to fetch the necessary information based on the user's username. The only thing left for me to do now is to find a way to automatically retrieve the username from the user. Any assistance on how to move forward would be greatly appreciated. Thank you!