portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r728007 - in /portals/jetspeed-2/portal/trunk: components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/ components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/ components/jetspeed-security/src/main/...
Date Fri, 19 Dec 2008 12:13:44 GMT
Author: vkumar
Date: Fri Dec 19 04:13:43 2008
New Revision: 728007

URL: http://svn.apache.org/viewvc?rev=728007&view=rev
Log:
Adding Serializable to Security API's

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipalManager.java
    portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalAssociationHandler.java
    portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialPolicyManager.java
    portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialStorageManager.java
    portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/JetspeedSecurityPersistenceManager.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/CredentialPasswordEncoder.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalAssociationType.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalType.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/PrincipalTypeManager.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeType.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeTypes.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipalManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipalManager.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipalManager.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/BaseJetspeedPrincipalManager.java
Fri Dec 19 04:13:43 2008
@@ -16,6 +16,7 @@
  */
 package org.apache.jetspeed.security.impl;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.HashMap;
@@ -42,7 +43,7 @@
  */
 public abstract class BaseJetspeedPrincipalManager implements JetspeedPrincipalManagerSPI
 {
-    private static class AssociationHandlerKey
+    private static class AssociationHandlerKey implements Serializable
     {
         String name;
         String fromPrincipalType;

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalAssociationHandler.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalAssociationHandler.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalAssociationHandler.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalAssociationHandler.java
Fri Dec 19 04:13:43 2008
@@ -16,6 +16,8 @@
  */
 package org.apache.jetspeed.security.spi;
 
+import java.io.Serializable;
+
 import org.apache.jetspeed.security.JetspeedPrincipal;
 import org.apache.jetspeed.security.JetspeedPrincipalAssociationType;
 import org.apache.jetspeed.security.JetspeedPrincipalManager;
@@ -24,7 +26,7 @@
 /**
  * @version $Id$
  */
-public interface JetspeedPrincipalAssociationHandler
+public interface JetspeedPrincipalAssociationHandler extends Serializable
 {
     JetspeedPrincipalAssociationType getAssociationType();
     

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialPolicyManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialPolicyManager.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialPolicyManager.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialPolicyManager.java
Fri Dec 19 04:13:43 2008
@@ -17,6 +17,8 @@
 
 package org.apache.jetspeed.security.spi;
 
+import java.io.Serializable;
+
 import org.apache.jetspeed.security.CredentialPasswordEncoder;
 import org.apache.jetspeed.security.CredentialPasswordValidator;
 import org.apache.jetspeed.security.PasswordCredential;
@@ -26,7 +28,7 @@
  * @version $Id$
  *
  */
-public interface UserPasswordCredentialPolicyManager
+public interface UserPasswordCredentialPolicyManager extends Serializable
 {    
     CredentialPasswordEncoder getCredentialPasswordEncoder();
     CredentialPasswordValidator getCredentialPasswordValidator();

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialStorageManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialStorageManager.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialStorageManager.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/UserPasswordCredentialStorageManager.java
Fri Dec 19 04:13:43 2008
@@ -16,6 +16,8 @@
  */
 package org.apache.jetspeed.security.spi;
 
+import java.io.Serializable;
+
 import org.apache.jetspeed.security.PasswordCredential;
 import org.apache.jetspeed.security.SecurityException;
 import org.apache.jetspeed.security.User;
@@ -23,7 +25,7 @@
 /**
  * @version $Id$
  */
-public interface UserPasswordCredentialStorageManager
+public interface UserPasswordCredentialStorageManager extends Serializable
 {
     PasswordCredential getPasswordCredential(User user) throws SecurityException;
     void storePasswordCredential(PasswordCredential credential) throws SecurityException;

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/JetspeedSecurityPersistenceManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/JetspeedSecurityPersistenceManager.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/JetspeedSecurityPersistenceManager.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/JetspeedSecurityPersistenceManager.java
Fri Dec 19 04:13:43 2008
@@ -16,6 +16,7 @@
  */
 package org.apache.jetspeed.security.spi.impl;
 
+import java.io.Serializable;
 import java.sql.SQLException;
 import java.util.ArrayList;
 import java.util.Iterator;
@@ -57,7 +58,7 @@
  */
 public class JetspeedSecurityPersistenceManager
     extends InitablePersistenceBrokerDaoSupport
-    implements JetspeedPrincipalAccessManager,
+    implements Serializable,JetspeedPrincipalAccessManager,
                 JetspeedPrincipalStorageManager, UserPasswordCredentialStorageManager, UserPasswordCredentialAccessManager,
                 JetspeedPrincipalAssociationStorageManager, JetspeedPermissionAccessManager,
JetspeedPermissionStorageManager
 {

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/CredentialPasswordEncoder.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/CredentialPasswordEncoder.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/CredentialPasswordEncoder.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/CredentialPasswordEncoder.java
Fri Dec 19 04:13:43 2008
@@ -16,6 +16,8 @@
 */
 package org.apache.jetspeed.security;
 
+import java.io.Serializable;
+
 
 /**
  * <p>
@@ -25,7 +27,7 @@
  * @author <a href="mailto:ate@apache.org">Ate Douma</a>
  * @version $Id: CredentialPasswordEncoder.java 187914 2004-11-08 22:36:04Z ate $
  */
-public interface CredentialPasswordEncoder
+public interface CredentialPasswordEncoder extends Serializable
 {
     String encode(String userName, String clearTextPassword) throws SecurityException;
 }

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalAssociationType.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalAssociationType.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalAssociationType.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalAssociationType.java
Fri Dec 19 04:13:43 2008
@@ -16,10 +16,12 @@
  */
 package org.apache.jetspeed.security;
 
+import java.io.Serializable;
+
 /**
  * @version $Id$
  */
-public interface JetspeedPrincipalAssociationType
+public interface JetspeedPrincipalAssociationType extends Serializable
 {
     /**
      * build-in supported @{link {@link #getAssociationName() associationName} "isMemberOf"

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
Fri Dec 19 04:13:43 2008
@@ -16,13 +16,14 @@
  */
 package org.apache.jetspeed.security;
 
+import java.io.Serializable;
 import java.util.List;
 import java.util.Set;
 
 /**
  * @version $Id$
  */
-public interface JetspeedPrincipalManager
+public interface JetspeedPrincipalManager extends Serializable
 {
     JetspeedPrincipalType getPrincipalType();
     

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalType.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalType.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalType.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalType.java
Fri Dec 19 04:13:43 2008
@@ -16,13 +16,15 @@
  */
 package org.apache.jetspeed.security;
 
+import java.io.Serializable;
+
 /**
  * <p>The base JetspeedPrincipal type.</p>
  * 
  * @author <a href="mailto:vkumar@apache.org">Vivek Kumar</a>
  * @version $Id$
  */
-public interface JetspeedPrincipalType
+public interface JetspeedPrincipalType extends Serializable
 {
     /** build-in supported JetspeedPrincipalType "group" */
     String GROUP = "group";

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/PrincipalTypeManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/PrincipalTypeManager.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/PrincipalTypeManager.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/PrincipalTypeManager.java
Fri Dec 19 04:13:43 2008
@@ -17,11 +17,13 @@
 
 package org.apache.jetspeed.security;
 
+import java.io.Serializable;
+
 /**
  * @version $Id$
  *
  */
-public interface PrincipalTypeManager
+public interface PrincipalTypeManager extends Serializable
 {
     JetspeedPrincipalType getPrincipalType();
     JetspeedPrincipalManager getPrincipalManager();

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeType.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeType.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeType.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeType.java
Fri Dec 19 04:13:43 2008
@@ -16,10 +16,12 @@
  */
 package org.apache.jetspeed.security;
 
+import java.io.Serializable;
+
 /**
  * @version $Id$
  */
-public interface SecurityAttributeType
+public interface SecurityAttributeType extends Serializable
 {
     /** 
      * build-in supported SecurityAttributeType category "info"

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeTypes.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeTypes.java?rev=728007&r1=728006&r2=728007&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeTypes.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributeTypes.java
Fri Dec 19 04:13:43 2008
@@ -16,12 +16,13 @@
  */
 package org.apache.jetspeed.security;
 
+import java.io.Serializable;
 import java.util.Map;
 
 /**
  * @version $Id$
  */
-public interface SecurityAttributeTypes
+public interface SecurityAttributeTypes extends Serializable
 {
     Map<String, SecurityAttributeType> getAttributeTypeMap();
 



---------------------------------------------------------------------
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