Giter Site home page Giter Site logo

labs64 / netlicensingclient-java Goto Github PK

View Code? Open in Web Editor NEW
8.0 7.0 7.0 1003 KB

Java wrapper for Labs64 NetLicensing RESTful API

Home Page: https://netlicensing.io

License: Apache License 2.0

Java 99.96% Shell 0.04%
netlicensing labs64 laas licensing-as-a-service software-licensing java java-wrapper software-activation licensing license-management

netlicensingclient-java's Issues

Upgrade to Jakarta EE 10

In Sep. 2022 Jakarta EE 10 has been released. Spring Boot 3 and others fully migrated their dependencies from javax.* to jarakta.* Libraries, i.e. from
javax.xml.bind:jaxb-api to jakarta.xml.bind:jakarta.xml.bind-api or
javax.ws.rs:javax.ws.rs-api to jakarta.ws.rs:jakarta.ws.rs-api

Could you please also upgrade to the latest libraries in the 2.10.0 release?

Thanks.

Update log4j 1 to log4j 2

Security Alert:
https://github.com/Labs64/NetLicensingClient-java/network/alert/pom.xml/log4j:log4j/open

CVE-2019-17571
moderate severity
Vulnerable versions: >= 1.2, <= 1.2.27
Patched version: No fix

Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely execute arbitrary code when combined with a deserialization gadget when listening to untrusted network traffic for log data. This affects Log4j versions up to 1.2 up to 1.2.17.

log4j migration
https://logging.apache.org/log4j/2.x/manual/migration.html

Support offline validation

Enable possibility to store the validation response locally and repeat validation using stored response without connection to NetLicensing server.

NetLicensing Demo: Class not found error

After adding NetLicensing dependency to the pom.xml

  <dependency>
    <groupId>com.labs64.netlicensing</groupId>
    <artifactId>netlicensing-client</artifactId>
    <version>2.3.8</version>
  </dependency>

I'm getting following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/glassfish/jersey/client/ClientConfig
    at com.labs64.netlicensing.provider.RestProviderJersey.getClient(RestProviderJersey.java:119)
    at com.labs64.netlicensing.provider.RestProviderJersey.getTarget(RestProviderJersey.java:137)
    at com.labs64.netlicensing.provider.RestProviderJersey.call(RestProviderJersey.java:80)
    at com.labs64.netlicensing.service.NetLicensingService.request(NetLicensingService.java:204)
    at com.labs64.netlicensing.service.NetLicensingService.delete(NetLicensingService.java:160)
    at com.labs64.netlicensing.service.ProductService.delete(ProductService.java:140)
    at com.labs64.netlicensing.demo.NetLicensingClientDemo.main(NetLicensingClientDemo.java:385)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.