Roberto Sánchez
2014-08-11 7cc7ca47a685bcbd3d4b0b19eec596760153e4b0
#0 fix - Removed public key location and added server url
2 files deleted
2 files modified
changed files
config/log4j2.xml patch | view | blame | history
config/securis-client.properties patch | view | blame | history
etc/build/files/config/securis-client.properties patch | view | blame | history
src/main/java/net/curisit/securis/SeCurisException.java patch | view | blame | history
config/log4j2.xml
deleted file mode 100644
....@@ -1,16 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<Configuration>
3
- <Appenders>
4
- <Console name="STDOUT" target="SYSTEM_OUT">
5
- <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
6
- </Console>
7
- </Appenders>
8
- <Loggers>
9
-
10
- <Logger name="net.curisit" level="info"/>
11
-
12
- <Root level="debug">
13
- <AppenderRef ref="STDOUT"/>
14
- </Root>
15
- </Loggers>
16
-</Configuration>
config/securis-client.properties
deleted file mode 100644
....@@ -1,9 +0,0 @@
1
-#########################################################################
2
-# #
3
-# Modify the current file using the proper values for you environment #
4
-# #
5
-#########################################################################
6
-
7
-license.server.url = https://securis.curistec.com/securis/api
8
-app.code = AP01
9
-customer.code = XX
etc/build/files/config/securis-client.properties
....@@ -4,6 +4,6 @@
44 # #
55 #########################################################################
66
7
-public.key.file = /Path/to/public/key/file/securis.pub
7
+license.server.url = https://securis.curistec.com/securis/api
88 app.code = AP01
99 customer.code = XX
src/main/java/net/curisit/securis/SeCurisException.java
....@@ -1,5 +1,7 @@
11 package net.curisit.securis;
22
3
+import java.net.URISyntaxException;
4
+
35 public class SeCurisException extends Exception {
46
57 private static final long serialVersionUID = 5702956178417661458L;
....@@ -14,4 +16,9 @@
1416 public SeCurisException(String msg) {
1517 super(msg);
1618 }
19
+
20
+ public static void main(String[] args) throws URISyntaxException {
21
+ License.main(new String[]
22
+ { "-g" });
23
+ }
1724 }