directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1045102 - in /directory/apacheds/trunk: kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/ protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/
Date Mon, 13 Dec 2010 12:53:36 GMT
Author: elecharny
Date: Mon Dec 13 12:53:36 2010
New Revision: 1045102

URL: http://svn.apache.org/viewvc?rev=1045102&view=rev
Log:
Added some missing Javadoc

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherTextHandler.java
    directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationContext.java
    directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherTextHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherTextHandler.java?rev=1045102&r1=1045101&r2=1045102&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherTextHandler.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherTextHandler.java
Mon Dec 13 12:53:36 2010
@@ -46,6 +46,7 @@ public class CipherTextHandler
     /** a map of the default encryption types to the encryption engine class names */
     private static final Map<EncryptionType, Class<? extends EncryptionEngine>>
DEFAULT_CIPHERS;
 
+    // Initialize the list of encyption mechanisms
     static
     {
         Map<EncryptionType, Class<? extends EncryptionEngine>> map = new HashMap<EncryptionType,
Class<? extends EncryptionEngine>>();

Modified: directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationContext.java?rev=1045102&r1=1045101&r2=1045102&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationContext.java
(original)
+++ directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationContext.java
Mon Dec 13 12:53:36 2010
@@ -28,14 +28,14 @@ import org.apache.directory.shared.kerbe
 
 
 /**
+ * A context used to store and manage Authentication elements
+ * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class AuthenticationContext extends KdcContext
 {
     private static final long serialVersionUID = -2249170923251265359L;
 
-    //private Map checksumEngines = new HashMap();
-
     private Ticket ticket;
     private EncryptionKey clientKey;
     private ReplayCache replayCache;

Modified: directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java?rev=1045102&r1=1045101&r2=1045102&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java
(original)
+++ directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/authentication/AuthenticationService.java
Mon Dec 13 12:53:36 2010
@@ -75,6 +75,8 @@ import org.slf4j.LoggerFactory;
 
 
 /**
+ * Subsystem in charge of authenticating the incoming users.
+ * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class AuthenticationService
@@ -82,11 +84,19 @@ public class AuthenticationService
     /** The log for this class. */
     private static final Logger LOG = LoggerFactory.getLogger( AuthenticationService.class
);
 
+    /** The module responsible for encryption and decryption */
     private static final CipherTextHandler cipherTextHandler = new CipherTextHandler();
 
+    /** The service name */
     private static final String SERVICE_NAME = "Authentication Service (AS)";
 
 
+    /**
+     * Handle the authentication, given a specific context
+     *
+     * @param authContext The authentication context
+     * @throws Exception If the authentication failed
+     */
     public static void execute( AuthenticationContext authContext ) throws Exception
     {
         if ( LOG.isDebugEnabled() )



Mime
View raw message