title: How to pass a Map<String, String> with application.properties
body: <p>I have implemented some authorization in a webservice that needs be configured.</p>
  
  <p>Currently the user/password combo is hardcoded into the bean configuration. I would like to configure the map with users and passwords into the application.properties so the configuration can be external.</p>
  
  <p>Any clue on how this can be done?</p>
  
  <pre><code>&lt;bean id="BasicAuthorizationInterceptor" class="com.test.BasicAuthAuthorizationInterceptor"&gt;
      &lt;property name="users"&gt;
          &lt;map&gt;
              &lt;entry key="test1" value="test1"/&gt;
              &lt;entry key="test2" value="test2"/&gt;
          &lt;/map&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>