views:

13

answers:

1

the jboss server does not work if redirect to HTTPS url(port 8443), and here is WAR package web.xml configuration:

 <security-constraint>
  <web-resource-collection>
   <web-resource-name>HtmlAdaptor</web-resource-name>
   <description>Security for all users</description>
   <url-pattern>/all/*</url-pattern>
   <http-method>GET</http-method>
   <http-method>POST</http-method>
  </web-resource-collection>
  <auth-constraint>
   <role-name>role01</role-name>
  </auth-constraint>
  <user-data-constraint>
     <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  </user-data-constraint>
 </security-constraint>

if i change

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

to

<transport-guarantee>NONE</transport-guarantee>

the server can accept HTTP request at 8081 port.

what configurations should i pay attention for SSL connection? any additional configurations?