• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to extract user browser header?

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Our first order of business must be this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic