Use Windows Authentication

Use Windows Authentication

  
Hello

I want to user windows username to authenticate in the login preparation page. if the user exists in DB it will login automatically.

How can I do it ?

I know that this function request.getRemoteUser() gets the domain/username but how to use it in preparation function?

Thanks
Hi Diogo

You can use the Built In action IntegratedSecurityGetDetails. This will allow you to get the username of the Windows Domain provided by the web browser.

Please note that this action should be used in combination with the Integrated Authentication screen setting, so it can force the web Browser to send the integrated domain credentials.

Hope this information helps you.

Cheers

I've tried this, however in FireFox and Chrome I get a login popup (from the browser that is)
My colleague (Joost) has figured out that there is a setting in FireFox to get rid of this browserpopup

http://markmonica.com/2007/11/20/firefox-and-integrated-windows-authentication/