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

Proxy vocabulary

Revision as of 10:53, 29 September 2011 by Ptrevithick.gmail.com (Talk | contribs)

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Higgins logo 76Wx100H.jpg

A vocabulary to describe proxies. A proxy is an object that stands in for a "real" object that is stored within the local data store. The proxy's proxy:resource URI that is a link to the "real" object. To support a visual representation of a proxy, proxies have optional background color, image and imageType attributes.

Subclasses of Proxy exist that add a second reference--a reference to an object stored external to the local ADS. Specific subclasses indicate the protocol used to access it, and any authentication materials required).

Part of the Persona Data Model 2.0.

Files

UML Overview

Proxy 2.0.109.png

Classes

App

An App Proxy references an h:Agent (usually a p:Person) that an App (a PDS add-on) can use for local storage.

  • subClassOf Proxy
  • description xsd:String

Connection

Abstract class. A metaphor representing an attribute data channel to/from an external party. The connectionType attribute indicates the nature of the party on the other end of the connection.

  • subClassOf Proxy
  • 1..1 externalResource
  • 1..1 connectionType

Known subclasses of Connection: I-Card (See I-Card vocabulary), WebLogin, LinkedData, XRI2.0

LinkedData

A reference to an external representation (e.g. a person) stored as Linked Data in the Semantic Web (probably using FOAF). See (http://linkeddatabook.com/editions/1.0/). The value of its inherited externalResource attribute is a LinkedData URI (303 or Hash)

  • subClassOf Connection

WebLogin

A connection that uses HTML screen scraping and form filling to read/write from/to an external website. The 'externalResource' is the URI of the homepage of this site. If login is required then userid and password are the values required to login.

  • subClassOf: Connection
  • 0..1 invalidCredentials
  • 0..1 neverRememberPassword
  • 0..1 password
  • 0..1 userid

Proxy

A (abstract) proxy for an object that is stored external to the local data store. Concrete subclasses of Proxy specify how this external object it accessed (e.g. by specifying location of the object, the used protocol to access it, and any authentication materials required). Each Proxy instance has a resource attribute that is a reference to a representation of the external object in a context in the local data store. Some Proxies may be represented as visual icons/metaphors in a UI. To support this it has optional background color, image and imageType attributes

  • 1..1 skos:prefLabel - display name
  • 1..1 resource
  • 0..1 backgroundColor
  • 0..1 image
  • 0..1 imageType

XRI2.0

A reference to an external representation (e.g. a person). The value of the inherited externalReference attribute is an XRI 2.0 URI. Dereferences to an XRDS discovery document.

  • subClassOf Card
  • 0..1 app-data:appData - provides a "template" for the AppData object within a dynamically created AppDataContext (see App-data vocabulary)
  • 1..1 authNMaterialsType
  • 1..1 contextType
  • 0..1 udiMetadata

UDIMetadata

A set of attribute/values that, taken together, are considered the "metadata" for the XRDS service endpoint.

Connection Attributes

externalResource

URI of a resource external to the ADS. Different Connection subclasses interpret this differently.

  • domain: Connection
  • value: xsd:anyURI

connectionType

Indication of the nature of the counter party of this connection. If the value is "business" then the counterparty pointed to by 'externalResource' is some kind of organization. If the value is "person" then 'externalResource' is an identifier of a person (e.g. if this is a LinkedData Connection then it could be the URI of the "me" entity in a FOAF file). If the value is "ad" then this Connection is a connection to a set of businesses (e.g. Google, Yahoo, Bizo, Excelate, etc.) from which interests & demographics can be read and to which user-managed values of such can be written.

  • domain: Connection
  • value: one of ("business", "person", "ad")


WebLogin Attributes

invalidCredentials

If true, then some attempt has been made to use the userid/password but the login failed.

  • domain: WebLogin
  • value: xsd:boolean

neverRememberPassword

If true then don't ever capture/remember the password that the user just typed in.

  • domain: WebLogin
  • value: xsd:boolean

password

Password used in conjunction with userid to login user.

  • domain: WebLogin
  • value: xsd:string

userid

Username or email etc. used by external site to identify the user.

  • domain: WebLogin
  • value: xsd:string

Proxy Attributes

backgroundColor

Background image of a Card.

  • domain: Proxy
  • value: xsd:string

image

  • domain: Proxy
  • value: xsd:base64

imageType

  • domain: Proxy
  • one of ("JPG", "GIF", "PNG")

resource

Entity stored in local data store that is a local representation of the external object represented by this Proxy.

  • domain: Proxy
  • value: h:Agent

XRI 2.0 Attributes

authNMaterialsType

udiMetadata

UDIMetadata instance

  • domain: XRI2.0
  • value: UDIMetadata

Links

Back to the top