[Erp5-report] r40467 kazuhiko - in /erp5/trunk/bt5/erp5_sso_openam: PropertySheetTemplateIt...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 22 14:55:34 CET 2010


Author: kazuhiko
Date: Mon Nov 22 14:55:34 2010
New Revision: 40467

URL: http://svn.erp5.org?rev=40467&view=rev
Log:
add a proeprty sheet.

Added:
    erp5/trunk/bt5/erp5_sso_openam/PropertySheetTemplateItem/
    erp5/trunk/bt5/erp5_sso_openam/PropertySheetTemplateItem/OpenAMPreference.py
    erp5/trunk/bt5/erp5_sso_openam/bt/template_property_sheet_id_list
Modified:
    erp5/trunk/bt5/erp5_sso_openam/bt/revision

Added: erp5/trunk/bt5/erp5_sso_openam/PropertySheetTemplateItem/OpenAMPreference.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_sso_openam/PropertySheetTemplateItem/OpenAMPreference.py?rev=40467&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_sso_openam/PropertySheetTemplateItem/OpenAMPreference.py (added)
+++ erp5/trunk/bt5/erp5_sso_openam/PropertySheetTemplateItem/OpenAMPreference.py [utf8] Mon Nov 22 14:55:34 2010
@@ -0,0 +1,49 @@
+#############################################################################
+#
+# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsibility of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# guarantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+##############################################################################
+
+class OpenAMPreference:
+  """
+  This property sheet defines configurable preference properties for
+  OpenAM SSO.
+  """
+
+  _properties = (
+    { 'id'          : 'preferred_openam_logout_url',
+      'description' : 'Logout URL ofthe OpenAM server',
+      'type'        : 'text',
+      'preference'  : 1,
+      'default'     : '',
+      'write_permission': 'Manage properties',
+      'mode'        : '' },
+    { 'id'          : 'preferred_openam_token_id',
+      'description' : 'Cookie ID where OpenAM token is stored',
+      'type'        : 'text',
+      'preference'  : 1,
+      'default'     : 'openAMToken',
+      'write_permission': 'Manage properties',
+      'mode'        : '' },
+    )

Modified: erp5/trunk/bt5/erp5_sso_openam/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_sso_openam/bt/revision?rev=40467&r1=40466&r2=40467&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_sso_openam/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_sso_openam/bt/revision [utf8] Mon Nov 22 14:55:34 2010
@@ -1 +1 @@
-1
\ No newline at end of file
+2
\ No newline at end of file

Added: erp5/trunk/bt5/erp5_sso_openam/bt/template_property_sheet_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_sso_openam/bt/template_property_sheet_id_list?rev=40467&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_sso_openam/bt/template_property_sheet_id_list (added)
+++ erp5/trunk/bt5/erp5_sso_openam/bt/template_property_sheet_id_list [utf8] Mon Nov 22 14:55:34 2010
@@ -0,0 +1 @@
+OpenAMPreference
\ No newline at end of file




More information about the Erp5-report mailing list