We have developed an application which uses java, spring 4.0.3, jsf and primefaces 5, running on Tomcat 7.0.50. We need to authenticate the user without a login form (i.e. it will pick the Windows user ID and compare that to our access management database). Basically we tried to set up this:
We did the authentication with spring security. But we have an issue in getting the windows user (i.e. get the user id of the Windows session). We tried the plugins Waffle and Spnego. It is working well when we deploy the project on a development PC but not when we deploy to Windows Server 2008.
We joined our configuration files and the class RestAuthenticationEntryPoint which decodes the Negotiate authentication with the Waffle plug in (on the development PC we got the right user id for the log “Negotiate user c=”)
Has anyone had this problem? What are we doing wrong?