java - Windows Username using request.getRemoteuser() or request.getPrincipalUser() authentication issue -


i have requirement in need send links user has requests pending @ role. when user clicks on link, can access application skipping login creating session. need use windows username. tried using system.getproperty("user.name") giving user name host dependent, means giving username of particular host. need windows username of user sending request. tried using request.getremoteuser() , getprincipaluser() facing authentication issues.

can me regarding issue?


Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -