From patchwork Mon Jul 22 11:45:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Sokolovsky X-Patchwork-Id: 18515 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f199.google.com (mail-gh0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3ED8F25E1F for ; Mon, 22 Jul 2013 11:45:23 +0000 (UTC) Received: by mail-gh0-f199.google.com with SMTP id g14sf7687178ghb.10 for ; Mon, 22 Jul 2013 04:45:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=FuxLvI2gDJG+xQKb6S5tbLlLJxzGwAKieB2Aze/WlmU=; b=SG8jBDaOiQCvvDpluSJI91/EfXtMv5LXNx8ehlmNCKm+RdHJ8YF044PabJebsxkN2t YxmPK1Nn9QwpDYdtU4/JKWvtbFzKzysBlIS4GESbvWgdjl5tR+crRSuXCjuXc/Rlq7LF wc1ARZ7Sl38rLpi+djOGrSd7oZ5TvnH3RUAD8GDr4FZy6vfXHLVulPt1ZCY0EplBHYsu UQoEHaZa/CZVOm+vSeXJm1oX67kZyTHweMZMCsZpw2ad/QQ51jx9bD5m98yGcIeiFgHP IH0Yrm5UKXgNhnG7bikiLQV3X0l03/Dld73WYOOf2IxW0+RX1PGYyKsSzWwj/VO1eVzX wKRw== X-Received: by 10.236.133.19 with SMTP id p19mr15865899yhi.54.1374493522699; Mon, 22 Jul 2013 04:45:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.132.99 with SMTP id ot3ls2482147qeb.40.gmail; Mon, 22 Jul 2013 04:45:22 -0700 (PDT) X-Received: by 10.58.236.70 with SMTP id us6mr9169209vec.89.1374493522594; Mon, 22 Jul 2013 04:45:22 -0700 (PDT) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx.google.com with ESMTPS id t6si6918009vcu.84.2013.07.22.04.45.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Jul 2013 04:45:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.54; Received: by mail-vb0-f54.google.com with SMTP id q12so4707585vbe.13 for ; Mon, 22 Jul 2013 04:45:22 -0700 (PDT) X-Received: by 10.52.77.5 with SMTP id o5mr7700706vdw.46.1374493522519; Mon, 22 Jul 2013 04:45:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp51070veb; Mon, 22 Jul 2013 04:45:21 -0700 (PDT) X-Received: by 10.180.98.4 with SMTP id ee4mr29549386wib.41.1374493521461; Mon, 22 Jul 2013 04:45:21 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id un6si10753454wjc.172.2013.07.22.04.45.20 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 22 Jul 2013 04:45:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1V1EYK-0005O8-KE for ; Mon, 22 Jul 2013 11:45:20 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 8A947E0513 for ; Mon, 22 Jul 2013 11:45:20 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 410 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 410: Add template configuration for Atlassian Crowd authentication support. Message-Id: <20130722114520.702.86633.launchpad@ackee.canonical.com> Date: Mon, 22 Jul 2013 11:45:20 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16696"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 415b6716fcc4f090a2f4258070869f195f681cc5 X-Gm-Message-State: ALoCoQm1GdUi/jVCyHNiElncha6BdfyK3m00lE2tZKJqF/NpgyS3uhvAcrHF+6RQeNFarhO3gxX8 X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ------------------------------------------------------------ revno: 410 committer: Paul Sokolovsky branch nick: lava-server.crowd2 timestamp: Thu 2013-07-11 12:26:54 +0100 message: Add template configuration for Atlassian Crowd authentication support. None of of the settings are enabled by default, because most people don't need Crowd auth and they will only complicate "pristine" install. For Linaro LAVA Lab, settings are expected to be handled on the level of buildout.cfg and Salt. modified: lava_server/settings/common.py setup.py --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/settings/common.py' --- lava_server/settings/common.py 2012-09-20 20:56:45 +0000 +++ lava_server/settings/common.py 2013-07-11 11:26:54 +0000 @@ -120,6 +120,8 @@ 'linaro_django_xmlrpc', 'lava_markitup', # Support app for MarkItUp in LAVA 'south', + # Uncomment to enable Atlassian Crowd auth support. + #'crowdrest', ] try: @@ -141,6 +143,9 @@ AUTHENTICATION_BACKENDS = ( + # Uncomment CrowdRestBackend and comment OpenIDBackend to enable + # Atlassian Crowd auth. + #'crowdrest.backend.CrowdRestBackend', 'django_openid_auth.auth.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend', ) @@ -154,6 +159,13 @@ from openid import oidutil oidutil.log = lambda msg, level=0: None +# Configuration settings for crowdrest.backend.CrowdRestBackend +# Alternatively, can be set in production config for particular installed +# instance. +#AUTH_CROWD_APPLICATION_USER = 'appname' +#AUTH_CROWD_APPLICATION_PASSWORD = 'apppass' +#AUTH_CROWD_SERVER_REST_URI = 'https://crowd-server/crowd/rest/usermanagement/1' + RESTRUCTUREDTEXT_FILTER_SETTINGS = {"initial_header_level": 4} # Skip south tests as they seem to break everything else. === modified file 'setup.py' --- setup.py 2013-01-14 21:26:37 +0000 +++ setup.py 2013-07-11 11:26:54 +0000 @@ -73,6 +73,10 @@ 'south >= 0.7.3', 'versiontools >= 1.8', 'markdown >= 2.0.3', + # Disabled by default, as most people don't need + # Atlassian Crowd auth. Handled on the level of + # buildout.cfg instead. + #'django-crowd-rest-backend >= 0.3', ], setup_requires=[ 'versiontools >= 1.8',