This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
/
manifest.xml
46 lines (45 loc) · 2.64 KB
/
manifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<authdriver enabled="false" name="basic_http" label="CONF_MESSAGE[Basic HTTP]" description="CONF_MESSAGE[Use the standard http authentication.]" mixins="authdriver_commons" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
<client_settings>
<resources>
<i18n namespace="basic_http_auth" path="plugins/auth.basic_http/i18n"/>
</resources>
</client_settings>
<server_settings>
<param name="USERS_FILEPATH" type="string" label="CONF_MESSAGE[Users]" description="CONF_MESSAGE[The users list]" mandatory="true"/>
<param name="LOGOUT_URL" type="string" label="CONF_MESSAGE[Logout URL]" description="CONF_MESSAGE[Redirect to the given URL on loggin out]" mandatory="false" />
</server_settings>
<class_definition filename="plugins/auth.basic_http/class.basic_httpAuthDriver.php" classname="basic_httpAuthDriver"/>
<registry_contributions>
<external_file filename="plugins/core.auth/standard_auth_actions.xml" include="actions/*" exclude="actions/action[@name='logout']"/>
<actions>
<action name="logout" expireDefault="true">
<gui text="164" title="169" src="decrypted.png" accessKey="" hasAccessKey="false">
<context selection="false" dir="" recycle="false"
actionBar="true" contextMenu="false" infoPanel="false"
actionBarGroup="user" ajxpWidgets="UserWidget::logging_string">
</context>
</gui>
<rightsContext noUser="false" userLogged="only" guestLogged="show" read="false" write="false" adminOnly=""/>
<processing>
<clientCallback prepareModal="false"><![CDATA[
clearRememberData();
var connexion = new Connexion();
connexion.addParameter('get_action', 'back');
connexion.onComplete = function(transport){
var child = transport.responseXML.documentElement.childNodes;
try{
document.location.href = child[0].nodeValue;
}catch(e){}
};
connexion.sendAsync();
]]></clientCallback>
<serverCallback methodName="switchAction"/>
</processing>
</action>
</actions>
</registry_contributions>
<dependencies>
<pluginClass pluginName="auth.serial"/>
</dependencies>
</authdriver>