directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yan...@apache.org
Subject directory-kerby git commit: fix javadoc warning for ldap-backend module
Date Mon, 24 Aug 2015 05:28:13 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/master 4a60163e3 -> 1ac2d0a52


fix javadoc warning for ldap-backend 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/1ac2d0a5
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/1ac2d0a5
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/1ac2d0a5

Branch: refs/heads/master
Commit: 1ac2d0a5232537b5a7b44f53054004ec256b99e6
Parents: 4a60163
Author: yaningxu <yaning0123@gmail.com>
Authored: Mon Aug 24 13:27:48 2015 +0800
Committer: yaningxu <yaning0123@gmail.com>
Committed: Mon Aug 24 13:27:48 2015 +0800

----------------------------------------------------------------------
 .../identitybackend/LdapIdentityGetHelper.java    | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/1ac2d0a5/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityGetHelper.java
----------------------------------------------------------------------
diff --git a/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityGetHelper.java
b/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityGetHelper.java
index db0bb0d..3ea17ae 100644
--- a/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityGetHelper.java
+++ b/kerby-backend/ldap-backend/src/main/java/org/apache/kerby/kerberos/kdc/identitybackend/LdapIdentityGetHelper.java
@@ -42,6 +42,8 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get principal name.
+     * @throws LdapInvalidAttributeValueException
+     * @return principal name
      */
     public PrincipalName getPrincipalName() throws LdapInvalidAttributeValueException {
         String principalNameStr = entry.get(KerberosAttribute.KRB5_PRINCIPAL_NAME_AT).getString();
@@ -51,6 +53,8 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get key version.
+     * @throws LdapInvalidAttributeValueException
+     * @return key version
      */
     public int getKeyVersion() throws LdapInvalidAttributeValueException {
         String keyVersionStr = entry.get(KerberosAttribute.KRB5_KEY_VERSION_NUMBER_AT).getString();
@@ -60,6 +64,8 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get keys.
+     * @throws IOException
+     * @return keys
      */
     public List<EncryptionKey> getKeys() throws IOException {
         Iterator<Value<?>> iterator1 = entry.get(KerberosAttribute.KRB5_KEY_AT).iterator();
@@ -76,6 +82,9 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get created time.
+     * @throws LdapInvalidAttributeValueException
+     * @throws ParseException
+     * @return created time
      */
     public KerberosTime getCreatedTime() throws LdapInvalidAttributeValueException,
             ParseException {
@@ -85,6 +94,9 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get expire time.
+     * @throws LdapInvalidAttributeValueException
+     * @throws ParseException
+     * @return the expire time
      */
     public KerberosTime getExpireTime() throws LdapInvalidAttributeValueException,
             ParseException {
@@ -94,6 +106,8 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get whether disabled.
+     * @throws LdapInvalidAttributeValueException
+     * @return whether this krb5 account is disabled
      */
     public boolean getDisabled() throws LdapInvalidAttributeValueException {
         String disabled = entry.get(KerberosAttribute.KRB5_ACCOUNT_DISABLED_AT).getString();
@@ -102,6 +116,8 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get kdc flags.
+     * @throws LdapInvalidAttributeValueException
+     * @return kdc flags
      */
     public int getKdcFlags() throws LdapInvalidAttributeValueException {
         String krb5KDCFlags = entry.get("krb5KDCFlags").getString();
@@ -110,6 +126,8 @@ public class LdapIdentityGetHelper {
 
     /**
      * Get whether locked.
+     * @throws LdapInvalidAttributeValueException
+     * @return whether the krb5 account is locked
      */
     public boolean getLocked() throws LdapInvalidAttributeValueException {
         String lockedOut = entry.get(KerberosAttribute.KRB5_ACCOUNT_LOCKEDOUT_AT).getString();


Mime
View raw message