Changeset 38832 for documented-examples
- Timestamp:
- 2024-03-12T09:41:24+13:00 (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documented-examples/trunk/authen-e/resources/collectionConfig.properties
r36625 r38832 14 14 dls.Keyword=How to 15 15 16 shortDescription= <p>Collection that demonstrates document-level collection authentication in Greenstone 3.</p>16 shortDescription=Collection that demonstrates document-level collection authentication in Greenstone 3. 17 17 18 18 description1=<p>This demonstration collection contains the same material as the original Greenstone demo collection, but it includes some basic authentication commands. Two documents are publicly available (Farming snails 1 & 2), while the others require logging in to view.</p> <p><center><b> To access this collection try user\:</b> <i>demo</i> <b>and password\:</b> <i>demo</i></center></p> … … 24 24 description4=<p>Authentication is activated using the <i><security></i> XML element in the collectionConfig.xml file. In the example of the authen-e collection, all <i>document</i>s are set to <i>private</i> access by default, with the <i>exception</i> that they are accessible to logged in members of a <i>group</i> called <i>"demo"</i>. The <i>security</i> element further defines a set of documents (<i>documentSet</i>) called "always-public" which contains 2 documents denoted by their document identifiers/OIDs (fb33fe and fb34fe). This documentSet specifies an exceptional case\: the documents in the documentSet are <i>not</i> private access like other documents in the collection are by default, but can instead be accessed by anyone in <i>any</i> group, as no group is specified for their access. \n\ 25 25 <pre><security default_access="private" scope="document"> \n\ 26 27 28 29 30 31 32 33 34 35 36 37 26 \t<exception> \n\ 27 \t\t<group name="demo"/> \n\ 28 \t</exception> \n\ 29 \t<exception> \n\ 30 \t\t<documentSet name="always-public"/> \n\ 31 \t\t\t<group name=""/> \n\ 32 \t</exception> \n\ 33 \t<documentSet name="always-public"> \n\ 34 \t\t<match>fb33fe</match> \n\ 35 \t\t<match>fb34fe</match> \n\ 36 \t</documentSet> \n\ 37 </security></pre> \n\ 38 38 </p> 39 39
Note:
See TracChangeset
for help on using the changeset viewer.