You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/01/10 03:24:25 UTC

svn commit: r124750 - /lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java /lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java

Author: gregor
Date: Sun Jan  9 18:24:24 2005
New Revision: 124750

URL: http://svn.apache.org/viewcvs?view=rev&rev=124750
Log:
Removed deprecated methods from AbstractUser
Modified:
   lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java
   lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java

Modified: lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java?view=diff&rev=124750&p1=lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java&r1=124749&p2=lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java&r2=124750
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java	(original)
+++ lenya/trunk/src/java/org/apache/lenya/ac/impl/AbstractUser.java	Sun Jan  9 18:24:24 2005
@@ -60,15 +60,6 @@
         return email;
     }
 
-    /**
-     * Get the full name
-     * 
-     * @return a <code>String</code>
-     * @deprecated has been superceded by getName()
-     */
-    public String getFullName() {
-        return getName();
-    }
 
     /**
      * Set the email address
@@ -77,16 +68,6 @@
      */
     public void setEmail(String email) {
         this.email = email;
-    }
-
-    /**
-     * Set the full name
-     * 
-     * @param name the new full name
-     * @deprecated has been superceded by setName(String)
-     */
-    public void setFullName(String name) {
-        setName(name);
     }
 
     /**

Modified: lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java?view=diff&rev=124750&p1=lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java&r1=124749&p2=lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java&r2=124750
==============================================================================
--- lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java	(original)
+++ lenya/trunk/src/test/org/apache/lenya/ac/impl/LDAPUserTest.java	Sun Jan  9 18:24:24 2005
@@ -143,31 +143,6 @@
         return (LDAPUser) manager.getUser(userName);
     }
 
-    //    final public void testGetFullName() throws AccessControlException {
-    //		String userName = "felix";
-    //		createAndSaveUser(userName, "felix@wyona.com", "m400032");
-    //		LDAPUser user = null;
-    //		user = loadUser(userName);
-    //		assertNotNull(user);
-    //		String fullName = user.getFullName();
-    //		assertTrue(fullName.equals(" Felix Maeder - Wayona"));
-    //    }
-
-    /**
-     * Test the setter of the full name
-     */
-    final public void testSetFullName() {
-        // the setFullName method is supposed to do nothing
-    }
-
-    //    final public void testAuthenticate() throws AccessControlException {
-    //        String userName = "felix";
-    //        createAndSaveUser(userName, "felix@wyona.com", "m400032");
-    //        User user = null;
-    //        user = loadUser(userName);
-    //        assertNotNull(user);
-    //        assertTrue(user.authenticate("sekret"));
-    //    }
 
     /**
      * Test the ldap id getter

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org