Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "ContextId"
(→Examples) |
|||
Line 8: | Line 8: | ||
* ContextRefs are used by the [[Identity Attribute Service (IdAS)]] and its [[Context Provider]]s | * ContextRefs are used by the [[Identity Attribute Service (IdAS)]] and its [[Context Provider]]s | ||
− | ==Examples== | + | ===Examples=== |
# http://www.fabrikam123.example/4f544/ldap347/HR/employees --an LDAP employee directory | # 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 | # proprietary-scheme-a://contactlist -- user's contact list stored as tab-delimited file |
Revision as of 22:55, 24 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 underlying Context dataset, although not necessarily the same Context "container" instance, and, based on the authorization of the Digital Identity passed in during authentication, may only be permitted to see a subset of its contents.
- 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?