This HTML5 document contains 35 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
n21http://HOSTNAME/acl/graph/groups/http%3A%2F%2Fwww.openlinksw.com%2Fontology%2Facl%23DefaultRealm>.
foafhttp://xmlns.com/foaf/0.1/
n9http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n14http://virtuoso.openlinksw.com/download/
dchttp://purl.org/dc/elements/1.1/
n6http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n10http://rdfs.org/sioc/services#
n11http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n4http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n16http://vos.openlinksw.com/wiki/main/VOS/HtmlPivotViewerACL/scope.
n23http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/HtmlPivotViewerACL/sioc.
n7http://HOSTNAME/acl/graph/rules/http%3A%2F%2Fwww.openlinksw.com%2Fontology%2Facl%23DefaultRealm>.</
n20http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#
n17http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n18http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n11:this
foaf:made
n2:HtmlPivotViewerACL
Subject Item
n6:this
sioc:creator_of
n2:HtmlPivotViewerACL
Subject Item
n9:item
n10:services_of
n2:HtmlPivotViewerACL
Subject Item
n17:this
sioc:creator_of
n2:HtmlPivotViewerACL
Subject Item
n4:VOS
sioc:container_of
n2:HtmlPivotViewerACL
atom:entry
n2:HtmlPivotViewerACL
atom:contains
n2:HtmlPivotViewerACL
Subject Item
n2:VirtSparqlCxmlHtmlPivotViewer
sioc:links_to
n2:HtmlPivotViewerACL
Subject Item
n2:HtmlPivotViewerACL
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:44:19.980372
dcterms:modified
2017-06-29T07:34:50.843808
rdfs:label
HtmlPivotViewerACL
foaf:maker
n18:this n11:this
dc:title
HtmlPivotViewerACL
opl:isDescribedUsing
n23:rdf
sioc:has_creator
n6:this n17:this
sioc:attachment
n16:png
sioc:content
%META:TOPICPARENT{name="VirtSparqlCxmlHtmlPivotViewer"}% ---+[[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]] - Configuring Support for Access Control Lists [[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]] now includes support for integration with the Virtuoso Authentication Layer (VAL). VAL provides an internal Virtuoso API for handling authentication in Virtuoso and provides a framework for setting up access control lists (ACL). This new feature can be used to manage access to [[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]]. Use of this feature is dependant on the VAL VAD which can be downloaded from the [[http://virtuoso.openlinksw.com/download/][Virtuoso downloads page]]. If the VAL VAD is not installed then [[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]] works as before without requiring any authentication. Although you may find that you still need to login if the collection that you are viewing is generated from a sparql query that is itself protected by an ACL. As part of the [[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]] VAD installation process a new rule scope specifically for [[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]] is created and then enabled. <i>Creating the new scope effectively means inserting these triples into the VAL ACL schema graph, &lt;urn:virtuoso:val:acl:schema&gt;:</i> <verbatim> PREFIX acl: <http://www.w3.org/ns/auth/acl#> . PREFIX oplacl: <http://www.openlinksw.com/ontology/acl#> . <urn:virtuoso:val:scopes:pivotviewer> a oplacl:Scope ; rdfs:label "HtmlPivotViewer" ; rdfs:comment """SQL ACL scope which contains all ACL rules granting permission to use the HtmlPivotViewer to visualize collections.""" ; oplacl:hasApplicableAccess oplacl:Read . </verbatim> <i>This scope definition specifies that read access is required. It is enabled for the default realm by inserting this triple into the ACL graph:</i> <verbatim> PREFIX oplacl: <http://www.openlinksw.com/ontology/acl#> <http://HOSTNAME/acl/graph/rules/http%3A%2F%2Fwww.openlinksw.com%2Fontology%2Facl%23DefaultRealm> oplacl:hasEnabledAclScope <urn:virtuoso:val:scopes:pivotviewer> . </verbatim> The new scope can be seen on the VAL config pages accessed from the Packages page in the Virtuoso Conductor. If the scope is disabled then only the dba is allowed access. <img src="%ATTACHURLPATH%/scope.png" style="wikiautogen"/> The next step is to set up a rule to control access to the scope. The default rule created by the VAD installer allows all authenticated users access to [[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]]. <i>Setting up this rule is effectively a two step process. First a group is defined that matches all authenticated users. Again, defining a new group means inserting triples into a graph in this case the acl group graph for the default realm,</i> &lt;http://HOSTNAME/acl/graph/groups/http%3A%2F%2Fwww.openlinksw.com%2Fontology%2Facl%23DefaultRealm&gt;. <verbatim> PREFIX acl: <http://www.w3.org/ns/auth/acl#> PREFIX oplacl: <http://www.openlinksw.com/ontology/acl#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> <#HtmlPivotViewerNetID> a oplacl:ConditionalGroup ; foaf:name ''Identities names using a NetID based Identifier'' ; oplacl:hasCondition [ a oplacl:GroupCondition, oplacl:GenericCondition ; oplacl:hasCriteria oplacl:NetID ; oplacl:hasComparator oplacl:IsNotNull ; oplacl:hasValue ''1''^^xsd:boolean ] . </verbatim> <i>Then a rule is created giving all members of that group read access rights to [[http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSparqlCxmlHtml#AncPivotViewer][HtmlPivotViewer]] by inserting triples into a graph in this case the acl rule graph for the default realm, &lt;http://HOSTNAME/acl/graph/rules/http%3A%2F%2Fwww.openlinksw.com%2Fontology%2Facl%23DefaultRealm&gt;.</i> <verbatim> PREFIX acl: <http://www.w3.org/ns/auth/acl#> PREFIX oplacl: <http://www.openlinksw.com/ontology/acl#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> <#NetIDPivotViewerAccessRule1> a acl:Authorization ; rdfs:comment """This ACL rule grants HtmlPivotViewer access to any identity denoted by a URI where identity claims are de-referenced and then verified using a variety of authentication protocols e.g., HTTP Digest, TLS basic, OAuth, WebID-TLS, OpenID, or Mozilla Persona """ ; foaf:maker <%s> ; acl:accessTo <urn:virtuoso:access:pivotviewer> ; oplacl:hasAccessMode oplacl:Read ; acl:agent <#HtmlPivotViewerNetID> ; oplacl:hasRealm oplacl:DefaultRealm ; oplacl:hasScope <urn:virtuoso:val:scopes:pivotviewer> . </verbatim> ---+++Allow Users to Request Access to <nowiki>HtmlPivotViewer</nowiki> An additional feature of the VAL framework is that a user denied access to a resource can automatically request access from the resource owner. To make use of this feature an owner must be defined for the resource, in this case the <nowiki>HtmlPivotViewer</nowiki> or &lt;urn:virtuoso:access:pivotviewer&gt;. If a user is denied access then an email is sent to the owner requesting that they are added to the list of allowed users. Defining the owner of the resource can be easily done using the VAL API. In this example the owner is 'dba', the database administrator. Executing this call in isql or the sql editor in the Virtuoso Conductor will enable the feature. <verbatim> VAL.DBA.set_resource_ownership ( scope=>'urn:virtuoso:val:scopes:pivotviewer', resource=>'urn:virtuoso:access:pivotviewer', serviceId=>VAL.DBA.user_personal_uri ('dba') ); </verbatim>
sioc:id
52d4622e14a0bb62126a9bc8aaaea16f
sioc:link
n2:HtmlPivotViewerACL
sioc:has_container
n4:VOS
n10:has_services
n9:item
atom:title
HtmlPivotViewerACL
sioc:links_to
n7:i n14: n20:AncPivotViewer n21:
atom:source
n4:VOS
atom:author
n11:this
atom:published
2017-06-13T05:44:19Z
atom:updated
2017-06-29T07:34:50Z
sioc:topic
n4:VOS