james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r453598 - /james/server/trunk/src/java/org/apache/james/services/UsersRepository.java
Date Fri, 06 Oct 2006 13:51:49 GMT
Author: bago
Date: Fri Oct  6 06:51:49 2006
New Revision: 453598

URL: http://svn.apache.org/viewvc?view=rev&rev=453598
Log:
Added deprecations in UsersRepository (preparing JAMES-622)

Modified:
    james/server/trunk/src/java/org/apache/james/services/UsersRepository.java

Modified: james/server/trunk/src/java/org/apache/james/services/UsersRepository.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/services/UsersRepository.java?view=diff&rev=453598&r1=453597&r2=453598
==============================================================================
--- james/server/trunk/src/java/org/apache/james/services/UsersRepository.java (original)
+++ james/server/trunk/src/java/org/apache/james/services/UsersRepository.java Fri Oct  6
06:51:49 2006
@@ -47,6 +47,10 @@
      *
      * @return true if succesful, false otherwise
      * @since James 1.2.2
+     * 
+     * @deprecated James 2.4 user should be added using username/password
+     * because specific implementations of UsersRepository will support specific 
+     * implementations of users object.
      */
     boolean addUser(User user);
 
@@ -56,6 +60,9 @@
      *
      * @param name the name of the user to be added
      * @param attributes see decription
+     * 
+     * @deprecated James 2.4 user is always added using username/password and
+     * eventually modified by retrieving it later.
      */
     void addUser(String name, Object attributes);
     
@@ -89,6 +96,8 @@
      * @return the user being retrieved, null if the user doesn't exist
      *
      * @since James 1.2.2
+     * @deprecated James 2.4 now caseSensitive is a property of the repository
+     * implementations and the getUserByName will search according to this property.
      */
     User getUserByNameCaseInsensitive(String name);
 
@@ -130,6 +139,9 @@
      *
      * @param name the name to check in the repository
      * @return whether the user is in the repository
+     * 
+     * @deprecated James 2.4 now caseSensitive is a property of the repository
+     * implementations and the contains will search according to this property.
      */
     boolean containsCaseInsensitive(String name);
 



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


Mime
View raw message