29
29
public abstract class AbstractLdapProvider {
30
30
31
31
/**
32
- * Lookups user's records - mail address - ou records - uid
32
+ * Lookups user's records
33
33
*
34
34
* @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
36
36
*
37
37
* @see #lookupLdapContent(opengrok.auth.plugin.entity.User,
38
38
* java.lang.String)
39
39
*/
40
40
public Map <String , Set <String >> lookupLdapContent (User user ) throws LdapException {
41
- // calling the lookupLdapContent(user, filter)
42
41
return lookupLdapContent (user , (String ) null );
43
42
}
44
43
45
44
/**
46
- * Lookups user's records - mail address - ou records - uid
45
+ * Lookups user's records
47
46
*
48
47
* @param user find LDAP information about this user
49
48
* @param filter the LDAP filter
50
- * @return set of important attributes for the user
49
+ * @return set of attributes for the user or null
51
50
*
52
51
* @see #lookupLdapContent(opengrok.auth.plugin.entity.User,
53
52
* java.lang.String, java.lang.String[])
@@ -57,11 +56,11 @@ public Map<String, Set<String>> lookupLdapContent(User user, String filter) thro
57
56
}
58
57
59
58
/**
60
- * Lookups user's records - mail address - ou records - uid
59
+ * Lookups user's records
61
60
*
62
61
* @param user find LDAP information about this user
63
62
* @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
65
64
*
66
65
* @see #lookupLdapContent(opengrok.auth.plugin.entity.User,
67
66
* java.lang.String, java.lang.String[])
@@ -71,12 +70,12 @@ public Map<String, Set<String>> lookupLdapContent(User user, String[] values) th
71
70
}
72
71
73
72
/**
74
- * Lookups user's records - mail address - ou records - uid
73
+ * Lookups user's records
75
74
*
76
75
* @param user find LDAP information about this user
77
76
* @param filter the LDAP filter
78
77
* @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
80
79
*/
81
80
public abstract Map <String , Set <String >> lookupLdapContent (User user , String filter , String [] values ) throws LdapException ;
82
81
@@ -89,5 +88,4 @@ public Map<String, Set<String>> lookupLdapContent(User user, String[] values) th
89
88
* Closes the LDAP provider.
90
89
*/
91
90
public abstract void close ();
92
-
93
91
}
0 commit comments