• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to get system user credentials from browser in java over a network ?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
My system is in a LAN network.Whenever a user accesses a website using internet,our network service group authenticates the user using a proxy server.So we can use CAS server in internal applications for implementing SSO(Single Sign On) and authentication. My question is how can we get the system user name from the browser request to my application (which is developed in java and deployed in tomcat)..I know that CAS server authenticates the user with user name and password, from the browser request.But how it is taking the user name (I dont need password and I dont want to authenticate..just user name ..tats enuf i need) from browser..?? Please help..If I missed something,please let me know...
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Download and try this out to see if it works.

http://spnego.sourceforge.net/hello_spnego.zip

I'm not familiar with CAS but the source code in the .zip file relies on standard Java APIs.

Good luck!
 
You got style baby! More than this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic