Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "ContextId"
(→Open issues) |
|||
Line 3: | Line 3: | ||
* Two different [[ContextRef]]s may refer to the same [[Context]] | * Two different [[ContextRef]]s may refer to the same [[Context]] | ||
* If two [[ContextRef]]s are equal, they refer to the same Context dataset, although not necessarily the same [[Context]] "container" instance | * If two [[ContextRef]]s are equal, they refer to the same Context dataset, although not necessarily the same [[Context]] "container" instance | ||
− | |||
* A given [[ContextRef]] may be used against multiple [[Context Provider]]s to produce the same [[Context]] (although, as mentioned, different IContext instances). | * A given [[ContextRef]] may be used against multiple [[Context Provider]]s to produce the same [[Context]] (although, as mentioned, different IContext instances). | ||
* [[ContextRef]]s MAY be XRIs | * [[ContextRef]]s MAY be XRIs | ||
* [[ContextRef]]s MUST be subdivideable by "/" (e.g. to allow constructing through the following possible kind of concatenation: <contextRef-root>/<schemaType>/<object-identifier> | * [[ContextRef]]s MUST be subdivideable by "/" (e.g. to allow constructing through the following possible kind of concatenation: <contextRef-root>/<schemaType>/<object-identifier> | ||
+ | * ContextRefs are used by the [[Identity Attribute Service (IdAS)]] and its [[Context Provider]]s | ||
==Examples== | ==Examples== |
Revision as of 00:31, 9 December 2006
- A ContextRef is a URI that identifies a Context.
- ContextRefs either directly or indirectly (e.g. by conventions, lookups, etc.) provide sufficient information to identify a Context
- Two different ContextRefs may refer to the same Context
- If two ContextRefs are equal, they refer to the same Context dataset, although not necessarily the same Context "container" instance
- A given ContextRef may be used against multiple Context Providers to produce the same Context (although, as mentioned, different IContext instances).
- ContextRefs MAY be XRIs
- ContextRefs MUST be subdivideable by "/" (e.g. to allow constructing through the following possible kind of concatenation: <contextRef-root>/<schemaType>/<object-identifier>
- ContextRefs are used by the Identity Attribute Service (IdAS) and its Context Providers
Examples
- http://www.fabrikam123.example/4f544/ldap347/HR/employees --an LDAP employee directory
- proprietary-scheme-a://contactlist -- user's contact list stored as tab-delimited file
- xri://foo*bar/baz
Open issues
- Do we need a method in IdAS to test that two given ContextRefs actually resolve to the same Context?