directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [24/46] directory-kerby git commit: add JavaDoc for kdc-tool and client-tool and TokenJaasKrbUtil.java
Date Wed, 09 Sep 2015 01:36:45 GMT
add JavaDoc for kdc-tool and client-tool and TokenJaasKrbUtil.java


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

Branch: refs/heads/pkinit-support
Commit: 19676d9c4314f1c88dd996fe790450d90c00fa85
Parents: bbc8ecf
Author: yaningxu <yaning0123@gmail.com>
Authored: Mon Aug 24 14:14:30 2015 +0800
Committer: yaningxu <yaning0123@gmail.com>
Committed: Mon Aug 24 14:14:30 2015 +0800

----------------------------------------------------------------------
 .../kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java      | 2 ++
 .../src/main/java/org/apache/kerby/kerberos/tool/ToolUtil.java     | 2 +-
 .../apache/kerby/kerberos/tool/kadmin/command/KadminCommand.java   | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/19676d9c/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
b/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
index b79fef0..42a203d 100644
--- a/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
+++ b/kerby-kerb/integration-test/src/main/java/org/apache/kerby/kerberos/kerb/integration/test/jaas/TokenJaasKrbUtil.java
@@ -40,6 +40,7 @@ public class TokenJaasKrbUtil {
     /**
      * Login using token cache.
      *
+     * @throws javax.security.auth.login.LoginException
      * @param principal The client principal name
      * @param tokenCache the token cache for login
      * @param armorCache the armor cache for fast preauth
@@ -64,6 +65,7 @@ public class TokenJaasKrbUtil {
     /**
      * Login using token string.
      *
+     * @throws javax.security.auth.login.LoginException
      * @param principal The client principal name
      * @param tokenStr the token string for login
      * @param armorCache the armor cache for fast preauth

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/19676d9c/kerby-tool/client-tool/src/main/java/org/apache/kerby/kerberos/tool/ToolUtil.java
----------------------------------------------------------------------
diff --git a/kerby-tool/client-tool/src/main/java/org/apache/kerby/kerberos/tool/ToolUtil.java
b/kerby-tool/client-tool/src/main/java/org/apache/kerby/kerberos/tool/ToolUtil.java
index c9b5c6e..567662a 100644
--- a/kerby-tool/client-tool/src/main/java/org/apache/kerby/kerberos/tool/ToolUtil.java
+++ b/kerby-tool/client-tool/src/main/java/org/apache/kerby/kerberos/tool/ToolUtil.java
@@ -30,7 +30,7 @@ public class ToolUtil {
 
     /**
      * Convert tool (like kinit) options to KrbOptions.
-     * @param krbOptions
+     * @param krbOptions krb options
      * @return krb options
      */
     public static KOptions convertOptions(KOptions krbOptions) {

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/19676d9c/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/command/KadminCommand.java
----------------------------------------------------------------------
diff --git a/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/command/KadminCommand.java
b/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/command/KadminCommand.java
index bcafd79..b93537c 100644
--- a/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/command/KadminCommand.java
+++ b/kerby-tool/kdc-tool/src/main/java/org/apache/kerby/kerberos/tool/kadmin/command/KadminCommand.java
@@ -35,6 +35,7 @@ public abstract class KadminCommand {
 
     /**
      * Execute the kadmin command.
+     * @param input Input command to excute
      */
     public abstract void execute(String input);
 }


Mime
View raw message