• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect SSL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detect SSL


  • Subject: Re: Detect SSL
  • From: Steve Quirk <email@hidden>
  • Date: Fri, 02 May 2008 08:46:51 -0400 (EDT)




On Thu, 1 May 2008, Don Lindsay wrote:

Hello;

I want to identify if an application is being served via SSL. How can I do this? I have looked at all the headers available through the request.

In servlet containers, the SSL parameters are in request attributes, not headers. The servlet api to use is javax.servlet.ServletRequest.getAttribute() - from that you can get the cipher, client cert, etc. I don't offhand know the WO api to get the servlet request from the WO request.


Are you using just tomcat or mod_jk? You may (or may not) get more information from jk than from just tomcat. (You should be using mod_jk for any app that has any nontrivlal load anyhow).

Steve


Also, how can I get a handle to a client certificate if a person has a PKI card?


Don
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Detect SSL
      • From: Don Lindsay <email@hidden>
References: 
 >Detect SSL (From: Don Lindsay <email@hidden>)

  • Prev by Date: Re: NullPropertyException thrown, even though property allows null
  • Next by Date: Re: Filtered to many relationship
  • Previous by thread: Re: Detect SSL
  • Next by thread: Re: Detect SSL
  • Index(es):
    • Date
    • Thread