[pal-cvs 3916] [1651] changed property key, and updated eclipse config.

svnno****@sourc***** svnno****@sourc*****
2009年 1月 1日 (木) 06:26:11 JST


Revision: 1651
          http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1651
Author:   shinsuke
Date:     2009-01-01 06:26:10 +0900 (Thu, 01 Jan 2009)

Log Message:
-----------
changed property key, and updated eclipse config.

Modified Paths:
--------------
    userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath
    userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java


-------------- next part --------------
Modified: userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath
===================================================================
--- userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath	2008-12-31 12:51:23 UTC (rev 1650)
+++ userinfo/plugins/userinfo-palportal-plugin/trunk/.classpath	2008-12-31 21:26:10 UTC (rev 1651)
@@ -3,45 +3,8 @@
   <classpathentry kind="output" path="target/classes"/>
   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
   <classpathentry kind="var" path="M2_REPO/jp/sf/pal/userinfo/1.0-PR2-SNAPSHOT/userinfo-1.0-PR2-SNAPSHOT.jar" sourcepath="M2_REPO/jp/sf/pal/userinfo/1.0-PR2-SNAPSHOT/userinfo-1.0-PR2-SNAPSHOT-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/jp/sf/pal/userinfo-j2-plugin/1.0-PR2-SNAPSHOT/userinfo-j2-plugin-1.0-PR2-SNAPSHOT.jar" sourcepath="M2_REPO/jp/sf/pal/userinfo-j2-plugin/1.0-PR2-SNAPSHOT/userinfo-j2-plugin-1.0-PR2-SNAPSHOT-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar" sourcepath="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/com/h2database/h2/1.0.79/h2-1.0.79.jar"/>
-  <classpathentry kind="var" path="M2_REPO/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar" sourcepath="M2_REPO/javax/servlet/jstl/1.1.2/jstl-1.1.2-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/taglibs/standard/1.1.2/standard-1.1.2.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-el/commons-el/1.0/commons-el-1.0.jar" sourcepath="M2_REPO/commons-el/commons-el/1.0/commons-el-1.0-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.3/commons-io-1.3.jar"/>
-  <classpathentry kind="var" path="M2_REPO/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar" sourcepath="M2_REPO/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/oro/oro/2.0.8/oro-2.0.8.jar" sourcepath="M2_REPO/oro/oro/2.0.8/oro-2.0.8-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar" sourcepath="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/seasar/container/s2-extension/2.4.29/s2-extension-2.4.29.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/seasar/container/s2-framework/2.4.29/s2-framework-2.4.29.jar"/>
-  <classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/jboss/javassist/3.4.ga/javassist-3.4.ga.jar"/>
-  <classpathentry kind="var" path="M2_REPO/ognl/ognl/2.6.9-patch-20070908/ognl-2.6.9-patch-20070908.jar"/>
-  <classpathentry kind="var" path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/apache/poi/poi/3.0-FINAL/poi-3.0-FINAL.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/seasar/container/s2-tiger/2.4.29/s2-tiger-2.4.29.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/easymock/easymock/2.2/easymock-2.2.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/seasar/sastruts/sa-struts-portlet/1.0.0-rc5/sa-struts-portlet-1.0.0-rc5.jar" sourcepath="M2_REPO/org/seasar/sastruts/sa-struts-portlet/1.0.0-rc5/sa-struts-portlet-1.0.0-rc5-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/struts/struts/1.2.9/struts-1.2.9.jar"/>
-  <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.2/antlr-2.7.2.jar" sourcepath="M2_REPO/antlr/antlr/2.7.2/antlr-2.7.2-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/xalan/xalan/2.5.1/xalan-2.5.1.jar" sourcepath="M2_REPO/xalan/xalan/2.5.1/xalan-2.5.1-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/seasar/sastruts/sa-struts/1.0.4-sp3/sa-struts-1.0.4-sp3.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0/geronimo-ejb_3.0_spec-1.0.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-interceptor_3.0_spec/1.0/geronimo-interceptor_3.0_spec-1.0.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.0/geronimo-jta_1.1_spec-1.0.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/seasar/dao/s2-dao/1.0.48/s2-dao-1.0.48.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/seasar/dao/s2-dao-tiger/1.0.48/s2-dao-tiger-1.0.48.jar"/>
   <classpathentry kind="var" path="M2_REPO/portlet-api/portlet-api/1.0/portlet-api-1.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/apache/portals/jetspeed-2/jetspeed-api/2.1.3/jetspeed-api-2.1.3.jar"/>
 </classpath>
