You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2018/03/13 06:32:44 UTC

[couchdb-documentation] branch repl-session-support updated (02ed143 -> 0ee6fdb)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch repl-session-support
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git.


    omit 02ed143  Replication plugin and session support
     new 0ee6fdb  Replication plugin and session support

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (02ed143)
            \
             N -- N -- N   refs/heads/repl-session-support (0ee6fdb)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/config/replicator.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
vatamane@apache.org.

[couchdb-documentation] 01/01: Replication plugin and session support

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch repl-session-support
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 0ee6fdb368f099b231eea2d3073a1308d8c24f64
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Tue Mar 13 02:25:28 2018 -0400

    Replication plugin and session support
    
    New `auth_plugins` section in config API
    
    Mention experimental session plugin status in whatsnew for 2.2.x
---
 src/config/replicator.rst | 18 ++++++++++++++++++
 src/whatsnew/2.2.rst      | 36 ++++++++++++++++++++++++++++++++++++
 src/whatsnew/index.rst    |  1 +
 3 files changed, 55 insertions(+)

diff --git a/src/config/replicator.rst b/src/config/replicator.rst
index d259fed..c4f7a78 100644
--- a/src/config/replicator.rst
+++ b/src/config/replicator.rst
@@ -211,3 +211,21 @@ Replicator Database Configuration
 
             [replicator]
             ssl_certificate_max_depth = 3
+
+    .. config:option:: auth_plugins
+
+        .. versionadded:: 2.2
+
+        List of replicator client authentication plugins. Plugins will
+        be tried in order and the first to initialize successfully will
+        be used. By default there are two plugin available:
+        `couch_replicator_auth_session` implementing session (cookie)
+        authentication, and `couch_replicator_auth_noop` implementing basic
+        authentication. For backwards compatibility, the no-op plugin should be used at
+        the end of the plugin list::
+
+          [replicator]
+          auth_plugins = couch_replicator_auth_session,couch_replicator_auth_noop
+
+        .. note::
+             In version 2.2, the session plugin is considered experimental and is not enabled by default.
diff --git a/src/whatsnew/2.2.rst b/src/whatsnew/2.2.rst
new file mode 100644
index 0000000..2d77bdc
--- /dev/null
+++ b/src/whatsnew/2.2.rst
@@ -0,0 +1,36 @@
+.. Licensed under the Apache License, Version 2.0 (the "License"); you may not
+.. use this file except in compliance with the License. You may obtain a copy of
+.. the License at
+..
+..   http://www.apache.org/licenses/LICENSE-2.0
+..
+.. Unless required by applicable law or agreed to in writing, software
+.. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+.. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+.. License for the specific language governing permissions and limitations under
+.. the License.
+
+.. _release/2.2.x:
+
+============
+2.2.x Branch
+============
+
+.. contents::
+    :depth: 1
+    :local:
+
+Version 2.2.0
+=============
+
+General
+-------
+
+* :ghissue:`1153`: Plugin based replicator authentication support. Session
+  (cookie) based authentication implemented in the
+  `couch_replicator_auth_session` plugin module. In this release it is
+  considered experimental and is disabled by default. To enable set
+  `[replicator] auth_plugins =
+  couch_replicator_auth_session,couch_replicator_auth_noop`. Consider enabling
+  it when using PBKDF2 or the new bcrypt password hashing with a larger work
+  factor.
diff --git a/src/whatsnew/index.rst b/src/whatsnew/index.rst
index d316b89..ade0988 100644
--- a/src/whatsnew/index.rst
+++ b/src/whatsnew/index.rst
@@ -19,6 +19,7 @@ Release History
 .. toctree::
     :glob:
 
+    2.2
     2.1
     2.0
     1.7

-- 
To stop receiving notification emails like this one, please contact
vatamane@apache.org.