directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 10028 - in incubator/directory: ldap/trunk/sandbox0 ldap/trunk/sitedocs rms/trunk/api/src/java/org/apache/rms rms/trunk/jdbc/src/java/org/apache/rms/jdbc rms/trunk/je/src/java/org/apache/rms/je sandbox/trunk/sandbox0
Date Thu, 15 Apr 2004 03:59:16 GMT
Author: akarasulu
Date: Wed Apr 14 20:59:14 2004
New Revision: 10028

Added:
   incubator/directory/sandbox/trunk/sandbox0/
      - copied from rev 10025, incubator/directory/ldap/trunk/sandbox0/
Removed:
   incubator/directory/ldap/trunk/sandbox0/
   incubator/directory/ldap/trunk/sitedocs/
Modified:
   incubator/directory/rms/trunk/api/src/java/org/apache/rms/Rms.java
   incubator/directory/rms/trunk/jdbc/src/java/org/apache/rms/jdbc/JdbcRms.java
   incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/PermMapTupleBinding.java
Log:
shuffling stuff around - cleanup

Modified: incubator/directory/rms/trunk/api/src/java/org/apache/rms/Rms.java
==============================================================================
--- incubator/directory/rms/trunk/api/src/java/org/apache/rms/Rms.java	(original)
+++ incubator/directory/rms/trunk/api/src/java/org/apache/rms/Rms.java	Wed Apr 14 20:59:14
2004
@@ -113,8 +113,20 @@
         s_singleton = l_factory.newInstance( props ) ;
         return s_singleton ;
     }
-    
-    
+
+
+    /**
+     * Simply tests to see if a user's credentials are valid against a common
+     * profile.
+     *
+     * @param user the User who's credentials are verified
+     * @param credentials the credentials to verify
+     * @return true if the credentials are valid false otherwise
+     * @throws RmsException if there are failures accessing the credential store
+     */
+    public abstract boolean verifyCredentials( User user, byte[] credentials )
+            throws RmsException ;
+
     /**
      * Gets an Application by name.
      * 

Modified: incubator/directory/rms/trunk/jdbc/src/java/org/apache/rms/jdbc/JdbcRms.java
==============================================================================
--- incubator/directory/rms/trunk/jdbc/src/java/org/apache/rms/jdbc/JdbcRms.java	(original)
+++ incubator/directory/rms/trunk/jdbc/src/java/org/apache/rms/jdbc/JdbcRms.java	Wed Apr 14
20:59:14 2004
@@ -23,6 +23,7 @@
 import javax.sql.DataSource ;
 
 import org.apache.commons.lang.exception.ExceptionUtils ;
+import org.apache.commons.lang.NotImplementedException;
 
 import org.apache.rms.* ;
 import org.apache.rms.spi.* ;
@@ -272,7 +273,13 @@
         m_userFactory.deleteUser( userName ) ;
     }
 
-    
+
+    public boolean verifyCredentials( User user, byte[] credentials )
+    {
+        throw new NotImplementedException( "STUB" ) ;
+    }
+
+
     // ------------------------------------------------------------------------
     // Custom Iterators for Users and Applications
     // ------------------------------------------------------------------------

Modified: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/PermMapTupleBinding.java
==============================================================================
--- incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/PermMapTupleBinding.java	(original)
+++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/PermMapTupleBinding.java	Wed
Apr 14 20:59:14 2004
@@ -35,7 +35,7 @@
 
 
 /**
- * A JE Tuple binding for bit an array of mapped permissions.
+ * A JE Tuple binding for bit array of mapped permissions.
  *
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$

Mime
View raw message