directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yan...@apache.org
Subject [1/2] directory-kerby git commit: add JavaDoc for kerb-simplekdc module
Date Mon, 24 Aug 2015 06:36:16 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/master 205295a8e -> 1de9a0783


add JavaDoc for kerb-simplekdc module


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/751475c5
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/751475c5
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/751475c5

Branch: refs/heads/master
Commit: 751475c55f0351369b6c5a8064e3d42f6385e570
Parents: 947c15c
Author: yaningxu <yaning0123@gmail.com>
Authored: Mon Aug 24 14:34:43 2015 +0800
Committer: yaningxu <yaning0123@gmail.com>
Committed: Mon Aug 24 14:34:43 2015 +0800

----------------------------------------------------------------------
 .../kerberos/kerb/server/SimpleKdcServer.java      | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/751475c5/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/server/SimpleKdcServer.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/server/SimpleKdcServer.java
b/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/server/SimpleKdcServer.java
index 9da97ea..3e000bc 100644
--- a/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/server/SimpleKdcServer.java
+++ b/kerby-kerb/kerb-simplekdc/src/main/java/org/apache/kerby/kerberos/kerb/server/SimpleKdcServer.java
@@ -41,6 +41,8 @@ public class SimpleKdcServer extends KdcServer {
 
     /**
      * Default constructor.
+     *
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      */
     public SimpleKdcServer() throws KrbException {
         super();
@@ -164,6 +166,7 @@ public class SimpleKdcServer extends KdcServer {
     /**
      * Create principal with principal name.
      *
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      * @param principal The principal name
      */
     public void createPrincipal(String principal) throws KrbException {
@@ -173,6 +176,7 @@ public class SimpleKdcServer extends KdcServer {
     /**
      * Create principal with principal name and password.
      *
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      * @param principal The principal name
      * @param password The password to create keys
      */
@@ -184,6 +188,7 @@ public class SimpleKdcServer extends KdcServer {
     /**
      * Create principals.
      *
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      * @param principals The principal list
      */
     public void createPrincipals(String ... principals) throws KrbException {
@@ -195,6 +200,7 @@ public class SimpleKdcServer extends KdcServer {
     /**
      * Creates principals and export their keys to the specified keytab file.
      *
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      * @param keytabFile The keytab file to store principal keys
      * @param principals The principals to be create
      */
@@ -207,6 +213,7 @@ public class SimpleKdcServer extends KdcServer {
     /**
      * Delete principals.
      *
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      * @param principals The principals to be delete
      */
     public void deletePrincipals(String ... principals) throws KrbException {
@@ -218,6 +225,7 @@ public class SimpleKdcServer extends KdcServer {
     /**
      * Delete principal.
      *
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      * @param principal The principal to be delete
      */
     public void deletePrincipal(String principal) throws KrbException {
@@ -235,14 +243,17 @@ public class SimpleKdcServer extends KdcServer {
 
     /**
      * Export the keys of the specified principal into keytab file.
-     * @param principal
-     * @param keytabFile
-     * @throws KrbException
+     * @param principal principal
+     * @param keytabFile keytab file
+     * @throws org.apache.kerby.kerberos.kerb.KrbException
      */
     public void exportPrincipal(String principal, File keytabFile) throws KrbException {
         kadmin.exportKeytab(keytabFile, principal);
     }
 
+    /**
+     * @throws KrbException
+     */
     @Override
     public void stop() throws KrbException {
         super.stop();


Mime
View raw message