[jboss-svn-commits] JBoss Portal SVN: r5679 - in trunk: build/ide/intellij/idea50/modules/migration build/ide/intellij/idea60/modules/portlet identity/src/main/org/jboss/portal/identity2/ldap identity/src/main/org/jboss/portal/test/identity/ldap identity/src/resources identity/src/resources/draft test/src/etc/identityconfig

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Nov 20 06:53:30 EST 2006


Author: bdaw
Date: 2006-11-20 06:53:13 -0500 (Mon, 20 Nov 2006)
New Revision: 5679

Added:
   trunk/identity/src/resources/draft/
   trunk/identity/src/resources/draft/identity-config.xml
   trunk/identity/src/resources/draft/profile.xml
   trunk/identity/src/resources/draft/standardidentity-config.xml
Removed:
   trunk/build/ide/intellij/idea60/modules/portlet/portlet.iml
   trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPOperation.java
   trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSession.java
   trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSessionService.java
   trunk/test/src/etc/identityconfig/test2-config.xml
Modified:
   trunk/build/ide/intellij/idea50/modules/migration/migration.iml
   trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPMembershipModuleTestCase.java
   trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticGroupMembershipModuleTestCase.java
   trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticRoleMembershipModuleTestCase.java
Log:
- remove unused classes

Modified: trunk/build/ide/intellij/idea50/modules/migration/migration.iml
===================================================================
--- trunk/build/ide/intellij/idea50/modules/migration/migration.iml	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/build/ide/intellij/idea50/modules/migration/migration.iml	2006-11-20 11:53:13 UTC (rev 5679)
@@ -79,9 +79,5 @@
     </orderEntry>
     <orderEntryProperties />
   </component>
-  <component name="VcsManagerConfiguration">
-    <option name="ACTIVE_VCS_NAME" value="CVS" />
-    <option name="USE_PROJECT_VCS" value="false" />
-  </component>
 </module>
 

Deleted: trunk/build/ide/intellij/idea60/modules/portlet/portlet.iml
===================================================================
--- trunk/build/ide/intellij/idea60/modules/portlet/portlet.iml	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/build/ide/intellij/idea60/modules/portlet/portlet.iml	2006-11-20 11:53:13 UTC (rev 5679)
@@ -1,325 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module version="4" relativePaths="true" type="JAVA_MODULE">
-  <component name="ModuleRootManager" />
-  <component name="NewModuleRootManager" inherit-compiler-output="false">
-    <output url="file://$MODULE_DIR$/../../../../../../portlet/output/idea50/classes" />
-    <exclude-output />
-    <content url="file://$MODULE_DIR$/../../../../../../portlet">
-      <sourceFolder url="file://$MODULE_DIR$/../../../../../../portlet/src/main" isTestSource="false" />
-      <excludeFolder url="file://$MODULE_DIR$/../../../../../../portlet/output" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="server" />
-    <orderEntry type="module" module-name="api" />
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/sun-servlet/lib/jsp-api.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module" module-name="common" />
-    <orderEntry type="module" module-name="security" />
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/sun-servlet/lib/servlet-api.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module" module-name="test" />
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/jboss/jbossxb/lib/jboss-xml-binding.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/dom4j/lib/dom4j.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/apache-httpclient/lib/commons-httpclient.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/jboss/microcontainer/lib/jboss-microcontainer.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/jboss/microcontainer/lib/jboss-dependency.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/junit/lib/junit.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/apache-log4j/lib/log4j.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/sun-jaf/lib/activation.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/jbossas/core-libs/lib/jboss-common.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/jbossas/core-libs/lib/jboss-jmx.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/jbossas/core-libs/lib/jboss-system.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library">
-      <library>
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/jbossas/core-libs/lib/jboss.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module" module-name="jems" />
-    <orderEntryProperties />
-  </component>
-  <component name="VcsManagerConfiguration">
-    <option name="ACTIVE_VCS_NAME" value="svn" />
-    <option name="USE_PROJECT_VCS" value="false" />
-  </component>
-  <component name="copyright">
-    <Base>
-      <setting name="state" value="1" />
-    </Base>
-    <LanguageOptions name="$TEMPLATE$">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="true" />
-          <option name="separateAfter" value="true" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="true" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="JBoss, a division of Red Hat&#10;Copyright &amp;#36;today.year, Red Hat Middleware, LLC, and individual &#10;contributors as indicated by the @authors tag. See the &#10;copyright.txt in the distribution for a full listing of &#10;individual contributors.&#10;&#10;This is free software; you can redistribute it and/or modify it&#10;under the terms of the GNU Lesser General Public License as&#10;published by the Free Software Foundation; either version 2.1 of&#10;the License, or (at your option) any later version.&#10;&#10;This software is distributed in the hope that it will be useful,&#10;but WITHOUT ANY WARRANTY; without even the implied warranty of&#10;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU&#10;Lesser General Public License for more details.&#10;&#10;You should have received a copy of the GNU Lesser General Public&#10;License along with this software; if not, write to the Free&#10;Software Foundation, Inc., 51 Fr!
 anklin St, Fifth Floor, Boston, MA&#10;02110-1301 USA, or see the FSF site: http://www.fsf.org." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="4" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-    <LanguageOptions name="CSS">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="false" />
