portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject svn commit: r331071 - in /portals/jetspeed-2/trunk/components/security-schema/src/main: resources/log4j.properties schema/jetspeed.schema
Date Sun, 06 Nov 2005 03:42:47 GMT
Author: dlestrat
Date: Sat Nov  5 19:42:44 2005
New Revision: 331071

URL: http://svn.apache.org/viewcvs?rev=331071&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-188#action_12356329

Revisited the LDAP implementation.  Integrate Apache DS with J2.
All unit tests for LDAP are passing on Apache DS.  Leave them excluded for now.
Various quick fixes for serializable objects.  Add serialUID.

Documentation to come in the next few days.

Added:
    portals/jetspeed-2/trunk/components/security-schema/src/main/resources/log4j.properties
    portals/jetspeed-2/trunk/components/security-schema/src/main/schema/jetspeed.schema

Added: portals/jetspeed-2/trunk/components/security-schema/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security-schema/src/main/resources/log4j.properties?rev=331071&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/security-schema/src/main/resources/log4j.properties
(added)
+++ portals/jetspeed-2/trunk/components/security-schema/src/main/resources/log4j.properties
Sat Nov  5 19:42:44 2005
@@ -0,0 +1,10 @@
+log4j.rootCategory=INFO, stdout, record
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n
+
+log4j.appender.record=org.apache.log4j.FileAppender
+log4j.appender.record.File=target/apacheds/logs/apacheds.log
+log4j.appender.record.layout=org.apache.log4j.PatternLayout
+log4j.appender.record.layout.ConversionPattern=[%d{HH:mm:ss}] %p - [%l] - %m%n
\ No newline at end of file

Added: portals/jetspeed-2/trunk/components/security-schema/src/main/schema/jetspeed.schema
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security-schema/src/main/schema/jetspeed.schema?rev=331071&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/security-schema/src/main/schema/jetspeed.schema (added)
+++ portals/jetspeed-2/trunk/components/security-schema/src/main/schema/jetspeed.schema Sat
Nov  5 19:42:44 2005
@@ -0,0 +1,76 @@
+# =============================================================================
+#                                Jetspeed Schema
+# =============================================================================
+#
+# The following attribute type OID have been arbitrarily chosen for now.
+#
+#              +-----------------------------+-----------------+
+#              |  Apache AttributeType OID   |      name       |
+#              +-----------------------------+-----------------+
+#              | 1.3.6.1.4.1.8100.1.2.3.1    | j2-classname    |
+#              | 1.3.6.1.4.1.8100.1.2.3.2    | j2-action       |
+#              | 1.3.6.1.4.1.8100.1.2.3.3    | j2-role         |
+#              | 1.3.6.1.4.1.8100.1.2.3.4    | j2-group        |
+#              | 1.3.6.1.4.1.8100.1.2.3.5    | j2-permission   |
+#              | 1.3.6.1.4.1.8100.1.2.3.6    | creation-date   |
+#              | 1.3.6.1.4.1.8100.1.2.3.7    | modified-date   |
+#              +-----------------------------+-----------------+
+# =============================================================================
+
+attributetype ( 1.3.6.1.4.1.8100.1.2.3.1 NAME 'j2-classname'
+	DESC 'The java class name of the object.'
+	EQUALITY caseIgnoreIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+	SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.8100.1.2.3.2 NAME 'j2-action'
+	DESC 'An action associated with a permission. This is a multi-valued attribute.'
+	EQUALITY caseIgnoreIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+
+attributetype ( 1.3.6.1.4.1.8100.1.2.3.3 NAME 'j2-role'
+	DESC 'The UID of an associated Role. This is a multi-valued attribute.'
+	EQUALITY caseExactIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+
+attributetype ( 1.3.6.1.4.1.8100.1.2.3.4 NAME 'j2-group'
+	DESC 'The UID of an associated Group. This is a multi-valued attribute.'
+	EQUALITY caseExactIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+
+attributetype ( 1.3.6.1.4.1.8100.1.2.3.5 NAME 'j2-permission'
+	DESC 'The UID of an associated Permission'
+	EQUALITY caseExactIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+
+attributetype ( 1.3.6.1.4.1.8100.1.2.3.6 NAME 'creation-date'
+	DESC 'create date'
+	EQUALITY caseIgnoreIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+	SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.8100.1.2.3.7 NAME 'modified-date'
+	DESC 'modified date'
+	EQUALITY caseIgnoreIA5Match
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+	SINGLE-VALUE )
+
+objectclass ( 1.3.6.1.4.1.8100.1.2.4.1 NAME 'jetspeed-2-group'
+	DESC 'Jetspeed-2 group'
+	MUST ( j2-classname $ uid)
+	MAY ( j2-role $ creation-date $ modified-date) )
+
+objectclass ( 1.3.6.1.4.1.8100.1.2.4.2 NAME 'jetspeed-2-permission'
+	DESC 'Jetspeed-2 permission'
+	MUST ( j2-classname $ uid)
+	MAY ( j2-action $ creation-date $ modified-date) )
+
+objectclass ( 1.3.6.1.4.1.8100.1.2.4.3 NAME 'jetspeed-2-role'
+	DESC 'Jetspeed-2 role'
+	MUST ( j2-classname $ uid)
+	MAY ( creation-date $ modified-date) )
+
+objectclass ( 1.3.6.1.4.1.8100.1.2.4.4 NAME 'jetspeed-2-user'
+	DESC 'Jetspeed-2 user' SUP inetOrgPerson
+	MUST ( cn $ uid)
+	MAY ( j2-role $ j2-group $ j2-permission $ creation-date $ modified-date))
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message