Revision 6777
Added by ben leinfelder over 12 years ago
MNodeService.java | ||
---|---|---|
1006 | 1006 |
|
1007 | 1007 |
// check for authorization to replicate, null session to act as this source MN |
1008 | 1008 |
try { |
1009 |
allowed = D1Client.getCN().isNodeAuthorized(null, targetNodeSubject, pid, null);
|
|
1009 |
allowed = D1Client.getCN().isNodeAuthorized(null, targetNodeSubject, pid); |
|
1010 | 1010 |
} catch (InvalidToken e1) { |
1011 | 1011 |
throw new ServiceFailure("2181", "Could not determine if node is authorized: " |
1012 | 1012 |
+ e1.getMessage()); |
Also available in: Unified diff
updated D1 API -- removed Permission.REPLICATE and associated parameters