You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2012/02/22 10:10:11 UTC

svn commit: r1292203 [13/13] - in /incubator/syncope/trunk: archetype/ archetype/src/main/resources/archetype-resources/ archetype/src/main/resources/archetype-resources/console/ archetype/src/main/resources/archetype-resources/core/ archetype/src/main...

Modified: incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserRequestTestITCase.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserRequestTestITCase.java?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserRequestTestITCase.java (original)
+++ incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserRequestTestITCase.java Wed Feb 22 09:09:31 2012
@@ -7,13 +7,14 @@
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
- *    http://www.apache.org/licenses/LICENSE-2.0
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
+ * under the License.
  */
 package org.syncope.core.rest;
 
@@ -49,12 +50,16 @@ public class UserRequestTestITCase exten
                 requestFactory.getAuthScope(),
                 new UsernamePasswordCredentials("user1", "password"));
 
+        SyncopeClientException exception = null;
         try {
             restTemplate.getForObject(
                     BASE_URL + "user/read/{userId}.json", UserTO.class, 1);
-        } catch (HttpStatusCodeException e) {
-            assertEquals(HttpStatus.UNAUTHORIZED, e.getStatusCode());
+            fail();
+        } catch (SyncopeClientCompositeErrorException e) {
+            exception = e.getException(
+                    SyncopeClientExceptionType.UnauthorizedRole);
         }
+        assertNotNull(exception);
 
         UserTO userTO = restTemplate.getForObject(
                 BASE_URL + "user/request/read/self", UserTO.class);
@@ -77,12 +82,16 @@ public class UserRequestTestITCase exten
                 "selfcreate@syncope-idm.org");
 
         // 2. get unauthorized when trying to request user create
+        SyncopeClientException exception = null;
         try {
             restTemplate.postForObject(BASE_URL + "user/request/create",
                     userTO, UserRequestTO.class);
-        } catch (HttpStatusCodeException e) {
-            assertEquals(HttpStatus.UNAUTHORIZED, e.getStatusCode());
+            fail();
+        } catch (SyncopeClientCompositeErrorException e) {
+            exception = e.getException(
+                    SyncopeClientExceptionType.UnauthorizedRole);
         }
+        assertNotNull(exception);
 
         // 3. set create request allowed
         configurationTO.setValue("true");
@@ -132,12 +141,16 @@ public class UserRequestTestITCase exten
         userMod.setPassword(initialPassword);
 
         // 2. try to request user update as admin: failure
+        SyncopeClientException exception = null;
         try {
             restTemplate.postForObject(BASE_URL + "user/request/update",
                     userMod, UserRequestTO.class);
-        } catch (HttpStatusCodeException e) {
-            assertEquals(HttpStatus.UNAUTHORIZED, e.getStatusCode());
+            fail();
+        } catch (SyncopeClientCompositeErrorException e) {
+            exception = e.getException(
+                    SyncopeClientExceptionType.UnauthorizedRole);
         }
+        assertNotNull(exception);
 
         // 3. auth as user just created
         PreemptiveAuthHttpRequestFactory requestFactory =
@@ -150,7 +163,7 @@ public class UserRequestTestITCase exten
                 initialPassword));
 
         // 4. update with same password: not matching password policy
