Skip to content

eclipse-passage/passage

Repository files navigation

Eclipse Passage

Build Status Codacy Badge codecov Hits-of-Code

License

Copyright ©️ 2018, 2021 ArSysOp and others

Eclipse License

Latest release

Stable release P2 Stable release Products

About

Eclipse Passage helps to verify that the software has sufficient license grants in accordance with the specified licensing requirements. The Equinox-based implementation includes various validators for the time-limited, node-locked and other types of licenses.

How to use

Just include the "org.eclipse.passage.lic.execute.feature" in your product and declare licensing requirement for your features.

How it works

The Eclipse Passage works inside your product installed on the user side. Its basic steps are as follows:

  1. Get the system configuration specified in the Licensing Operator client: the feature identifiers and the respective usage restrictions.
  2. Get the license conditions. The LIC may be tuned to look through different locations like user.home and osgi.instance.area.
  3. Compare the license specified configuration with the current system state (the current date, node id, etc) to confirm the license is active and valid.
  4. Use the system configuration and the evaluated license state to make a decision.
  5. If there are uncovered licensing requirements, call the required constraint functions to impose restrictions: limit certain functionality or disable everything.