portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r707621 - 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/impl/ jetspeed-api/src/main/java/org/ap...
Date Fri, 24 Oct 2008 12:54:24 GMT
Author: ddam
Date: Fri Oct 24 05:54:23 2008
New Revision: 707621

URL: http://svn.apache.org/viewvc?rev=707621&view=rev
Log:
use UserCredential instead of extended interface PasswordCredential

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserCredentialImpl.java
    portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/PasswordCredentialImpl.java
    portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/UserCredential.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserCredentialImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserCredentialImpl.java?rev=707621&r1=707620&r2=707621&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserCredentialImpl.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/UserCredentialImpl.java
Fri Oct 24 05:54:23 2008
@@ -47,7 +47,7 @@
         synchronize(pwc);
     }
     
-    public void synchronize(PasswordCredential pwc)
+    public void synchronize(UserCredential pwc)
     {
         this.authenticationFailures = pwc.getAuthenticationFailures();
         this.creationDate = pwc.getCreationDate();

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/PasswordCredentialImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/PasswordCredentialImpl.java?rev=707621&r1=707620&r2=707621&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/PasswordCredentialImpl.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/PasswordCredentialImpl.java
Fri Oct 24 05:54:23 2008
@@ -21,6 +21,7 @@
 
 import org.apache.jetspeed.security.PasswordCredential;
 import org.apache.jetspeed.security.User;
+import org.apache.jetspeed.security.UserCredential;
 import org.apache.ojb.broker.PersistenceBroker;
 import org.apache.ojb.broker.PersistenceBrokerAware;
 import org.apache.ojb.broker.PersistenceBrokerException;
@@ -125,7 +126,7 @@
         this.password = password;
     }
     
-    public void synchronize(PasswordCredential pwc)
+    public void synchronize(UserCredential pwc)
     {
         throw new UnsupportedOperationException();
     }

Modified: portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/UserCredential.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/UserCredential.java?rev=707621&r1=707620&r2=707621&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/UserCredential.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/security/UserCredential.java
Fri Oct 24 05:54:23 2008
@@ -42,7 +42,7 @@
      * </p>
      * @param pwc the underlying PasswordCredential for this UserCredential
      */
-    void synchronize(PasswordCredential pwc);
+    void synchronize(UserCredential pwc);
     
     boolean isUpdateAllowed();
     



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