-        SyncopeClientException exception = null;
+        exception = null;
         try {
             restTemplate.postForObject(BASE_URL + "user/request/update",
                     userMod, UserRequestTO.class);
@@ -202,12 +215,16 @@ public class UserRequestTestITCase exten
         assertNotNull(userTO);
 
         // 2. try to request user delete as admin: failure
+        SyncopeClientException exception = null;
         try {
             restTemplate.postForObject(BASE_URL + "user/request/delete/",
                     userTO.getId(), UserRequestTO.class);
-        } catch (HttpStatusCodeException e) {
-            assertEquals(HttpStatus.UNAUTHORIZED, e.getStatusCode());
+            fail();
+        } catch (SyncopeClientCompositeErrorException e) {
+            exception = e.getException(
+                    SyncopeClientExceptionType.UnauthorizedRole);
         }
+        assertNotNull(exception);
 
         // 3. auth as user just created
         PreemptiveAuthHttpRequestFactory requestFactory =

Modified: incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserTestITCase.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserTestITCase.java?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserTestITCase.java (original)
+++ incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/UserTestITCase.java Wed Feb 22 09:09:31 2012
@@ -7,13 +7,14 @@
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
- *    http://www.apache.org/licenses/LICENSE-2.0
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
+ * under the License.
  */
 package org.syncope.core.rest;
 

Modified: incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/VirtualSchemaTestITCase.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/VirtualSchemaTestITCase.java?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/VirtualSchemaTestITCase.java (original)
+++ incubator/syncope/trunk/core/src/test/java/org/syncope/core/rest/VirtualSchemaTestITCase.java Wed Feb 22 09:09:31 2012
@@ -7,13 +7,14 @@
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
- *    http://www.apache.org/licenses/LICENSE-2.0
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
+ * under the License.
  */
 package org.syncope.core.rest;
 

Modified: incubator/syncope/trunk/core/src/test/java/org/syncope/core/scheduling/TestSyncJobActions.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/java/org/syncope/core/scheduling/TestSyncJobActions.java?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/java/org/syncope/core/scheduling/TestSyncJobActions.java (original)
+++ incubator/syncope/trunk/core/src/test/java/org/syncope/core/scheduling/TestSyncJobActions.java Wed Feb 22 09:09:31 2012
@@ -7,13 +7,14 @@
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
- *    http://www.apache.org/licenses/LICENSE-2.0
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
+ * under the License.
  */
 package org.syncope.core.scheduling;
 

Modified: incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java (original)
+++ incubator/syncope/trunk/core/src/test/notifications/java/org/syncope/core/notification/NotificationTest.java Wed Feb 22 09:09:31 2012
@@ -7,13 +7,14 @@
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
- *    http://www.apache.org/licenses/LICENSE-2.0
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
+ * under the License.
  */
 package org.syncope.core.notification;
 

Modified: incubator/syncope/trunk/core/src/test/notifications/resources/test.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/notifications/resources/test.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/notifications/resources/test.properties (original)
+++ incubator/syncope/trunk/core/src/test/notifications/resources/test.properties Wed Feb 22 09:09:31 2012
@@ -6,13 +6,14 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 smtp.host=smtp.ngi.it
 pop3.host=mail.syncope-idm.org
 mail.address=test@syncope-idm.org

Modified: incubator/syncope/trunk/core/src/test/resources/bundles.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/bundles.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/bundles.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/bundles.properties Wed Feb 22 09:09:31 2012
@@ -6,13 +6,14 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 connid.soap.version=${connid.soap.version}
 connid.db.table.version=${connid.db.table.version}
 bundles.directory=${bundles.directory}

Modified: incubator/syncope/trunk/core/src/test/resources/content.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/content.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/content.xml (original)
+++ incubator/syncope/trunk/core/src/test/resources/content.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <dataset>

Modified: incubator/syncope/trunk/core/src/test/resources/context.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/context.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/context.xml (original)
+++ incubator/syncope/trunk/core/src/test/resources/context.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <Context>

Modified: incubator/syncope/trunk/core/src/test/resources/jboss/persistence.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/jboss/persistence.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/jboss/persistence.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/jboss/persistence.properties Wed Feb 22 09:09:31 2012
@@ -6,13 +6,14 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 jpa.driverClassName=org.h2.Driver
 jpa.url=jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=1000
 jpa.username=sa

Modified: incubator/syncope/trunk/core/src/test/resources/jboss/persistenceContextEMFactory.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/jboss/persistenceContextEMFactory.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/jboss/persistenceContextEMFactory.xml (original)
+++ incubator/syncope/trunk/core/src/test/resources/jboss/persistenceContextEMFactory.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <beans xmlns="http://www.springframework.org/schema/beans"

Modified: incubator/syncope/trunk/core/src/test/resources/mysql/persistence.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/mysql/persistence.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/mysql/persistence.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/mysql/persistence.properties Wed Feb 22 09:09:31 2012
@@ -6,13 +6,14 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 jpa.driverClassName=com.mysql.jdbc.Driver
 jpa.url=jdbc:mysql://localhost:3306/syncope?characterEncoding=UTF-8
 jpa.username=syncope

Modified: incubator/syncope/trunk/core/src/test/resources/oracle/persistence.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/oracle/persistence.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/oracle/persistence.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/oracle/persistence.properties Wed Feb 22 09:09:31 2012
@@ -6,13 +6,14 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 jpa.driverClassName=oracle.jdbc.driver.OracleDriver
 jpa.url=jdbc:oracle:thin:@pioppo:1521:orcl
 jpa.username=syncope

Modified: incubator/syncope/trunk/core/src/test/resources/persistence.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/persistence.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/persistence.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/persistence.properties Wed Feb 22 09:09:31 2012
@@ -6,13 +6,14 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 jpa.driverClassName=org.h2.Driver
 jpa.url=jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=1000
 jpa.username=sa

Modified: incubator/syncope/trunk/core/src/test/resources/postgres/persistence.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/postgres/persistence.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/postgres/persistence.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/postgres/persistence.properties Wed Feb 22 09:09:31 2012
@@ -6,13 +6,14 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 jpa.driverClassName=org.postgresql.Driver
 jpa.url=jdbc:postgresql://localhost:5432/syncope
 jpa.username=syncope

Modified: incubator/syncope/trunk/core/src/test/resources/restClientContext.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/restClientContext.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/restClientContext.xml (original)
+++ incubator/syncope/trunk/core/src/test/resources/restClientContext.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <beans xmlns="http://www.springframework.org/schema/beans"

Modified: incubator/syncope/trunk/core/src/test/resources/security.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/security.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/security.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/security.properties Wed Feb 22 09:09:31 2012
@@ -6,12 +6,13 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 adminUser=admin
 adminMD5Password=5f4dcc3b5aa765d61d8327deb882cf99

Modified: incubator/syncope/trunk/core/src/test/resources/testJDBCContext.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/testJDBCContext.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/testJDBCContext.xml (original)
+++ incubator/syncope/trunk/core/src/test/resources/testJDBCContext.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <beans xmlns="http://www.springframework.org/schema/beans"

Modified: incubator/syncope/trunk/core/src/test/resources/workflow.properties
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/test/resources/workflow.properties?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/test/resources/workflow.properties (original)
+++ incubator/syncope/trunk/core/src/test/resources/workflow.properties Wed Feb 22 09:09:31 2012
@@ -6,12 +6,13 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
+# under the License.
 wfAdapter=org.syncope.core.workflow.ActivitiUserWorkflowAdapter
 jobExecutorActivate=false
\ No newline at end of file

Modified: incubator/syncope/trunk/hibernate-enhancer/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/hibernate-enhancer/pom.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/hibernate-enhancer/pom.xml (original)
+++ incubator/syncope/trunk/hibernate-enhancer/pom.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

Modified: incubator/syncope/trunk/hibernate-enhancer/src/main/java/org/syncope/hibernate/HibernateEnhancer.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/hibernate-enhancer/src/main/java/org/syncope/hibernate/HibernateEnhancer.java?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/hibernate-enhancer/src/main/java/org/syncope/hibernate/HibernateEnhancer.java (original)
+++ incubator/syncope/trunk/hibernate-enhancer/src/main/java/org/syncope/hibernate/HibernateEnhancer.java Wed Feb 22 09:09:31 2012
@@ -7,13 +7,14 @@
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
- *    http://www.apache.org/licenses/LICENSE-2.0
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
+ * under the License.
  */
 package org.syncope.hibernate;
 

Modified: incubator/syncope/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/parent/pom.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/parent/pom.xml (original)
+++ incubator/syncope/trunk/parent/pom.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
@@ -479,7 +480,18 @@ under the License.
                 <artifactId>cocoon-sax</artifactId>
                 <version>${cocoon.version}</version>
             </dependency>
-
+            <dependency>
+                <groupId>org.apache.cocoon.optional</groupId>
+                <artifactId>cocoon-optional</artifactId>
+                <version>${cocoon.version}</version>
+            </dependency>
+            
+            <dependency>    
+                <groupId>org.apache.xmlgraphics</groupId>
+                <artifactId>fop</artifactId>
+                <version>1.0</version>
+            </dependency>
+        
             <!-- Wicket -->
             <dependency>
                 <groupId>org.apache.wicket</groupId>

Modified: incubator/syncope/trunk/parent/src/site/site.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/parent/src/site/site.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/parent/src/site/site.xml (original)
+++ incubator/syncope/trunk/parent/src/site/site.xml Wed Feb 22 09:09:31 2012
@@ -1,17 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+
 -->
+
 <project xmlns="http://maven.apache.org/DECORATION/1.1.0" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 

Modified: incubator/syncope/trunk/parent/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/parent/src/site/xdoc/index.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/parent/src/site/xdoc/index.xml (original)
+++ incubator/syncope/trunk/parent/src/site/xdoc/index.xml Wed Feb 22 09:09:31 2012
@@ -1,20 +1,24 @@
 <?xml version="1.0"?>
 <!--
-   Licensed to the Apache Software Foundation (ASF) under one or more
-   contributor license agreements.  See the NOTICE file distributed with
-   this work for additional information regarding copyright ownership.
-   The ASF licenses this file to You under the Apache License, Version 2.0
-   (the "License"); you may not use this file except in compliance with
-   the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+
 -->
+
 <document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
 

Modified: incubator/syncope/trunk/quality/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/quality/pom.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/quality/pom.xml (original)
+++ incubator/syncope/trunk/quality/pom.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

Modified: incubator/syncope/trunk/quality/src/main/resources/org/syncope/checkstyle.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/quality/src/main/resources/org/syncope/checkstyle.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/quality/src/main/resources/org/syncope/checkstyle.xml (original)
+++ incubator/syncope/trunk/quality/src/main/resources/org/syncope/checkstyle.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"

Modified: incubator/syncope/trunk/quality/src/main/resources/org/syncope/pmd.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/quality/src/main/resources/org/syncope/pmd.xml?rev=1292203&r1=1292202&r2=1292203&view=diff
==============================================================================
--- incubator/syncope/trunk/quality/src/main/resources/org/syncope/pmd.xml (original)
+++ incubator/syncope/trunk/quality/src/main/resources/org/syncope/pmd.xml Wed Feb 22 09:09:31 2012
@@ -8,7 +8,7 @@ to you under the Apache License, Version
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+  http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -16,6 +16,7 @@ software distributed under the License i
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
+
 -->
 
 <ruleset name="Syncope"