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 "Proxy vocabulary"

(UML Overview)
Line 47: Line 47:
 
* 0..1 subscribePage  
 
* 0..1 subscribePage  
 
* 0..1 proposedPassword
 
* 0..1 proposedPassword
* 0..1 proposedUserid
 
* 0..1 metaChangeEmail
 
* 0..1 metaSubscribe
 
* 0..1 metaRegister
 
  
 
=== Proxy ===
 
=== Proxy ===
Line 101: Line 97:
 
URL of a page where a user can login to this site.
 
URL of a page where a user can login to this site.
 
* value: Entity
 
* value: Entity
 
=== metaChangeEmail ===
 
True if we have a connector that can change the user's email from A to B in their account
 
* domain: WebLogin
 
* value: xsd:boolean
 
 
=== metaRegister ===
 
True if we have a connector that can create an account for the user on the site
 
* domain: WebLogin
 
* value: xsd:boolean
 
 
=== metaSubscribe ===
 
True if we have a connector that adds the user to the site's mailing list
 
* domain: WebLogin
 
* value: xsd:boolean
 
  
 
=== neverRememberPassword ===
 
=== neverRememberPassword ===
Line 129: Line 110:
 
=== proposedPassword ===
 
=== proposedPassword ===
 
Password that the user proposes to use as a new password to login to a site.
 
Password that the user proposes to use as a new password to login to a site.
* domain: WebLogin
 
* value: xsd:string
 
 
=== proposedUserid ===
 
Username or email etc. that the user proposes to an external site to identify the user during a registration or email subscription process
 
 
* domain: WebLogin
 
* domain: WebLogin
 
* value: xsd:string
 
* value: xsd:string

Revision as of 22:01, 19 April 2012

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}

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.119.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
  • 0..1 loginPage
  • 0..1 registerPage
  • 0..1 subscribePage
  • 0..1 proposedPassword

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/imageType or imageURL attributes

  • 1..1 displayName
  • 1..1 resource
  • 1..1 template
  • 0..1 backgroundColor
  • 0..1 image
  • 0..1 imageType
  • 0..1 imageURL

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.

  • 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.

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

WebLogin Attributes

domain

DND domain name of this site (e.g. nytimes.com)

  • value: xsd:string

imageURL

Optional URL of background image. An alternative to the embedded image/imageType attributes.

  • value: foaf:Image

invalidCredentials

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

  • domain: WebLogin
  • value: xsd:boolean

loginPage

URL of a page where a user can login to this site.

  • value: Entity

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

proposedPassword

Password that the user proposes to use as a new password to login to a site.

  • domain: WebLogin
  • value: xsd:string

registerPage

URL of a page where the user can register for a new account at this site.

  • value: Entity

subscribePage

URL of a page where the user can subscribe to emails from this site.

  • value: Entity

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 Proxy/Card.

  • value: xsd:string

displayName

Short human-friendly name for this Proxy.

  • value: xsd:string

image

  • value: xsd:base64

imageType

  • 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: higgins:Agent

XRI 2.0 Attributes

authNMaterialsType

udiMetadata

UDIMetadata instance

  • domain: XRI2.0
  • value: UDIMetadata

Links

Back to the top