directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r123295 - /incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java
Date Fri, 24 Dec 2004 17:57:19 GMT
Author: psteitz
Date: Fri Dec 24 09:57:18 2004
New Revision: 123295

URL: http://svn.apache.org/viewcvs?view=rev&rev=123295
Log:
Improved class javadoc.
Modified:
   incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java

Modified: incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java
Url: http://svn.apache.org/viewcvs/incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java?view=diff&rev=123295&p1=incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java&r1=123294&p2=incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java&r2=123295
==============================================================================
--- incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java
(original)
+++ incubator/directory/naming/trunk/core/src/java/org/apache/naming/ContextAccessController.java
Fri Dec 24 09:57:18 2004
@@ -20,8 +20,22 @@
 import java.util.Hashtable;
 
 /**
- * Handles the access control on the JNDI contexts.
- *
+ * Handles the access control on JNDI contexts.
+ * <p>
+ *  Contexts are referenced by their external names, established using
+ * {@link ContextBindings#bindContext(Object,Context)}.  Supported operations
+ * include:
+ * <dl>
+ *   <dt>Making contexts read-only / read-write</dt>
+ *     <dd>{@link #setReadOnly(Object)},  
+ *              {@link #setWritable(Object,Object)}</dd>
+ *   <dt>Associating security tokens with named contexts</dt> 
+ *     <dd>{@link #setSecurityToken(Object,Object)}, 
+ *              {@link #unsetSecurityToken(Object,Object)}</dd>
+ *   <dt>Validating security tokens</dt> 
+ *     <dd>{@link #checkSecurityToken(Object,Object)}</dd>
+ * </dl>
+ * 
  * @author Remy Maucherat
  * @version $Revision: 1.3 $ $Date: 2003/11/30 05:15:06 $
  */
@@ -33,7 +47,7 @@
 
 
     /**
-     * Catalina context names on which writing is not allowed.
+     * Context names on which writing is not allowed.
      */
     private static Hashtable readOnlyContexts = new Hashtable();
 

Mime
View raw message