\ No newline at end of file

Modified: userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java
===================================================================
--- userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java	2008-12-31 12:51:23 UTC (rev 1650)
+++ userinfo/plugins/userinfo-palportal-plugin/trunk/src/main/java/jp/sf/pal/userinfo/plugin/impl/PortalPluginImpl.java	2008-12-31 21:26:10 UTC (rev 1651)
@@ -55,7 +55,7 @@
 
         UserManager userManager = getUserManager();
         if (userManager.userExists(userInfo.getUserId())) {
-            throw new PortalException("errors.user_already_exists", "User("
+            throw new PortalException("errors.user_already_exists_on_portal", "User("
                     + userInfo.getUserId() + ") already exists.");
         }
 
@@ -147,7 +147,7 @@
 
         UserManager userManager = getUserManager();
         if (!userManager.userExists(userInfo.getUserId())) {
-            throw new PortalException("errors.user_does_not_exist", "User("
+            throw new PortalException("errors.user_does_not_exist_on_portal", "User("
                     + userInfo.getUserId() + ") does not exist.");
         }
 
@@ -208,7 +208,7 @@
 
         UserManager userManager = getUserManager();
         if (!userManager.userExists(userInfo.getUserId())) {
-            throw new PortalException("errors.user_does_not_exist", "User("
+            throw new PortalException("errors.user_does_not_exist_on_portal", "User("
                     + userInfo.getUserId() + ") does not exist.");
         }
 
@@ -277,7 +277,7 @@
         RoleManager roleManager = getRoleManager();
         try {
             if (roleManager.roleExists(roleInfo.getRoleId())) {
-                throw new PortalException("errors.role_already_exists", "Role("
+                throw new PortalException("errors.role_already_exists_on_portal", "Role("
                         + roleInfo.getRoleId() + ") already exists.");
             }
             roleManager.addRole(roleInfo.getRoleId());
@@ -299,7 +299,7 @@
         RoleManager roleManager = getRoleManager();
         try {
             if (!roleManager.roleExists(roleInfo.getRoleId())) {
-                throw new PortalException("errors.role_does_not_exist", "Role("
+                throw new PortalException("errors.role_does_not_exist_on_portal", "Role("
                         + roleInfo.getRoleId() + ") does not exist.");
             }
             roleManager.removeRole(roleInfo.getRoleId());
@@ -337,7 +337,7 @@
         GroupManager groupManager = getGroupManager();
         try {
             if (groupManager.groupExists(groupInfo.getGroupId())) {
-                throw new PortalException("errors.group_already_exists",
+                throw new PortalException("errors.group_already_exists_on_portal",
                         "Group(" + groupInfo.getGroupId() + ") already exists.");
             }
             groupManager.addGroup(groupInfo.getGroupId());
@@ -359,7 +359,7 @@
         GroupManager groupManager = getGroupManager();
         try {
             if (!groupManager.groupExists(groupInfo.getGroupId())) {
-                throw new PortalException("errors.group_does_not_exist",
+                throw new PortalException("errors.group_does_not_exist_on_portal",
                         "Group(" + groupInfo.getGroupId() + ") does not exist.");
             }
             groupManager.removeGroup(groupInfo.getGroupId());


pal-cvs メーリングリストの案内