[exo-jcr-commits] exo-jcr SVN: r2687 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/access.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Jun 23 08:44:28 EDT 2010


Author: nzamosenchuk
Date: 2010-06-23 08:44:27 -0400 (Wed, 23 Jun 2010)
New Revision: 2687

Modified:
   jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/access/SystemIdentity.java
Log:
EXOJCR-780 : org.exoplatform.services.jcr.access.SystemIdentity class moved to org.exoplatform.services.security in core.component.security project, called IdentityConstants to avoid same-name classes. Needed for EXOJCR-779 . Class at org.exoplatform.services.jcr.access.SystemIdentity is now marked as deprecated and actually is just a wrapper over org.exoplatform.services.security.IdentityConstants from core project.

Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/access/SystemIdentity.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/access/SystemIdentity.java	2010-06-23 12:41:50 UTC (rev 2686)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/access/SystemIdentity.java	2010-06-23 12:44:27 UTC (rev 2687)
@@ -18,20 +18,18 @@
  */
 package org.exoplatform.services.jcr.access;
 
+import org.exoplatform.services.security.IdentityConstants;
+
 /**
  * Created by The eXo Platform SAS.
+ * Please use {@link IdentityConstants} instead.
  * 
  * @author <a href="mailto:gennady.azarenkov at exoplatform.com">Gennady Azarenkov</a>
  * @version $Id: SystemIdentity.java 11907 2008-03-13 15:36:21Z ksm $
  */
 
-public class SystemIdentity
+ at Deprecated
+public class SystemIdentity extends IdentityConstants
 {
 
-   public static final String ANY = "any".intern();
-
-   public static final String SYSTEM = "__system".intern();
-
-   public static final String ANONIM = "__anonim".intern();
-
 }



More information about the exo-jcr-commits mailing list