This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Security and the fly likes How to get system user credentials from browser in java over a network ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "How to get system user credentials from browser in java over a network ?" Watch "How to get system user credentials from browser in java over a network ?" New topic
Author

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

nedumangad chandra
Greenhorn

Joined: Dec 09, 2009
Posts: 4
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...
Pat Gonzalez
Greenhorn

Joined: Oct 18, 2009
Posts: 19

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get system user credentials from browser in java over a network ?
 
Similar Threads
Weblogic, active directory and smart card authentication
How to configure Tomcat for authentication against Active Directory of Windows Server 2003
Calling WS without having entry in User registry
trouble passing info from servlet to jsp
Problems in configuring CAS Authentication with localhost