This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to extract user browser header?

 
sachin yadav
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i am building an application where i have to extract the information from a digital certificated installed in user browser. i am using ---

------------------code----------------------

String User_name= request.getHeader("orcladmin");

----------------------------------------------

here orcladmin is the common name of certificate. but my User_Name is returned as null. can sombody help me to rectify the problem.

regards,

Sachin.

 
Manuel Palacio
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check [ UD: removed link to copyrighted material ]
[ August 03, 2007: Message edited by: Ulf Dittmer ]
 
sachin yadav
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx for your reply, but i have alredy tried this and it does't work. i am working on Oracle 10 AS and i have to make user logged it on the basis of his DN presented in his digital certificate.

the link you have suggested also says that this can only be implemented on Java server. it's not working on my oracle server. can you suggest any other solution ?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13047
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this was my problem I think I would use TCPMON or similar utility to see what was actually being transmitted in the request. Perhaps there is a simple difference in spelling that would become apparent.
Bill
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by William Brogden:
If this was my problem I think I would use TCPMON or similar utility to see what was actually being transmitted in the request. Perhaps there is a simple difference in spelling that would become apparent.
Bill


The LiveHTTPHeaders plugin for Firefox also makes it very easy to see watch the headers being passed back and forth, in real time.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic