svn commit: r1420152 - in /syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core: propagation/PropagationManager.java util/MappingUtil.java

2012-12-11 Thread ilgrosso
Author: ilgrosso
Date: Tue Dec 11 13:41:10 2012
New Revision: 1420152

URL: http://svn.apache.org/viewvc?rev=1420152view=rev
Log:
Small refinements

Modified:

syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java

syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java

Modified: 
syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
URL: 
http://svn.apache.org/viewvc/syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java?rev=1420152r1=1420151r2=1420152view=diff
==
--- 
syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
 (original)
+++ 
syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
 Tue Dec 11 13:41:10 2012
@@ -450,7 +450,7 @@ public class PropagationManager {
 switch (mapItem.getIntMappingType().getAttributableType()) {
 case USER:
 if (subject instanceof SyncopeUser) {
-attributables.addAll(Collections.singleton(subject));
+attributables.add(subject);
 }
 break;
 
@@ -459,7 +459,7 @@ public class PropagationManager {
 attributables.addAll(((SyncopeUser) subject).getRoles());
 }
 if (subject instanceof SyncopeRole) {
-attributables.addAll(Collections.singleton(subject));
+attributables.add(subject);
 }
 break;
 

Modified: 
syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java
URL: 
http://svn.apache.org/viewvc/syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java?rev=1420152r1=1420151r2=1420152view=diff
==
--- 
syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java
 (original)
+++ 
syncope/branches/DEV_ROLE_PROVISIONING/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java
 Tue Dec 11 13:41:10 2012
@@ -185,9 +185,11 @@ public final class MappingUtil {
 
 case Username:
 for (AbstractAttributable attributable : attributables) {
-AbstractAttrValue attrValue = new UAttrValue();
-attrValue.setStringValue(((SyncopeUser) 
attributable).getUsername());
-values.add(attrValue);
+if (attributable instanceof SyncopeUser) {
+AbstractAttrValue attrValue = new UAttrValue();
+attrValue.setStringValue(((SyncopeUser) 
attributable).getUsername());
+values.add(attrValue);
+}
 }
 break;
 
@@ -201,16 +203,18 @@ public final class MappingUtil {
 
 case RoleName:
 for (AbstractAttributable attributable : attributables) {
-attrValue = new UAttrValue();
-attrValue.setStringValue(((SyncopeRole) 
attributable).getName());
-values.add(attrValue);
+if (attributable instanceof SyncopeRole) {
+attrValue = new RAttrValue();
+attrValue.setStringValue(((SyncopeRole) 
attributable).getName());
+values.add(attrValue);
+}
 }
 break;
 
 default:
 }
 
-LOG.debug(Retrived values '{}', values);
+LOG.debug(Retrieved values '{}', values);
 
 return new DefaultMapEntry(schema, values);
 }




svn commit: r1420168 - in /syncope/branches/DEV_ROLE_PROVISIONING: ./ CHANGES pom.xml

2012-12-11 Thread ilgrosso
Author: ilgrosso
Date: Tue Dec 11 14:02:12 2012
New Revision: 1420168

URL: http://svn.apache.org/viewvc?rev=1420168view=rev
Log:
Merge from trunk

Modified:
syncope/branches/DEV_ROLE_PROVISIONING/   (props changed)
syncope/branches/DEV_ROLE_PROVISIONING/CHANGES
syncope/branches/DEV_ROLE_PROVISIONING/pom.xml

Propchange: syncope/branches/DEV_ROLE_PROVISIONING/
--
  Merged /syncope/trunk:r1420124-1420167
  Merged /syncope/branches/1_0_X:r1419298-1420166

Modified: syncope/branches/DEV_ROLE_PROVISIONING/CHANGES
URL: 
http://svn.apache.org/viewvc/syncope/branches/DEV_ROLE_PROVISIONING/CHANGES?rev=1420168r1=1420167r2=1420168view=diff
==
--- syncope/branches/DEV_ROLE_PROVISIONING/CHANGES (original)
+++ syncope/branches/DEV_ROLE_PROVISIONING/CHANGES Tue Dec 11 14:02:12 2012
@@ -2,6 +2,22 @@ Apache Syncope - CHANGES
 Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
 

 
+Release Notes - Syncope - Version 1.0.4
+
+** Bug
+* [SYNCOPE-232] - Connection is read-only during initialization
+* [SYNCOPE-233] - Authentication failure using password with special 
characters
+* [SYNCOPE-234] - Failures upgrading OpenJPA
+* [SYNCOPE-235] - CSVDir connector fails during check connection
+* [SYNCOPE-236] - Username and password not evaluated from user template 
during synchronization
+* [SYNCOPE-237] - Users with no entitlements cannot edit their own profile 
via console
+* [SYNCOPE-238] - With an high number of users, the admin console's 'TODO' 
tab is extremely slow
+* [SYNCOPE-240] - Missed CREATE status into 
org.apache.syncope.console.commons.StatusUtils.Status
+
+** Improvement
+* [SYNCOPE-239] - Add OSGi support for the client
+* [SYNCOPE-243] - Extended org.apache.rat exclude list for eclipse IDE
+
 Release Notes - Syncope - Version 1.0.3-incubating
 

 ** Bug

Modified: syncope/branches/DEV_ROLE_PROVISIONING/pom.xml
URL: 
http://svn.apache.org/viewvc/syncope/branches/DEV_ROLE_PROVISIONING/pom.xml?rev=1420168r1=1420167r2=1420168view=diff
==
--- syncope/branches/DEV_ROLE_PROVISIONING/pom.xml (original)
+++ syncope/branches/DEV_ROLE_PROVISIONING/pom.xml Tue Dec 11 14:02:12 2012
@@ -83,6 +83,7 @@ under the License.
   otherArchives
 otherArchivehttp://syncope.markmail.org//otherArchive
 otherArchivehttp://syncope-user.1051894.n5.nabble.com//otherArchive
+
otherArchivehttp://www.mail-archive.com/user@syncope.apache.org//otherArchive
   /otherArchives
 /mailingList
 mailingList
@@ -94,6 +95,7 @@ under the License.
   otherArchives
 otherArchivehttp://syncope.markmail.org//otherArchive
 otherArchivehttp://syncope-dev.1063484.n5.nabble.com//otherArchive
+
otherArchivehttp://www.mail-archive.com/dev@syncope.apache.org//otherArchive
   /otherArchives
 /mailingList
 mailingList
@@ -104,6 +106,7 @@ under the License.
   
archivehttp://mail-archives.apache.org/mod_mbox/syncope-commits//archive
   otherArchives
 otherArchivehttp://syncope.markmail.org//otherArchive
+
otherArchivehttp://www.mail-archive.com/commits@syncope.apache.org//otherArchive
   /otherArchives
 /mailingList
   /mailingLists




svn commit: r1420171 - in /syncope: tags/syncope-1.1.0-SNAPSHOT-before-role-provisioning/ trunk/

2012-12-11 Thread ilgrosso
Author: ilgrosso
Date: Tue Dec 11 14:04:23 2012
New Revision: 1420171

URL: http://svn.apache.org/viewvc?rev=1420171view=rev
Log:
Saving the current trunk before moving the DEV_ROLE_PROVISIONING to trunk

Added:
syncope/tags/syncope-1.1.0-SNAPSHOT-before-role-provisioning/   (props 
changed)
  - copied from r1420169, syncope/trunk/
Removed:
syncope/trunk/

Propchange: syncope/tags/syncope-1.1.0-SNAPSHOT-before-role-provisioning/
--
--- svn:ignore (added)
+++ svn:ignore Tue Dec 11 14:04:23 2012
@@ -0,0 +1,4 @@
+target
+.subversion
+.pom.xml.swp
+.CHANGES.swp

Propchange: syncope/tags/syncope-1.1.0-SNAPSHOT-before-role-provisioning/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Tue Dec 11 14:04:23 2012
@@ -0,0 +1,10 @@
+/incubator/syncope/branches/0_1_X:1246484-1246581
+/incubator/syncope/branches/0_2_X:1246657-1246688
+/incubator/syncope/branches/0_5_X:1246875-1246986
+/incubator/syncope/branches/0_6_X:1247008-1247042
+/incubator/syncope/branches/0_7_EA:1247056-1247077
+/incubator/syncope/branches/0_7_X:1247257-1247396
+/incubator/syncope/branches/1_0_X:1367153-1412627
+/incubator/syncope/tags/syncope-0.1:1246486-1246488
+/incubator/syncope/trunk:1247317-1247363
+/syncope/branches/1_0_X:1412628-1420166




svn commit: r1420273 - /syncope/trunk/pom.xml

2012-12-11 Thread ilgrosso
Author: ilgrosso
Date: Tue Dec 11 16:46:26 2012
New Revision: 1420273

URL: http://svn.apache.org/viewvc?rev=1420273view=rev
Log:
Updating some dependencies

Modified:
syncope/trunk/pom.xml

Modified: syncope/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/syncope/trunk/pom.xml?rev=1420273r1=1420272r2=1420273view=diff
==
--- syncope/trunk/pom.xml (original)
+++ syncope/trunk/pom.xml Tue Dec 11 16:46:26 2012
@@ -287,9 +287,9 @@ under the License.
 
 groovy.version1.6.9/groovy.version
 
-h2.version1.3.168/h2.version
+h2.version1.3.170/h2.version
 
-logback.version1.0.7/logback.version
+logback.version1.0.9/logback.version
 slf4j.version1.7.2/slf4j.version
 
 junit.version4.11/junit.version
@@ -858,7 +858,7 @@ under the License.
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-dependency-plugin/artifactId
-  version2.5.1/version
+  version2.6/version
   configuration
 artifactItems
   artifactItem