users@glassfish.java.net

Re: RE: Problem with Glassfish Transport SSL

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Dec 2008 13:41:58 PST

I gave that a try but now I am getting a new error:

Security Requirements not met - No Security header in message


I am pretty new to Netbeans and GF so I imagine I am doing something wrong on that end of things. Here is my web.xml if you wouldn't mind taking a quick look at it.

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
       <security-constraint>
        <display-name>SSL transport for NewWebServiceService </display-name>
        <web-resource-collection>
            <web-resource-name>Secure Area</web-resource-name>
            <url-pattern>/NewWebServiceService/*</url-pattern>
            <http-method>POST</http-method>
        </web-resource-collection>
      <!-- <auth-constraint>
            <role-name>EMPLOYEE</role-name>
        </auth-constraint> -->
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>
    </web-app>


Thanks for the quick reply,
Ben
[Message sent by forum member 'rem2500' (rem2500)]

http://forums.java.net/jive/thread.jspa?messageID=319651