3

I'm wondering if it's possible to use wildcards within the cd_ambient_conf.xml node (as documented here)

This would save me a ton of data entry, and it would be cool if that's how it worked :)

4

It sounds from your question that you want to specify a wildcard in a Globally Accepted Claim and allow processing any forwarded claims that match this wildcard.

Unfortunately you cannot specify wildcards and need to specify each Globally Accepted Claim individually.

Here is how it works: The ADF extracts the GloballyAcceptedClaims from the config and stores them in an list, where each claim is identified by its URI. When a claim comes in (i.e. is forwarded), the framework checks to see if the claim is contained within this list, e.g.:

if (this.globallyAcceptedClaims.contains(claimUri.toString()))

Your forwarded claim will have a specific URI, but an entry in the GloballyAcceptedClaims list will be a wildcard as per your desired config. The String.contains() method will return false in this case, and the claim won't be processed.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.