Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

transport-guarantee

 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do any of u have idea about the different transport-guarantee paramters??
 
michael brosnahan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This information is from the web.xml ddt at: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
"The transport-guarantee element specifies that the communication between client and server should be NONE, INTEGRAL, or CONFIDENTIAL.
NONE means that the application does not require any transport guarantees.
INTEGRAL means that the application requires that the data sent between the client and server be sent in such a way that it can't be changed in transit.
CONFIDENTIAL means that the application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission.
In most cases, the presence of the INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is required."
 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Michael..
That means ..NONE can only be used with "HTTP"
otherwise with INTEGRAL and CONFIDENTIAL we must use "HTTPS"..
m i right??
 
Sathya Sankar
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andy,
otherwise with INTEGRAL and CONFIDENTIAL we must use "HTTPS"..
m i right??

When an attempt is made to acces the resource marked with transport-guarantee as INTEGRAL or CONFIDENTIAL through a http URL, the container automatically sends a redirect command to the browser with the new URL being secure (https). The web application developer hence does not need to do anything extra in the servlet/jsp.
Pg. 87 of Servlet Spec V2.3:
A user data constraint describes requirements for the transport layer of the client server. The requirement may be for content integrity (preventing data tampering in the communication process) or for confidentiality (preventing reading while in transit). The container must at least use SSL to respond to requests to resources marked integral or confidential. If the original request was over HTTP, the container must redirect the client to the HTTPS port.

Ciao,
GSS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic