1 | name=Authentication demo
|
---|
2 | shortDescription=Collection demonstrating document-level collection authentication in Greenstone 3.
|
---|
3 | description=<p>ÐÐ°ÐœÐœÐ°Ñ ÐŽÐµÐŒÐŸÐœÑÑÑаÑÐžÐŸÐœÐœÐ°Ñ ÐºÐŸÐ»Ð»ÐµÐºÑÐžÑ ÑПЎеÑÐ¶ÐžÑ Ñе же ЌаÑеÑÐžÐ°Ð»Ñ ÑÑП О ПÑОгОМалÑÐœÐ°Ñ ÐŽÐµÐŒÐŸÐœÑÑÑаÑÐžÐŸÐœÐœÐ°Ñ ÐºÐŸÐ»Ð»ÐµÐºÑÐžÑ ÐÑОМÑÑПÑÐœ, МП вклÑÑÐ°ÐµÑ ÐºÐŸÐŒÐ°ÐœÐŽÑ Ð±Ð°Ð·ÐŸÐ²ÐŸÐ¹ аÑÑеМÑОÑОкаÑОО. Ðва ЎПкÑЌеМÑа ЎПÑÑÑÐ¿ÐœÑ ÐŽÐ»Ñ ÐŸÑкÑÑÑПгП ЎПÑÑÑпа (РазвеЎеМОе ÑлОÑПк 1 О 2), МП ÐŽÑÑгОе ЎПкÑЌеМÑÑ ÑÑебÑÑÑ Ð²Ñ
|
---|
4 | ПЎа ÐŽÐ»Ñ Ð¿ÑПÑЌПÑÑа.</p> <p><center><b> ÐÐ»Ñ ÐŽÐŸÑÑÑпа к ÑÑПй кПллекÑОО МеПбÑ
|
---|
5 | ПЎОЌП ввеÑÑО user:</b> <i>demo</i> <b>О password:</b> <i>demo</i></center></p> <h3>Ðак ÑабПÑÐ°ÐµÑ ÐºÐŸÐ»Ð»ÐµÐºÑОÑ</h3> <p> <!-- _text1_ --> The <a href="_httpcollection_/etc/collect.cfg" target="collect.cfg">collection configuration file</a> is exactly the same as for the original demo collection apart from the authentication directives, one plugin option (and this description).</p> <p> СÑ
|
---|
6 | еЌа аÑÑеМÑОÑОкаÑОО ÑпÑавлÑÐµÑ ÐŽÐŸÑÑÑпПЌ к кПллекÑОО. ÐМа ÑвлÑеÑÑÑ ÐŽÐ²ÑÑ
|
---|
7 | ÑÑÑпеМÑаÑПй. СМаÑала ПМа ÑеÑаеÑ, ПгÑаМОÑОÑÑ Ð»Ðž ЎПÑÑÑп к кПллекÑОО в ÑелПЌ ОлО к ПÑЎелÑÐœÑÐŒ ЎПкÑЌеМÑаЌ. РпПÑлеЎМеЌ ÑлÑÑае ПпÑеЎелÑеÑÑÑ, какОе ЎПкÑЌеМÑÑ ÑвлÑÑÑÑÑ ÑакПвÑЌО (ОлО пÑеЎÑÑавлÑÑ ÑпОÑПк ÑеÑ
|
---|
8 | ЎПкÑЌеМÑПв, к кПÑПÑÑÐŒ ÑÑебÑеÑÑÑ ÑазÑеÑеМОе Ма ЎПÑÑÑп, ОлО же ПпÑеЎелÑÑ, ÑÑП вÑе ЎПкÑЌеМÑÑ ÑвлÑÑÑÑÑ ÐœÐµÐŽÐŸÑÑÑпМÑЌО за ОÑклÑÑеМОеЌ ÑеÑ
|
---|
9 | , ÑÑП вклÑÑÐµÐœÑ Ð² ÑпОÑПк ПбÑеЎПÑÑÑпМÑÑ
|
---|
10 | ЎПкÑЌеМÑПв). ТПгЎа ÐŽÐ»Ñ ÐŽÐŸÐºÑЌеМÑПв ПгÑаМОÑеММПгП ЎПÑÑÑпа ПпÑеЎелÑеÑÑÑ, какОЌ пПлÑзПваÑелÑÐŒ ÑазÑеÑеМ к МОЌ ЎПÑÑÑп.</p> <p> <!-- _text3_ -->Authentication is activated by the <i>authenticate</i> directive with the value <i>collection</i> or <i>document</i> depending on whether authentication is to be performed on the full collection or on a per-document basis (the default value is <i>collection</i>). If authentication is on a <i>document</i> basis, then one can <i>either</i> specify a list of private documents (in which case all others are public) or a list of public documents (in which case all others are private) using directives <i>private_documents</i> or <i>public_documents</i>. СпеÑОÑÐžÐºÑ ÑаЌОÑ
|
---|
11 | ЎПкÑЌеМÑПв ПпÑеЎелÑÑÑ, ОÑпПлÑзÑÑ ÐžÐŽÐµÐœÑОÑОкаÑПÑÑ ÐŽÐŸÐºÑЌеМÑа в Greenstone (ÑаÑпÑеЎелеММÑÑ
|
---|
12 | пП ПблаÑÑÑÐŒ). СаЌÑй легкОй ÑпПÑПб ОÑ
|
---|
13 | ПÑМеÑÐµÐœÐžÑ ÑПÑÑÐŸÐžÑ Ð² ÑПЌ, ÑÑÐŸÐ±Ñ ÐŸÐ¿ÑеЎелОÑÑ ÐŒÐµÑÑПМаÑ
|
---|
14 | ПжЎеМОе кажЎПгП ЎПкÑЌеМÑа в кПллекÑОО О ÑаÑÑЌПÑÑеÑÑ ÐµÐ³ÐŸ <i>d</i>-аÑгÑÐŒÐµÐœÑ Ð² URL Greenstone.</p> <p><!-- _text2_ --> In this case, we have used the <i>-OIDtype dirname</i> option to HTMLPlugin, which specifies that directory names should be used as identifiers. This works for collections where each document is in a separate directory. We have used this option to ensure that identifiers remain the same across different platforms (which may not be the case for HASH identifiers), as we need to specify identifiers here for the authentication directives.</p> <p> ÐОÑекÑОва <i>auth_groups</i> ПпÑеЎелÑÐµÑ Ð³ÑÑÐ¿Ð¿Ñ Greenstone, к кПÑПÑÑÐŒ ЎПÑÑÑп бÑÐŽÐµÑ ÑазÑеÑеМ, еÑлО ЎПкÑÐŒÐµÐœÑ (ОлО кПллекÑОÑ) ПÑМПÑОÑÑÑ Ðº ÑеЌ, ÐŽÐ»Ñ ÐºÐŸÑПÑÑÑ
|
---|
15 | ÑÑебÑеÑÑÑ Ð°ÑÑеМÑОÑОкаÑОÑ. ÐÑП ПпÑеЎелÑеÑÑÑ ÐœÐ°Ð·Ð²Ð°ÐœÐžÐµÐŒ гÑÑÐ¿Ð¿Ñ (ОлО ÑпОÑкПЌ МазваМОй гÑÑпп ПпÑеЎелеММÑÑ
|
---|
16 | ПблаÑÑей). <i>Admin</i> ÑÑÑаМОÑÑ Greenstone пПзвПлÑÐµÑ ÐŸÐ¿ÑеЎелÑÑÑ Ð³ÑÑÐ¿Ð¿Ñ Ðž ЎПбавлÑÑÑ Ðº МОЌ МПвÑе.</p>
|
---|
17 |
|
---|
18 |
|
---|