#0 fix - Removed public key location and added server url
2 files deleted
2 files modified
deleted file mode 100644| .. | .. |
|---|
| 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>
|
|---|
deleted file mode 100644| .. | .. |
|---|
| 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 |
|---|
| .. | .. |
|---|
| 4 | 4 | # # |
|---|
| 5 | 5 | ######################################################################### |
|---|
| 6 | 6 | |
|---|
| 7 | | -public.key.file = /Path/to/public/key/file/securis.pub |
|---|
| 7 | +license.server.url = https://securis.curistec.com/securis/api |
|---|
| 8 | 8 | app.code = AP01 |
|---|
| 9 | 9 | customer.code = XX |
|---|
| .. | .. |
|---|
| 1 | 1 | package net.curisit.securis; |
|---|
| 2 | 2 | |
|---|
| 3 | +import java.net.URISyntaxException; |
|---|
| 4 | + |
|---|
| 3 | 5 | public class SeCurisException extends Exception { |
|---|
| 4 | 6 | |
|---|
| 5 | 7 | private static final long serialVersionUID = 5702956178417661458L; |
|---|
| .. | .. |
|---|
| 14 | 16 | public SeCurisException(String msg) { |
|---|
| 15 | 17 | super(msg); |
|---|
| 16 | 18 | } |
|---|
| 19 | + |
|---|
| 20 | + public static void main(String[] args) throws URISyntaxException { |
|---|
| 21 | + License.main(new String[] |
|---|
| 22 | + { "-g" }); |
|---|
| 23 | + } |
|---|
| 17 | 24 | } |
|---|