portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r693077 - /portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/
Date Mon, 08 Sep 2008 12:36:29 GMT
Author: vkumar
Date: Mon Sep  8 05:36:27 2008
New Revision: 693077

URL: http://svn.apache.org/viewvc?rev=693077&view=rev
Log:
Providing Entity name in Constructor

Modified:
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/GroupImpl.java
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/PersistentJetspeedPrincipal.java
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/RoleImpl.java
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientGroup.java
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientJetspeedPrincipal.java
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientRole.java
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientUser.java
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/GroupImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/GroupImpl.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/GroupImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/GroupImpl.java
Mon Sep  8 05:36:27 2008
@@ -24,5 +24,11 @@
  */
 public class GroupImpl extends PersistentJetspeedPrincipal implements Group
 {
-    private static final long serialVersionUID = 5484179899807809619L;
+	private static final long serialVersionUID = 5484179899807809619L;
+
+	public GroupImpl(String name)
+	{
+		super(name);
+	}
+
 }

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/PersistentJetspeedPrincipal.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/PersistentJetspeedPrincipal.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/PersistentJetspeedPrincipal.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/PersistentJetspeedPrincipal.java
Mon Sep  8 05:36:27 2008
@@ -46,9 +46,10 @@
 
     @SuppressWarnings("unchecked")
     protected Collection attributes;
-    
-    public PersistentJetspeedPrincipal()
+       
+    public PersistentJetspeedPrincipal(String name)
     {   
+    	super(name);
     }
     
     public Long getId()

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/RoleImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/RoleImpl.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/RoleImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/RoleImpl.java
Mon Sep  8 05:36:27 2008
@@ -24,5 +24,9 @@
  */
 public class RoleImpl extends PersistentJetspeedPrincipal implements Role
 {
-    private static final long serialVersionUID = 5484179899807809619L;
+	private static final long serialVersionUID = 5484179899807809619L;
+	public RoleImpl(String name)
+	{
+		super(name);
+	}
 }

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientGroup.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientGroup.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientGroup.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientGroup.java
Mon Sep  8 05:36:27 2008
@@ -21,9 +21,14 @@
 
 /**
  * @version $Id$
- *
+ * 
  */
 public class TransientGroup extends TransientJetspeedPrincipal implements Group
 {
-    private static final long serialVersionUID = -4347595527204071090L;
+	private static final long serialVersionUID = -4347595527204071090L;
+
+	public TransientGroup(String name)
+	{
+		super(name);
+	}
 }

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientJetspeedPrincipal.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientJetspeedPrincipal.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientJetspeedPrincipal.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientJetspeedPrincipal.java
Mon Sep  8 05:36:27 2008
@@ -45,8 +45,9 @@
         TransientJetspeedPrincipal.jpmp = jpmp;
     }
     
-    public TransientJetspeedPrincipal()
-    {   
+    public TransientJetspeedPrincipal(String name)
+    {
+    	this.name = name;
     }
     
     public Long getId()
@@ -57,12 +58,7 @@
     public String getName()
     {
         return name;
-    }
-    
-    public void setName(String name)
-    {
-        this.name = name;
-    }
+    }   
 
     public synchronized JetspeedPrincipalType getType()
     {

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientRole.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientRole.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientRole.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientRole.java
Mon Sep  8 05:36:27 2008
@@ -21,9 +21,14 @@
 
 /**
  * @version $Id$
- *
+ * 
  */
 public class TransientRole extends TransientJetspeedPrincipal implements Role
 {
-    private static final long serialVersionUID = -3622751457840996366L;
+	private static final long serialVersionUID = -3622751457840996366L;
+
+	public TransientRole(String name)
+	{
+		super(name);
+	}
 }

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientUser.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientUser.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientUser.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/TransientUser.java
Mon Sep  8 05:36:27 2008
@@ -21,9 +21,14 @@
 
 /**
  * @version $Id$
- *
+ * 
  */
 public class TransientUser extends TransientJetspeedPrincipal implements User
 {
-    private static final long serialVersionUID = 2966176187274497019L;
+	private static final long serialVersionUID = 2966176187274497019L;
+
+	public TransientUser(String name)
+	{
+		super(name);
+	}
 }

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java?rev=693077&r1=693076&r2=693077&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserImpl.java
Mon Sep  8 05:36:27 2008
@@ -24,5 +24,14 @@
  */
 public class UserImpl extends PersistentJetspeedPrincipal implements User
 {
-    private static final long serialVersionUID = 5484179899807809619L;
+    /**
+	 * @param name
+	 */
+	public UserImpl(String name)
+	{
+		super(name);
+		// TODO Auto-generated constructor stub
+	}
+
+	private static final long serialVersionUID = 5484179899807809619L;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message