tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toni.Ki...@ineo.fi
Subject Problem with setContentType in https-connection with security-constraints
Date Wed, 16 Oct 2002 07:49:19 GMT
Hi.

I'm having problems with https-connection to tomcat 4.0.2.
I have a jsp-page that sets content-type to application/pdf (with
response.setContentType) and prints the pdf with iText.
This works fine with http-connection and https without
security-constraints.

Has someone tested this? It redirects all http-connections to *.jsp to
https.

Here's my security-settings:

  <security-constraint>
    <web-resource-collection>
       <web-resource-name>SecurityRestriction</web-resource-name>
       <description>desc</description>
       <url-pattern>*.jsp</url-pattern>
       <url-pattern>*.pdf</url-pattern>
       <url-pattern>*.csv</url-pattern>
       <http-method>GET</http-method>
       <http-method>POST</http-method>
    </web-resource-collection>
    <user-data-constraint>
       <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
  </security-constraint>

I hope anyone can tell me if there is a workaround to this.
Thanks in advance,

Toni


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message