Revision 4546
Added by daigle about 16 years ago
src/edu/ucsb/nceas/metacat/AuthInterface.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import java.net.ConnectException; |
31 | 31 |
import java.util.HashMap; |
32 |
import java.util.Vector; |
|
32 | 33 |
|
33 | 34 |
/** |
34 | 35 |
* An interface representing the methods that should be |
... | ... | |
85 | 86 |
* @param user the user for which the attribute list is requested |
86 | 87 |
* @returns HashMap a map of attribute name to a Vector of values |
87 | 88 |
*/ |
88 |
public HashMap getAttributes(String foruser) |
|
89 |
public HashMap<String,Vector<String>> getAttributes(String foruser)
|
|
89 | 90 |
throws ConnectException; |
90 | 91 |
|
91 | 92 |
/** |
... | ... | |
96 | 97 |
* @param password the password for authenticating against the service |
97 | 98 |
* @returns HashMap a map of attribute name to a Vector of values |
98 | 99 |
*/ |
99 |
public HashMap getAttributes(String user, String password, String foruser) |
|
100 |
public HashMap<String,Vector<String>> getAttributes(String user, String password, String foruser)
|
|
100 | 101 |
throws ConnectException; |
101 | 102 |
|
102 | 103 |
/** |
Also available in: Unified diff
Add some generic typing