directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r158449 - in directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor: Authorizer.java DefaultAttributeTagger.java SchemaManager.java Validator.java
Date Mon, 21 Mar 2005 11:15:27 GMT
Author: trustin
Date: Mon Mar 21 03:15:24 2005
New Revision: 158449

URL: http://svn.apache.org/viewcvs?view=rev&rev=158449
Log:
Added JavaDocs for all Interceptor implementatons.


Modified:
    directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
    directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
    directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
    directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java

Modified: directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java?view=diff&r1=158448&r2=158449
==============================================================================
--- directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
(original)
+++ directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Authorizer.java
Mon Mar 21 03:15:24 2005
@@ -50,10 +50,14 @@
 
 
 /**
- * A service used for applying access controls to backing store operations.
+ * An {@link Interceptor} that controls access to {@link BackingStore}
+ * operations.
  *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
+ * @author The Apache Directory Project (dev@directory.apache.org)
+ * @author Alex Karasulu (akarasulu@apache.org)
+ * @author Trustin Lee (trustin@apache.org)
+ *  
+ * @version $Rev$, $Date$
  */
 public class Authorizer extends BaseInterceptor
 {

Modified: directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java?view=diff&r1=158448&r2=158449
==============================================================================
--- directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
(original)
+++ directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/DefaultAttributeTagger.java
Mon Mar 21 03:15:24 2005
@@ -52,11 +52,15 @@
 
 
 /**
- * An interceptor based service which manages the creation and modification of
- * operational attributes as operations are performed.
+ * An {@link Interceptor} that adds or modifies the default attributes of entries.
+ * There are four default attributes for now;<code>'creatorsName'</code>,
+ * <code>'createTimestamp'</code>, <code>'modifiersName'</code>,
and
+ * <code>'modifyTimestamp'</code>.
  *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
+ * @author The Apache Directory Project (dev@directory.apache.org)
+ * @author Alex Karasulu (akarasulu@apache.org)
+ * @author Trustin Lee (trustin@apache.org)
+ * @version $Rev$, $Date$
  */
 public class DefaultAttributeTagger extends BaseInterceptor
 {

Modified: directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java?view=diff&r1=158448&r2=158449
==============================================================================
--- directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
(original)
+++ directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/SchemaManager.java
Mon Mar 21 03:15:24 2005
@@ -60,10 +60,13 @@
 
 
 /**
- * A schema management and enforcement interceptor service.
+ * An {@link Interceptor} that manages and enforces schemas.
+ * TODO Better interceptor description required.
  *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
+ * @author The Apache Directory Project (dev@directory.apache.org)
+ * @author Alex Karasulu (akarasulu@apache.org)
+ * @author Trustin Lee (trustin@apache.org)
+ * @version $Rev$, $Date$
  */
 public class SchemaManager extends BaseInterceptor
 {

Modified: directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java?view=diff&r1=158448&r2=158449
==============================================================================
--- directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java
(original)
+++ directory/apacheds/branches/interceptor_revamp/core/src/main/java/org/apache/ldap/server/jndi/invocation/interceptor/Validator.java
Mon Mar 21 03:15:24 2005
@@ -46,14 +46,11 @@
 
 
 /**
- * An interceptor based service used to detect, raise and handle eve exceptions
- * in one place.  This interceptor has two modes of operation.  The first mode
- * is as a before chain interceptor where it raises exceptions.  An example
- * where this interceptor raises an exception is when an entry already exists
- * at a DN and is added once again to the same DN.  The other mode is as an on
- * error chain interceptor.  In this mode the service may wrap exceptions and
- * add extra information to an exception which is to be thrown back at the
- * caller.
+ * An {@link Interceptor} that detects any operations that breaks
+ * integrity of {@link BackingStore} and terminates the current
+ * invocation chain by throwing a {@link NamingException}.
+ * Those operations include when an entry already exists at a DN and is
+ * added once again to the same DN.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$



Mime
View raw message