Commit 97226190 authored by acq1305's avatar acq1305
Browse files

documentacion

parent 1b5fe14c
......@@ -30,19 +30,19 @@ public class Run {
public static void main(String[] args) throws IOException, PKCS11Exception {
if (new Control().comprobar()) {
try {
GestorSlot gestorSlot;
gestorSlot = GestorSlot.getInstance();
gestorSlot.adicionarProveedor(proveedores(new File("config/token.cfg").getAbsolutePath()));
ServidorRest rest = new ServidorRest();
rest.iniciar();
} catch (Exception e) {
System.out.println(e.getMessage());
System.out.println("error al iniciar el servidor REST con el Token (Instale el driver o revise la url al driver del archivo token.cfg)");
}
} else {
GestorSlot gestorSlot;
gestorSlot = GestorSlot.getInstance();
gestorSlot.adicionarProveedor(proveedores(new File("config/token.cfg").getAbsolutePath()));
ServidorRest rest = new ServidorRest();
rest.iniciar();
} catch (Exception e) {
System.out.println(e.getMessage());
System.out.println("error al iniciar el servidor REST con el Token (Instale el driver o revise la url al driver del archivo token.cfg)");
}
}else{
System.exit(0);
}
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment