This commit is contained in:
Nunzio Andrea Galante 2017-07-25 12:17:52 +00:00
parent c87b54a76a
commit 7ae4467d2d
1 changed files with 8 additions and 6 deletions

View File

@ -133,6 +133,7 @@ public class SendMail extends StandardLocalInfraAlgorithm ***REMOVED***
public String getAdmins() throws Exception ***REMOVED***
try***REMOVED***
List<String> s = new LinkedList<String>();
JSONObject obj = new JSONObject(this.getAdminRoles());
JSONArray data = obj.getJSONArray("result");
@ -145,12 +146,13 @@ public class SendMail extends StandardLocalInfraAlgorithm ***REMOVED***
s.add(this.username(SecurityTokenProvider.instance.get()));
***REMOVED***
return s.toString().replace("[", "").replace("]", "");
***REMOVED***
***REMOVED***
catch(Exception a)***REMOVED***return "ngalante, lucio.lelii, roberto.cirillo, gianpaolo.coro, giancarlo.panichi, scarponi"; ***REMOVED***
***REMOVED***
public String getRootToken() throws Exception ***REMOVED***