Configuring which claims the Web service accepts

Use the GloballyAcceptedClaims section in your Ambient Data Framework configuration to specify which Claims your Web service accepts. The Web service ignores all Claims that are not listed in this section.

Procedure

  1. On the machine that runs the Web service that generates authentication tokens, access its configuration directory , WEB-INF/classes
  2. Open the Ambient Data Framework configuration file, cd_ambient_conf.xml for editing.
  3. Just above the closing tag of the Security section, add a new section called GloballyAcceptedClaims.
  4. For each Claim you want to allow, insert a new Claim element in the GloballyAcceptedClaims section and give it a Uri attribute set to the URI of this Claim.

    The result should look like this:

    	<GloballyAcceptedClaims>
    	<Claim Uri="myclaim1" />
    		<Claim Uri="myclaim2" />
    	</GloballyAcceptedClaims>            
    </Security>
  5. Save and close cd_ambient_conf.xml.