Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Org.eclipse.higgins.as"

Line 7: Line 7:
  
 
The [[IdAS XDI Engine]] is implemented using the [[XDI4j]] general-purpose XDI library. It is an XDI4j "Messaging Target", i.e. an implementation of the  MessagingTarget interface. In XDI4j, a Messaging Target is a class that can process XDI messages and produce result XDI documents.
 
The [[IdAS XDI Engine]] is implemented using the [[XDI4j]] general-purpose XDI library. It is an XDI4j "Messaging Target", i.e. an implementation of the  MessagingTarget interface. In XDI4j, a Messaging Target is a class that can process XDI messages and produce result XDI documents.
 +
 +
== Example Uses ==
 +
 +
Get everything about an [[Entity]] in an LDAP directory.
 +
 +
<pre>
 +
=sender
 +
$get
 +
/
 +
=(uid=hummel,ou=identities,dc=higgins,dc=eclipse,dc=org)
 +
</pre>
 +
 +
Get only a single [[Attribute]] of that [[Entity]].
 +
 +
<pre>
 +
=sender
 +
$get
 +
/
 +
=(uid=hummel,ou=identities,dc=higgins,dc=eclipse,dc=org)
 +
+(http://www.eclipse.org/higgins/ontologies/2006/higgins/ldap#attr_cn)
 +
</pre>
 +
 +
Request a new context to be opened:
 +
 +
<pre>
 +
=markus
 +
$get$a$context
 +
/
 +
$(@parity*contexts/($context)*(+ldap)*(+poc))
 +
$username
 +
"un"
 +
$password
 +
"pw"
 +
</pre>
 +
 +
Reply to that previous message:
 +
 +
<pre>
 +
$(@parity*contexts/($context)*(+ldap)*(+poc))
 +
$uri$http$1
 +
"https://graceland.parityinc.net/xdi-idas/dynamic-4993794982058936360"
 +
$is$a
 +
$context
 +
($context)*(+ldap)
 +
</pre>
  
 
== Links ==
 
== Links ==

Revision as of 16:35, 19 April 2008

{{#eclipseproject:technology.higgins}} The IdAS XDI Engine is a web application that exposes a Higgins Context as an XDI endpoint, which can receive and process XDI messages.

It maps incoming XDI messages to IdAS operations, which are applied to the Context that is being exposed. This mapping is described in further detail at IdAS XDI Mapping.

Implementation

The IdAS XDI Engine is implemented using the XDI4j general-purpose XDI library. It is an XDI4j "Messaging Target", i.e. an implementation of the MessagingTarget interface. In XDI4j, a Messaging Target is a class that can process XDI messages and produce result XDI documents.

Example Uses

Get everything about an Entity in an LDAP directory.

=sender
	$get
		/
			=(uid=hummel,ou=identities,dc=higgins,dc=eclipse,dc=org)

Get only a single Attribute of that Entity.

=sender
	$get
		/
			=(uid=hummel,ou=identities,dc=higgins,dc=eclipse,dc=org)
				+(http://www.eclipse.org/higgins/ontologies/2006/higgins/ldap#attr_cn)

Request a new context to be opened:

=markus
	$get$a$context
		/
			$(@parity*contexts/($context)*(+ldap)*(+poc))
	$username
		"un"
	$password
		"pw"

Reply to that previous message:

$(@parity*contexts/($context)*(+ldap)*(+poc))
	$uri$http$1
		"https://graceland.parityinc.net/xdi-idas/dynamic-4993794982058936360"
	$is$a
		$context
		($context)*(+ldap)

Links

  • Higgins Home
  • The XDI RDF Model is the current OASIS TC proposal for an RDF-based data model and addressing format for XDI. This document includes the proposed XDI RDF schema and a number of examples of XDI documents. (Note that it does not yet include the proposed XDI messaging format, which uses XDI documents as message envelopes for other XDI documents.)
  • OASIS XDI TC Wiki
  • Wikipedia page on XDI

Back to the top