cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r180311 - in /cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile: PortalUser.java impl/AuthenticationProfileManager.java impl/StaticProfileManager.java impl/UserInfo.java
Date Mon, 06 Jun 2005 13:45:30 GMT
Author: cziegeler
Date: Mon Jun  6 06:45:29 2005
New Revision: 180311

URL: http://svn.apache.org/viewcvs?rev=180311&view=rev
Log:
Make user serializable

Modified:
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/PortalUser.java
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/AuthenticationProfileManager.java
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/StaticProfileManager.java
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/UserInfo.java

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/PortalUser.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/PortalUser.java?rev=180311&r1=180310&r2=180311&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/PortalUser.java (original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/PortalUser.java Mon Jun
 6 06:45:29 2005
@@ -18,12 +18,12 @@
 /**
  * Information about the current portal user.
  * This object decouples the portal from the used authentication method.
- * 
+ *
  * @author <a href="mailto:cziegeler@s-und-n.de">Carsten Ziegeler</a>
  * @version SVN $Id$
  */
 public interface PortalUser {
-    
+
     /**
      * @return Returns the group.
      */
@@ -33,6 +33,6 @@
      * @return Returns the userName.
      */
     String getUserName();
-    
+
     boolean isUserInRole(String role);
 }

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/AuthenticationProfileManager.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/AuthenticationProfileManager.java?rev=180311&r1=180310&r2=180311&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/AuthenticationProfileManager.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/AuthenticationProfileManager.java
Mon Jun  6 06:45:29 2005
@@ -15,6 +15,7 @@
  */
 package org.apache.cocoon.portal.profile.impl;
 
+import java.io.Serializable;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Iterator;
@@ -547,7 +548,7 @@
         return new User(state);
     }
     
-    protected static final class User implements PortalUser {
+    protected static final class User implements PortalUser, Serializable {
         
         protected final RequestState state;
         

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/StaticProfileManager.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/StaticProfileManager.java?rev=180311&r1=180310&r2=180311&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/StaticProfileManager.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/StaticProfileManager.java
Mon Jun  6 06:45:29 2005
@@ -15,6 +15,7 @@
  */
 package org.apache.cocoon.portal.profile.impl;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.HashMap;
@@ -383,7 +384,7 @@
         return this.portalUser;
     }
     
-    protected static final class StaticPortalUser implements PortalUser {
+    protected static final class StaticPortalUser implements PortalUser, Serializable {
         
         /* (non-Javadoc)
          * @see org.apache.cocoon.portal.profile.PortalUser#getGroup()

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/UserInfo.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/UserInfo.java?rev=180311&r1=180310&r2=180311&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/UserInfo.java (original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/profile/impl/UserInfo.java Mon
Jun  6 06:45:29 2005
@@ -15,6 +15,7 @@
  */
 package org.apache.cocoon.portal.profile.impl;
 
+import java.io.Serializable;
 import java.util.Map;
 
 import org.apache.cocoon.portal.profile.PortalUser;
@@ -27,7 +28,7 @@
  * @author <a href="mailto:cziegeler@s-und-n.de">Carsten Ziegeler</a>
  * @version CVS $Id: MapProfileLS.java 30941 2004-07-29 19:56:58Z vgritsenko $
  */
-public abstract class UserInfo implements PortalUser {
+public abstract class UserInfo implements PortalUser, Serializable {
     
     protected String userName;
     



Mime
View raw message