Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
firmador_estatal
firmador-servidor
Commits
97226190
Commit
97226190
authored
Mar 27, 2017
by
acq1305
Browse files
documentacion
parent
1b5fe14c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/bo/gob/softwarelibre/firmadorestatal/vista/Run.java
View file @
97226190
...
...
@@ -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
);
}
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment