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 1006 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 Introduction

Innovative License Management Solution

Labs64 NetLicensing Client (Java)

NetLicensing Client - CI Maven Central Apache License 2.0 ๐Ÿ“– Documentation NetLicensing @ LinkedIn

Java wrapper for Labs64 NetLicensing RESTful API

Visit Labs64 NetLicensing at https://netlicensing.io

Quick Start

The recommended way to get started using netlicensing-client in your project is with a dependency management system โ€“ the snippets below can be copied and pasted into your build configuration.

Maven:

<dependencies>
  <dependency>
    <groupId>com.labs64.netlicensing</groupId>
    <artifactId>netlicensing-client</artifactId>
    <version>X.Y.Z</version>
  </dependency>
</dependencies>

Gradle:

dependencies {
    compile 'com.labs64.netlicensing:netlicensing-client:X.Y.Z'
}

OSGi:

Require-Bundle: com.labs64.netlicensing.client;bundle-version="X.Y.Z"

netlicensingclient-java's People

Contributors

art1sh0ke avatar dependabot[bot] avatar ihtims avatar kkorotkov avatar r-brown avatar tailorian avatar v-rudkovskiy avatar yushkevich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

netlicensingclient-java's Issues

Support offline validation

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

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.

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)

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

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.