0
I’m building a Java solution where the goal is to be able to get users who are logged in to a Windows domain to automatically authenticate with their Windows credentials when starting a web application. For this I am using the JCIFS library. But when I do the deploy
of the application, when executing the command remote.getRemoteUser();
it returns me nothing and not the name of the user who is accessing the page.
Follows my web.xml
and I’m using the lib
JCIFS-1.2.17.jar:
How to solve the reported problem?
Could you post your code in formatted text instead of images? Also, what do you mean by "it returns me nothing"? You mean he returns
null
?– Victor Stafusa
Returns an empty string ! I believe that when I call the page it shows a dialog requesting login and password, I can only open the page I called when I pass login and empty password, will that be it ?
– Rafael Leite