-          <option name="separateAfter" value="false" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="false" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="Copyright (c) &amp;#36;today.year, Your Corporation. All Rights Reserved." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="2" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-    <LanguageOptions name="HTML">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="false" />
-          <option name="separateAfter" value="false" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="false" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="Copyright (c) &amp;#36;today.year, Your Corporation. All Rights Reserved." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="2" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-    <LanguageOptions name="JAVA">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="false" />
-          <option name="separateAfter" value="false" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="false" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="Copyright (c) &amp;#36;today.year, Your Corporation. All Rights Reserved." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="2" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-    <LanguageOptions name="JSP">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="false" />
-          <option name="separateAfter" value="false" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="false" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="Copyright (c) &amp;#36;today.year, Your Corporation. All Rights Reserved." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="2" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-    <LanguageOptions name="JavaScript">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="false" />
-          <option name="separateAfter" value="false" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="false" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="Copyright (c) &amp;#36;today.year, Your Corporation. All Rights Reserved." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="2" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-    <LanguageOptions name="Properties">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="false" />
-          <option name="separateAfter" value="false" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="false" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="Copyright (c) &amp;#36;today.year, Your Corporation. All Rights Reserved." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="2" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-    <LanguageOptions name="XML">
-      <option name="templateOptions">
-        <value>
-          <option name="block" value="true" />
-          <option name="separateBefore" value="false" />
-          <option name="separateAfter" value="false" />
-          <option name="prefixLines" value="true" />
-          <option name="lenBefore" value="80" />
-          <option name="lenAfter" value="80" />
-          <option name="box" value="false" />
-          <option name="filler" value=" " />
-        </value>
-      </option>
-      <option name="notice" value="Copyright (c) &amp;#36;today.year, Your Corporation. All Rights Reserved." />
-      <option name="keyword" value="Copyright" />
-      <option name="fileTypeOverride" value="2" />
-      <option name="relativeBefore" value="true" />
-      <option name="addBlankAfter" value="true" />
-      <option name="fileLocation" value="1" />
-      <option name="useAlternate" value="false" />
-    </LanguageOptions>
-  </component>
-</module>
-

Deleted: trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPOperation.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPOperation.java	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPOperation.java	2006-11-20 11:53:13 UTC (rev 5679)
@@ -1,31 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat                                               *
- * Copyright 2006, Red Hat Middleware, LLC, and individual                    *
- * contributors as indicated by the @authors tag. See the                     *
- * copyright.txt in the distribution for a full listing of                    *
- * individual contributors.                                                   *
- *                                                                            *
- * This is free software; you can redistribute it and/or modify it            *
- * under the terms of the GNU Lesser General Public License as                *
- * published by the Free Software Foundation; either version 2.1 of           *
- * the License, or (at your option) any later version.                        *
- *                                                                            *
- * This software 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           *
- * Lesser General Public License for more details.                            *
- *                                                                            *
- * You should have received a copy of the GNU Lesser General Public           *
- * License along with this software; if not, write to the Free                *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA         *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.                   *
- ******************************************************************************/
-package org.jboss.portal.identity2.ldap;
-
-/**
- * @author <a href="mailto:boleslaw.dawidowicz at jboss.org">Boleslaw Dawidowicz</a>
- * @version $Revision: 1.1 $
- */
-public class LDAPOperation
-{
-}

