Ejemplo n.º 1
0
 /** The ip white list is a document that is stored in the settings repo */
 @Override
 public void addIPToWhiteList(CallingContext context, String ipAddress) {
   RaptureIPWhiteList wlist = RaptureIPWhiteListStorage.readByFields();
   wlist.getIpWhiteList().add(ipAddress);
   RaptureIPWhiteListStorage.add(
       wlist, context.getUser(), Messages.getString("Admin.AddedToWhiteList")); // $NON-NLS-1$
 }