title: Ambient data framework getting REMOTE_USER from taf:server:variables in Java
body: <p>My website is running on .Net and i'm using SDL Tridion 2009.
  When a user logs in, I can see that the REMOTE_USER variable is correctly stored in the taf:server:variables group in the claim store (using a .net script).</p>
  
  <p>In my cartridge (java) i'm trying to extract this value, but I can see when printing everything in the claim store this value is blank.  </p>
  
  <p>my Java code looks like this:</p>
  
  <pre><code>Map serverParameters = (Map)claimStore.get(WebClaims.SERVER_VARIABLES);
  
  for (Object key: serverParameters.keySet()) {
    log.debug("Key : " + key.toString() + " Value : " + serverParameters.get(key));
  } 
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p>My cartridge configuration contains the following inputclaim:</p>
  
  <pre><code>&lt;InputClaims&gt;
     &lt;ClaimDefinition Uri="taf:server:variables" /&gt;
  &lt;/InputClaims&gt;
  </code></pre>
  
  <p>This unfortunately doens't help, I've also tried taf:server:variables:remoteuser / remote_user / * with no success.</p>
  
  <p>When I inspect the log, i see the key REMOTE_USER but the value is blank.</p>
  
  <p>I was wondering if anyone else has seen this scenario and knows the solution.</p>