Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 1 addition & 91 deletions src/main/xar-resources/data/extensions/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,51 +115,6 @@
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="module_context">
<title>Context Module</title>
<para>Provides access to XQuery contexts, local attributes and foreign contexts for
simple inter-XQuery communication. This extension is experimental at this time and
has side effects (eg. not purely functional in nature). Use at own risk! </para>
<itemizedlist>
<listitem>
<para>Creator: Andrzej Taramina</para>
</listitem>
<listitem>
<para>Licence: LGPL</para>
</listitem>
<listitem>
<para>Status: experimental</para>
</listitem>
<listitem>
<para>Class: <code>org.exist.xquery.modules.context.ContextModule</code> </para>
</listitem>
<listitem>
<para>Namespace: <code>http://exist-db.org/xquery/context</code> </para>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="module_datetime">
<title>Date Time Module</title>
<para>Provides additional operations on date and time types</para>
<itemizedlist>
<listitem>
<para>Creator: Adam Retter</para>
</listitem>
<listitem>
<para>Licence: LGPL</para>
</listitem>
<listitem>
<para>Status: production</para>
</listitem>
<listitem>
<para>Class: <code>org.exist.xquery.modules.datetime.DateTimeModule</code>
</para>
</listitem>
<listitem>
<para>Namespace: <code>http://exist-db.org/xquery/datetime</code> </para>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="module_exi">
<title>EXI Module</title>
<para>Provides additional operations to encode and decode Efficient XML Interchange
Expand Down Expand Up @@ -205,30 +160,6 @@
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="module_httpclient">
<title>HTTP Client Module</title>
<para>Functions for performing HTTP requests</para>
<itemizedlist>
<listitem>
<para>Creator: Adam Retter and Andrzej Taramina</para>
</listitem>
<listitem>
<para>Licence: LGPL Features</para>
</listitem>
<listitem>
<para>Used: NekoHTML</para>
</listitem>
<listitem>
<para>Status: production</para>
</listitem>
<listitem>
<para>Class: <code>org.exist.xquery.modules.http.HTTPClientModule</code> </para>
</listitem>
<listitem>
<para>Namespace: <code>http://exist-db.org/xquery/httpclient</code> </para>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="module_image">
<title>Image Module</title>
<para>This modules provides operations on images stored in the db, including: Retreiving
Expand Down Expand Up @@ -306,27 +237,6 @@
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="module_math">
<title>Math Module</title>
<para>This module provides mathematical functions from the java Math class.</para>
<itemizedlist>
<listitem>
<para>Creator: Dannes Wessels</para>
</listitem>
<listitem>
<para>Licence: LGPL</para>
</listitem>
<listitem>
<para>Status: production</para>
</listitem>
<listitem>
<para>Class: <code>org.exist.xquery.modules.math.MathModule</code> </para>
</listitem>
<listitem>
<para>Namespace: <code>http://exist-db.org/xquery/math</code> </para>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="module_oracle">
<title>Oracle Module</title>
<para>This module allows execution of PL/SQL Stored Procedures within an Oracle RDBMS
Expand Down Expand Up @@ -494,7 +404,7 @@
<para>Namespace: <code>http://exist-db.org/xquery/xslfo</code> </para>
</listitem>
</itemizedlist>
</sect2>
</sect2>
<sect2 xml:id="module_xmlcalabash">
<title>XML Calabash Module</title>
<para>This module provides simple integration with XML Calabash XProc engine.</para>
Expand Down
55 changes: 1 addition & 54 deletions src/main/xar-resources/data/security/security.xml
Original file line number Diff line number Diff line change
Expand Up @@ -688,60 +688,7 @@
after first authentication.</para>
</listitem>
</itemizedlist>
</sect3>

<sect3 xml:id="oauth-realm">
<title>OAuth Realm</title>

<para>Due to the variation in implementations across OAuth providers,
provider-specific Java libraries are necessary. eXist-db currently supports only
Facebook and Google for OAuth authentication (see <link condition="_blank"
xlink:href="http://developers.facebook.com/docs/authentication/">Facebook
Authentication</link> and <link condition="_blank"
xlink:href="https://developers.google.com/accounts/docs/OAuth2">Google's OAuth
documentation</link>.</para>
<para>The OAuth Realm is not enabled by default. To enable it, set the
<literal>include.feature.security.oauth</literal> property to
<literal>true</literal> in <literal>extensions/local.build.properties</literal>.
Then <link xlink:href="exist-building">rebuild eXist-db</link>. After this, edit
<code>web.xml</code> and <code>controller-config.xml</code> to enable the
<code>OAuthServlet</code>. After restarting eXist-db, add a <tag>realm</tag>
element for OAuth to <literal>/db/system/security/config.xml</literal>. For
example:</para>
<programlisting language="xml" xlink:href="listings/listing-6.xml"/>

<itemizedlist>
<listitem>
<para>Valid values for the service element's <code>provider</code> attribute
are <code>facebook</code> and <code>google</code>. </para>
</listitem>
<listitem>
<para>The <code>name</code> attribute must be a unique name for the
application.</para>
<para>The <code>key</code> and <code>secret</code> attribute values must be
provided by the OAuth provider.</para>
</listitem>
</itemizedlist>
</sect3>

<sect3 xml:id="openid-realm">
<title>OpenID Realm</title>

<para> <link condition="_blank" xlink:href="http://openid.net/">OpenID</link> is an
authentication mechanism where the identity of the user is maintained by trusted
external providers. This takes the burden in maintaining and securing passwords
for users from the eXist-db database to the Identity Provider (IdP). </para>
<para> By default, the OpenID service is not built and therefore not enabled. To
recompile the source with OpenID enabled, edit the file
<code>local.build.properties</code> in the <literal>extensions</literal>
directory and change the <code>include.feature.security.openid</code> property
from <literal>false</literal> to <literal>true</literal>. Then <link
xlink:href="exist-building">rebuild eXist-db</link>.</para>
<para> This extension compiles into
<code>lib/extensions/exist-security-openid.jar</code>. Running eXist-db with
that <code>.jar</code> should enable the extension. To disable the service,
remove the <code>.jar</code> and restart eXist-db.</para>
</sect3>
</sect3>

</sect2>

Expand Down
10 changes: 2 additions & 8 deletions src/main/xar-resources/data/xquery/xquery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -912,15 +912,9 @@
built into eXist are listed below; see eXist-db's Package Repository for others.)</para>

<sect2 xml:id="http-client-module">
<title>HTTP Client</title>
<para>eXist-db implements the <link condition="_blank"
xlink:href="http://expath.org/spec/http-client">HTTP Client Module</link>, an EXPath
specification for interacting with HTTP servers. This is in addition to eXist-db's
native function libraries for performing HTTP <link
xlink:href="/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/request"
>requests</link>.</para>
<title>HTTP Client</title>
<para>eXist-db implements the <link condition="_blank" xlink:href="http://expath.org/spec/http-client">HTTP Client Module</link>, an EXPath specification for interacting with HTTP servers.</para>
</sect2>

<sect2 xml:id="packaging-system">
<title>Packaging System</title>
<para>eXist-db implements the <link xlink:href="http://expath.org/spec/pkg">Packaging
Expand Down