Https over-redirection problem

On my web system, when I add the code on the web.xml:

<security-constraint>   
<display-name>ConstraintSSL</display-name>
<web-resource-collection>
    <web-resource-name>protected</web-resource-name>
    <description/>
    <url-pattern>/*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    <http-method>HEAD</http-method>
    <http-method>PUT</http-method>
    <http-method>OPTIONS</http-method>
    <http-method>TRACE</http-method>
    <http-method>DELETE</http-method>
</web-resource-collection>

<user-data-constraint>        
  <transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>        

The system gets redirected in excess, can anyone help me?

Author: Renan Gomes, 2016-09-04