Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authentication Problem

Status
Not open for further replies.

tonys123

IS-IT--Management
Apr 30, 2007
46
GB
Hi

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?

Thanks

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top