Skip to content

Commit 46bf29d

Browse files
author
Vladimir Kotal
committed
comments cleanup
1 parent c55d651 commit 46bf29d

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

plugins/src/opengrok/auth/plugin/ldap/AbstractLdapProvider.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,24 @@
2929
public abstract class AbstractLdapProvider {
3030

3131
/**
32-
* Lookups user's records - mail address - ou records - uid
32+
* Lookups user's records
3333
*
3434
* @param user find LDAP information about this user
35-
* @return set of important attributes for the user
35+
* @return set of attributes for the user or null
3636
*
3737
* @see #lookupLdapContent(opengrok.auth.plugin.entity.User,
3838
* java.lang.String)
3939
*/
4040
public Map<String, Set<String>> lookupLdapContent(User user) throws LdapException {
41-
// calling the lookupLdapContent(user, filter)
4241
return lookupLdapContent(user, (String) null);
4342
}
4443

4544
/**
46-
* Lookups user's records - mail address - ou records - uid
45+
* Lookups user's records
4746
*
4847
* @param user find LDAP information about this user
4948
* @param filter the LDAP filter
50-
* @return set of important attributes for the user
49+
* @return set of attributes for the user or null
5150
*
5251
* @see #lookupLdapContent(opengrok.auth.plugin.entity.User,
5352
* java.lang.String, java.lang.String[])
@@ -57,11 +56,11 @@ public Map<String, Set<String>> lookupLdapContent(User user, String filter) thro
5756
}
5857

5958
/**
60-
* Lookups user's records - mail address - ou records - uid
59+
* Lookups user's records
6160
*
6261
* @param user find LDAP information about this user
6362
* @param values match these LDAP value
64-
* @return set of important attributes for the user
63+
* @return set of attributes for the user or null
6564
*
6665
* @see #lookupLdapContent(opengrok.auth.plugin.entity.User,
6766
* java.lang.String, java.lang.String[])
@@ -71,12 +70,12 @@ public Map<String, Set<String>> lookupLdapContent(User user, String[] values) th
7170
}
7271

7372
/**
74-
* Lookups user's records - mail address - ou records - uid
73+
* Lookups user's records
7574
*
7675
* @param user find LDAP information about this user
7776
* @param filter the LDAP filter
7877
* @param values match these LDAP value
79-
* @return set of important attributes for the user
78+
* @return set of attributes for the user or null
8079
*/
8180
public abstract Map<String, Set<String>> lookupLdapContent(User user, String filter, String[] values) throws LdapException;
8281

@@ -89,5 +88,4 @@ public Map<String, Set<String>> lookupLdapContent(User user, String[] values) th
8988
* Closes the LDAP provider.
9089
*/
9190
public abstract void close();
92-
9391
}

0 commit comments

Comments
 (0)