Return-Path: X-Original-To: apmail-incubator-isis-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-isis-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44C8E6016 for ; Wed, 6 Jul 2011 18:13:56 +0000 (UTC) Received: (qmail 62698 invoked by uid 500); 6 Jul 2011 18:13:56 -0000 Delivered-To: apmail-incubator-isis-commits-archive@incubator.apache.org Received: (qmail 62677 invoked by uid 500); 6 Jul 2011 18:13:56 -0000 Mailing-List: contact isis-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-commits@incubator.apache.org Received: (qmail 62670 invoked by uid 99); 6 Jul 2011 18:13:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 18:13:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 18:13:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2D5F523888CE; Wed, 6 Jul 2011 18:13:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1143517 - in /incubator/isis/trunk/framework/security/sql/src/site: apt/ apt/index.apt apt/jottings.apt site.xml Date: Wed, 06 Jul 2011 18:13:34 -0000 To: isis-commits@incubator.apache.org From: kevin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110706181334.2D5F523888CE@eris.apache.org> Author: kevin Date: Wed Jul 6 18:13:33 2011 New Revision: 1143517 URL: http://svn.apache.org/viewvc?rev=1143517&view=rev Log: Fix documentation directories Added: incubator/isis/trunk/framework/security/sql/src/site/apt/ incubator/isis/trunk/framework/security/sql/src/site/apt/index.apt (with props) incubator/isis/trunk/framework/security/sql/src/site/apt/jottings.apt (with props) incubator/isis/trunk/framework/security/sql/src/site/site.xml (with props) Added: incubator/isis/trunk/framework/security/sql/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/security/sql/src/site/apt/index.apt?rev=1143517&view=auto ============================================================================== --- incubator/isis/trunk/framework/security/sql/src/site/apt/index.apt (added) +++ incubator/isis/trunk/framework/security/sql/src/site/apt/index.apt Wed Jul 6 18:13:33 2011 @@ -0,0 +1,67 @@ +~~ Licensed to the Apache Software Foundation (ASF) under one +~~ or more contributor license agreements. See the NOTICE file +~~ distributed with this work for additional information +~~ regarding copyright ownership. The ASF licenses this file +~~ to you 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. + + + +Security SQL Implementation + + The module is a simple implementation of Isis' authentication and + authorization APIs, that uses flat SQL tables to store user/passwords/roles (for authentication) + and role-based permissions (for authorization). + + No additional helpers are provided to maintain the SQL tables used, so you will have + to find your own table viewers/editors to maintain them. + + At the moment, authorization learning has not been implemented. + + +Alternatives + + Alternatives include: + + * the {{{../dflt/index.html}default}} (no-op) security implementation, for prototyping use only + + * the {{{../file/index.html}file}} security + + * the {{{../ldap/index.html}LDAP}} security + +Setup + + isis.authentication=sql + isis.authentication.authenticator=objstore.dflt.saip.authentication.SaipSqlAuthenticator + isis.authentication.sql.jdbc.driver=org.hsqldb.jdbcDriver + + # Connection string: e.g. + isis.authentication.sql.jdbc.connection=jdbc:hsqldb:file:hsql-db/authentication + + # Connection authentication + isis.authentication.sql.jdbc.user=sa + isis.authentication.sql.jdbc.password= + + isis.authentication.sql.userTable=*Real Name of User Table* + isis.authentication.sql.userNameField=*Real field that contains username* + isis.authentication.sql.passwordField=*Real field that contains password* + + # The following property is optional, for specifying roles: + + isis.authentication.sql.roleField=*Real field that contains roles* + + # Roles are of the forms ROLE1|ROLE2|ROLE3 + + + [] + Propchange: incubator/isis/trunk/framework/security/sql/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:executable = * Added: incubator/isis/trunk/framework/security/sql/src/site/apt/jottings.apt URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/security/sql/src/site/apt/jottings.apt?rev=1143517&view=auto ============================================================================== --- incubator/isis/trunk/framework/security/sql/src/site/apt/jottings.apt (added) +++ incubator/isis/trunk/framework/security/sql/src/site/apt/jottings.apt Wed Jul 6 18:13:33 2011 @@ -0,0 +1,24 @@ +~~ Licensed to the Apache Software Foundation (ASF) under one +~~ or more contributor license agreements. See the NOTICE file +~~ distributed with this work for additional information +~~ regarding copyright ownership. The ASF licenses this file +~~ to you 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. + + + +Jottings + + This page is to capture any random jottings relating to this module prior + to being moved into formal documentation. + Propchange: incubator/isis/trunk/framework/security/sql/src/site/apt/jottings.apt ------------------------------------------------------------------------------ svn:executable = * Added: incubator/isis/trunk/framework/security/sql/src/site/site.xml URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/security/sql/src/site/site.xml?rev=1143517&view=auto ============================================================================== --- incubator/isis/trunk/framework/security/sql/src/site/site.xml (added) +++ incubator/isis/trunk/framework/security/sql/src/site/site.xml Wed Jul 6 18:13:33 2011 @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + Propchange: incubator/isis/trunk/framework/security/sql/src/site/site.xml ------------------------------------------------------------------------------ svn:executable = *