Revision 7149
Added by ben leinfelder over 12 years ago
src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java | ||
---|---|---|
36 | 36 |
import java.util.Date; |
37 | 37 |
import java.util.Hashtable; |
38 | 38 |
import java.util.List; |
39 |
import java.util.Set; |
|
39 | 40 |
import java.util.Timer; |
40 | 41 |
import java.util.Vector; |
41 | 42 |
|
... | ... | |
903 | 904 |
|
904 | 905 |
// get the subject[s] from the session |
905 | 906 |
//defer to the shared util for recursively compiling the subjects |
906 |
List<Subject> subjects = Arrays.asList(AuthUtils.authorizedClientSubjects(session));
|
|
907 |
Set<Subject> subjects = AuthUtils.authorizedClientSubjects(session);
|
|
907 | 908 |
|
908 | 909 |
// get the system metadata |
909 | 910 |
String pidStr = pid.getValue(); |
Also available in: Unified diff
newer d1 jars that include shared AuthUtilsmethod for isAuthorized() consistency
https://redmine.dataone.org/issues/2661