title: Spring Boot <absolute-ordering/> and metadata-complete="true" done with java config
body: <p>I have a Spring Boot app. In that app, all my config is done with java config and currently i needed to add to my configuration two new security related entries, i.e.</p>
  
  <pre><code>metadata-complete="true"
  
  &lt;absolute-ordering/&gt;
  </code></pre>
  
  <p>Till now i did not had web.xml file in my project. My question is how to configure those two features with java config i.e. no XML.</p>
  
  <p>Here is an example of my current web.xml (located in "src/main/resources/WEB-INF/web.xml") file that i need to convert to java config </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
           xmlns="http://xmlns.jcp.org/xml/ns/javaee" 
           xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" 
           version="3.1"
           metadata-complete="true"
               &gt;
     &lt;absolute-ordering/&gt;
  
  &lt;/web-app&gt;
  </code></pre>