Deleted: trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSession.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSession.java	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSession.java	2006-11-20 11:53:13 UTC (rev 5679)
@@ -1,42 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat                                               *
- * Copyright 2006, Red Hat Middleware, LLC, and individual                    *
- * contributors as indicated by the @authors tag. See the                     *
- * copyright.txt in the distribution for a full listing of                    *
- * individual contributors.                                                   *
- *                                                                            *
- * This is free software; you can redistribute it and/or modify it            *
- * under the terms of the GNU Lesser General Public License as                *
- * published by the Free Software Foundation; either version 2.1 of           *
- * the License, or (at your option) any later version.                        *
- *                                                                            *
- * This software 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           *
- * Lesser General Public License for more details.                            *
- *                                                                            *
- * You should have received a copy of the GNU Lesser General Public           *
- * License along with this software; if not, write to the Free                *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA         *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.                   *
- ******************************************************************************/
-package org.jboss.portal.identity2.ldap;
-
-/**
- * @author <a href="mailto:boleslaw.dawidowicz at jboss.org">Boleslaw Dawidowicz</a>
- * @version $Revision: 1.1 $
- */
-public interface LDAPSession
-{
-
-   public void reset();
-
-   public void begin();
-
-   public void commit();
-
-   public void flush();
-
-   public void addOperation(LDAPOperation op);
-
-}

Deleted: trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSessionService.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSessionService.java	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/main/org/jboss/portal/identity2/ldap/LDAPSessionService.java	2006-11-20 11:53:13 UTC (rev 5679)
@@ -1,55 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat                                               *
- * Copyright 2006, Red Hat Middleware, LLC, and individual                    *
- * contributors as indicated by the @authors tag. See the                     *
- * copyright.txt in the distribution for a full listing of                    *
- * individual contributors.                                                   *
- *                                                                            *
- * This is free software; you can redistribute it and/or modify it            *
- * under the terms of the GNU Lesser General Public License as                *
- * published by the Free Software Foundation; either version 2.1 of           *
- * the License, or (at your option) any later version.                        *
- *                                                                            *
- * This software 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           *
- * Lesser General Public License for more details.                            *
- *                                                                            *
- * You should have received a copy of the GNU Lesser General Public           *
- * License along with this software; if not, write to the Free                *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA         *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.                   *
- ******************************************************************************/
-package org.jboss.portal.identity2.ldap;
-
-/**
- * @author <a href="mailto:boleslaw.dawidowicz at jboss.org">Boleslaw Dawidowicz</a>
- * @version $Revision: 1.1 $
- */
-public class LDAPSessionService implements LDAPSession
-{
-   public void reset()
-   {
-      throw new UnsupportedOperationException("Not yet implemented");
-   }
-
-   public void begin()
-   {
-      throw new UnsupportedOperationException("Not yet implemented");
-   }
-
-   public void commit()
-   {
-      throw new UnsupportedOperationException("Not yet implemented");
-   }
-
-   public void flush()
-   {
-      throw new UnsupportedOperationException("Not yet implemented");
-   }
-
-   public void addOperation(LDAPOperation op)
-   {
-      throw new UnsupportedOperationException("Not yet implemented");
-   }
-}

Modified: trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPMembershipModuleTestCase.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPMembershipModuleTestCase.java	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPMembershipModuleTestCase.java	2006-11-20 11:53:13 UTC (rev 5679)
@@ -23,17 +23,17 @@
 package org.jboss.portal.test.identity.ldap;
 
 import org.jboss.portal.test.identity.ldap.LDAPTestCase;
