This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to extract user browser header?  RSS feed

 
sachin yadav
Ranch Hand
Posts: 156
  • 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
  • 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
  • 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: 13078
6
  • 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
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!