-import org.jboss.portal.test.identity.MembershipStrategyTest;
+//import org.jboss.portal.test.identity.MembershipStrategyTest;
 
 /**
  * @author <a href="mailto:boleslaw.dawidowicz at jboss.org">Boleslaw Dawidowicz</a>
  * @version $Revision: 1.1 $
  */
-public abstract class LDAPMembershipModuleTestCase extends LDAPTestCase implements MembershipStrategyTest.Context
+public abstract class LDAPMembershipModuleTestCase extends LDAPTestCase
 {
 
    /** . */
-   protected MembershipStrategyTest mstc;
+   //protected MembershipStrategyTest mstc;
 
    public void setUp() throws Exception
    {

Modified: trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticGroupMembershipModuleTestCase.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticGroupMembershipModuleTestCase.java	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticGroupMembershipModuleTestCase.java	2006-11-20 11:53:13 UTC (rev 5679)
@@ -25,7 +25,6 @@
 import junit.framework.TestSuite;
 import org.jboss.portal.test.framework.TestRuntimeContext;
 import org.jboss.portal.test.identity.ldap.LDAPMembershipModuleTestCase;
-import org.jboss.portal.test.identity.MembershipStrategyTest;
 import org.jboss.portal.identity2.IdentityContextImpl;
 import org.jboss.portal.identity2.MembershipModule;
 import org.jboss.portal.identity2.config.SimpleConfigurationImpl;
@@ -111,11 +110,11 @@
       membership.start();
       this.membershipModule = membership;
 
-      mstc = new MembershipStrategyTest();
+      /*mstc = new MembershipStrategyTest();
       mstc.setContext(this);
       mstc.setMembershipModule(membership);
       mstc.setUserModule(userModule);
-      mstc.setRoleModule(roleModule);
+      mstc.setRoleModule(roleModule);*/
 
       suffix = getDirectoryServerConfigParameter().getCleanUpDN();
 

Modified: trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticRoleMembershipModuleTestCase.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticRoleMembershipModuleTestCase.java	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/main/org/jboss/portal/test/identity/ldap/LDAPStaticRoleMembershipModuleTestCase.java	2006-11-20 11:53:13 UTC (rev 5679)
@@ -35,8 +35,8 @@
 import org.jboss.portal.identity2.ldap.LDAPStaticRoleMembershipModuleImpl;
 import org.jboss.portal.identity2.config.SimpleConfigurationImpl;
 import org.jboss.portal.test.framework.TestRuntimeContext;
-import org.jboss.portal.test.identity.MembershipStrategyTest;
 
+
 import java.util.Set;
 import java.util.List;
 import java.util.LinkedList;
@@ -117,11 +117,11 @@
       membership.start();
       this.membershipModule = membership;
 
-      mstc = new MembershipStrategyTest();
+      /*mstc = new MembershipStrategyTest();
       mstc.setContext(this);
       mstc.setMembershipModule(membership);
       mstc.setUserModule(userModule);
-      mstc.setRoleModule(roleModule);
+      mstc.setRoleModule(roleModule);*/
 
       suffix = getDirectoryServerConfigParameter().getCleanUpDN();
 

Copied: trunk/identity/src/resources/draft/identity-config.xml (from rev 5678, trunk/test/src/etc/identityconfig/test2-config.xml)
===================================================================
--- trunk/test/src/etc/identityconfig/test2-config.xml	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/resources/draft/identity-config.xml	2006-11-20 11:53:13 UTC (rev 5679)
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software 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          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<identity-configuration>
+   <modules>
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>UserModule</type>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=User</service-name>
+         <class>org.jboss.portal.identity.db.DBUserModuleImp</class>
+         <jndi-name>java:/portal/UserModule</jndi-name>
+
+         <!--set of options that are passed to a class constructor-->
+         <config>
+            <option>
+               <name>SessionFactoryJNDIName</name>
+               <value>java:/portal/UserSessionFactory</value>
+            </option>
+            <option>
+               <name>HibernateConfigLocation</name>
+               <value>conf/hibernate/user/hibernate.cfg.xml</value>
+            </option>
+            <option>
+               <name>HibernateSetupLocation</name>
+               <value>conf/hibernate/user/setup.txt</value>
+            </option>
+            <!--other set of options needed by the module...-->
+         </config>
+      </module>
+
+      ...
+      <!--similar sections for role, membership and user profile modules-->
+      ...
+
+      <!--example for ldap module...-->
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>RoleModule</type>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=Role</service-name>
+         <class>org.jboss.portal.identity.ldap.LDAPRoleModuleImp</class>
+         <jndi-name>java:/portal/RoleModule</jndi-name>
+
+         <!--set of options that are passed to a class constructor-->
+         <config>
+            <option>
+               <name>LDAPConnectionJNDIName</name>
+               <value>java:/portal/UserSessionFactory</value>
+            </option>
+         </config>
+      </module>
+
+      <!--For ldap configuration this is needed additionally to use ldap connection...-->
+      <module>
+         <!--type used to correctly map in IdentityContext registry-->
+         <type>LDAPConnectionContext</type>
+
+         <!--name of service and class for creating mbean-->
+         <service-name>portal:service=Module,type=LDAPConnectionContext</service-name>
+         <class>org.jboss.portal.identity.ldap.LDAPConnectionContextImp</class>
+         <jndi-name>java:/portal/LDAPConnectionContext</jndi-name>
+
+         <!--set of options that are passed to a class constructor-->
+         <config>
+            <option>
+               <name>host</name>
+               <value>localhost</value>
+            </option>
+            <option>
+               <name>port</name>
+               <value>10389</value>
+            </option>
+            <option>
+               <name>context-factory</name>
+               <value>com.sun.jndi.ldap.LdapCtxFactory</value>
+            </option>
+            <option>
+               <name>admin-dn</name>
+               <value>cn=Directory Manager</value>
+            </option>
+            <option>
+               <name>admin-password</name>
+               <value>password</value>
+            </option>
+            <option>
+               <name>authentication</name>
+               <value>simple</value>
+            </option>
+         </config>
+      </module>
+   </modules>
+
+   <options>
+      <!--Common options section-->
+      <option-group>
+         <group-name>common</group-name>
+         <option>
+            <name>userContainerDN</name>
+            <value>ou=People,dc=testsuite,dc=portal,dc=qa,dc=atl,dc=jboss,dc=com</value>
+         </option>
+         <option>
+            <name>uidAttributeId</name>
+            <value>uid</value>
+         </option>
+         <option>
+            <name>passwordAttributeID</name>
+            <value>userPassword</value>
+         </option>
+         <option>
+            <name>hashAlgorithm</name>
+            <value>MD5</value>
+         </option>
+         <option>
+            <name>hashEncoding</name>
+            <value>hex</value>
+         </option>
+         <option>
+            <name>roleContainerDN</name>
+            <value>ou=Roles,dc=testsuite,dc=portal,dc=qa,dc=atl,dc=jboss,dc=com</value>
+         </option>
+         <option>
+            <name>ridAttributeId</name>
+            <value>cn</value>
+         </option>
+         <option>
+            <name>roleDisplayNameAttributeID</name>
+            <value>cn</value>
+         </option>
+         <option>
+            <name>membershipAttributeID</name>
+            <value>member</value>
+         </option>
+         <option>
+            <name>membershipAttributeIsDN</name>
+            <value>true</value>
+         </option>
+      </option-group>
+      <option-group>
+         <group-name>userCreateAttibutes</group-name>
+         <option>
+            <name>objectClass</name>
+            <value>top</value>
+            <value>uidObject</value>
+            <value>person</value>
+         </option>
+         <!--Schema requires those to have initial value-->
+         <option>
+            <name>cn</name>
+            <value>none</value>
+         </option>
+         <option>
+            <name>sn</name>
+            <value>none</value>
+         </option>
+      </option-group>
+      <option-group>
+         <group-name>roleCreateAttibutes</group-name>
+         <option>
+            <name>objectClass</name>
+            <value>top</value>
+            <value>groupOfNames</value>
+         </option>
+         <!--Schema requires those to have initial value-->
+         <option>
+            <name>cn</name>
+            <value>none</value>
+         </option>
+         <!--Some directory servers require this attribute to be valid DN-->
+         <!--For safety reasons point to the admin user here-->
+         <option>
+            <name>member</name>
+            <value>uid=dummynonexistinguser,ou=People,dc=jboss,dc=org</value>
+         </option>
+      </option-group>
+   </options>
+</identity-configuration>
\ No newline at end of file

Added: trunk/identity/src/resources/draft/profile.xml
===================================================================
--- trunk/identity/src/resources/draft/profile.xml	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/resources/draft/profile.xml	2006-11-20 11:53:13 UTC (rev 5679)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software 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          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+ 
\ No newline at end of file

Added: trunk/identity/src/resources/draft/standardidentity-config.xml
===================================================================
--- trunk/identity/src/resources/draft/standardidentity-config.xml	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/identity/src/resources/draft/standardidentity-config.xml	2006-11-20 11:53:13 UTC (rev 5679)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ This is free software; you can redistribute it and/or modify it           ~
+  ~ under the terms of the GNU Lesser General Public License as               ~
+  ~ published by the Free Software Foundation; either version 2.1 of          ~
+  ~ the License, or (at your option) any later version.                       ~
+  ~                                                                           ~
+  ~ This software 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          ~
+  ~ Lesser General Public License for more details.                           ~
+  ~                                                                           ~
+  ~ You should have received a copy of the GNU Lesser General Public          ~
+  ~ License along with this software; if not, write to the Free               ~
+  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
+  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
\ No newline at end of file

Deleted: trunk/test/src/etc/identityconfig/test2-config.xml
===================================================================
--- trunk/test/src/etc/identityconfig/test2-config.xml	2006-11-20 11:09:53 UTC (rev 5678)
+++ trunk/test/src/etc/identityconfig/test2-config.xml	2006-11-20 11:53:13 UTC (rev 5679)
@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-  ~ JBoss, a division of Red Hat                                              ~
-  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
-  ~ contributors as indicated by the @authors tag. See the                    ~
-  ~ copyright.txt in the distribution for a full listing of                   ~
-  ~ individual contributors.                                                  ~
-  ~                                                                           ~
-  ~ This is free software; you can redistribute it and/or modify it           ~
-  ~ under the terms of the GNU Lesser General Public License as               ~
-  ~ published by the Free Software Foundation; either version 2.1 of          ~
-  ~ the License, or (at your option) any later version.                       ~
-  ~                                                                           ~
-  ~ This software 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          ~
-  ~ Lesser General Public License for more details.                           ~
-  ~                                                                           ~
-  ~ You should have received a copy of the GNU Lesser General Public          ~
-  ~ License along with this software; if not, write to the Free               ~
-  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
-  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
-  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
-<identity-configuration>
-   <modules>
-      <module>
-         <!--type used to correctly map in IdentityContext registry-->
-         <type>UserModule</type>
-
-         <!--name of service and class for creating mbean-->
-         <service-name>portal:service=Module,type=User</service-name>
-         <class>org.jboss.portal.identity.db.DBUserModuleImp</class>
-         <jndi-name>java:/portal/UserModule</jndi-name>
-
-         <!--set of options that are passed to a class constructor-->
-         <config>
-            <option>
-               <name>SessionFactoryJNDIName</name>
-               <value>java:/portal/UserSessionFactory</value>
-            </option>
-            <option>
-               <name>HibernateConfigLocation</name>
-               <value>conf/hibernate/user/hibernate.cfg.xml</value>
-            </option>
-            <option>
-               <name>HibernateSetupLocation</name>
-               <value>conf/hibernate/user/setup.txt</value>
-            </option>
-            <!--other set of options needed by the module...-->
-         </config>
-      </module>
-
-      ...
-      <!--similar sections for role, membership and user profile modules-->
-      ...
-
-      <!--example for ldap module...-->
-      <module>
-         <!--type used to correctly map in IdentityContext registry-->
-         <type>RoleModule</type>
-
-         <!--name of service and class for creating mbean-->
-         <service-name>portal:service=Module,type=Role</service-name>
-         <class>org.jboss.portal.identity.ldap.LDAPRoleModuleImp</class>
-         <jndi-name>java:/portal/RoleModule</jndi-name>
-
-         <!--set of options that are passed to a class constructor-->
-         <config>
-            <option>
-               <name>LDAPConnectionJNDIName</name>
-               <value>java:/portal/UserSessionFactory</value>
-            </option>
-         </config>
-      </module>
-
-      <!--For ldap configuration this is needed additionally to use ldap connection...-->
-      <module>
-         <!--type used to correctly map in IdentityContext registry-->
-         <type>LDAPConnectionContext</type>
-
-         <!--name of service and class for creating mbean-->
-         <service-name>portal:service=Module,type=LDAPConnectionContext</service-name>
-         <class>org.jboss.portal.identity.ldap.LDAPConnectionContextImp</class>
-         <jndi-name>java:/portal/LDAPConnectionContext</jndi-name>
-
-         <!--set of options that are passed to a class constructor-->
-         <config>
-            <option>
-               <name>host</name>
-               <value>localhost</value>
-            </option>
-            <option>
-               <name>port</name>
-               <value>10389</value>
-            </option>
-            <option>
-               <name>context-factory</name>
-               <value>com.sun.jndi.ldap.LdapCtxFactory</value>
-            </option>
-            <option>
-               <name>admin-dn</name>
-               <value>cn=Directory Manager</value>
-            </option>
-            <option>
-               <name>admin-password</name>
-               <value>password</value>
-            </option>
-            <option>
-               <name>authentication</name>
-               <value>simple</value>
-            </option>
-         </config>
-      </module>
-   </modules>
-
-   <options>
-      <!--Common options section-->
-      <option-group>
-         <group-name>common</group-name>
-         <option>
-            <name>userContainerDN</name>
-            <value>ou=People,dc=jboss,dc=org</value>
-         </option>
-         <option>
-            <name>uidAttributeId</name>
-            <value>uid</value>
-         </option>
-         <option>
-            <name>roleContainerDN</name>
-            <value>ou=Roles,dc=jboss,dc=org</value>
-         </option>
-         <option>
-            <name>ridAttributeId</name>
-            <value>cn</value>
-         </option>
-         <option>
-            <name>roleDisplayNameAttributeID</name>
-            <value>cn</value>
-         </option>
-         <option>
-            <name>roleMemberAttributeID</name>
-            <value>member</value>
-         </option>
-         <option>
-            <name>memberAttributeIsDN</name>
-            <value>true</value>
-         </option>
-      </option-group>
-      <option-group>
-         <group-name>userCreateAttibutes</group-name>
-         <option>
-            <name>objectClass</name>
-            <value>top</value>
-            <value>uidObject</value>
-            <value>person</value>
-         </option>
-         <!--Schema requires those to have initial value-->
-         <option>
-            <name>cn</name>
-            <value>none</value>
-         </option>
-         <option>
-            <name>sn</name>
-            <value>none</value>
-         </option>
-      </option-group>
-      <option-group>
-         <group-name>roleCreateAttibutes</group-name>
-         <option>
-            <name>objectClass</name>
-            <value>top</value>
-            <value>groupOfNames</value>
-         </option>
-         <!--Schema requires those to have initial value-->
-         <option>
-            <name>cn</name>
-            <value>none</value>
-         </option>
-         <!--Some directory servers require this attribute to be valid DN-->
-         <!--For safety reasons point to the admin user here-->
-         <option>
-            <name>member</name>
-            <value>uid=dummynonexistinguser,ou=People,dc=jboss,dc=org</value>
-         </option>
-      </option-group>
-   </options>
-</identity-configuration>
\ No newline at end of file




More information about the jboss-svn-commits mailing list