Skip to content

ODRE-Framework/odre-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ODRE Framework

Maven Central License

Quick install

Install

Install latest version from maven central repository

<dependency>
    <groupId>io.github.odre-framework</groupId>
    <artifactId>odre-core</artifactId>
    <version>0.1.2</version>
</dependency>

Enforce ODRL policies

String policy = // ODRL policy goes here

Map<String, Object> interpolations = new HashMap<>();
ODRE odre = new ODRE();

Map<String, String> usage = odre.enforce(policy, interpolations);

Supported features

ODRL operantors

Operators Implementation status #
eq supported
gt supported
gteq supported
lt supported
lteq supported
neq supported
hasPart unsupported
isA unsupported
isAllOf unsupported
isAnyOf unsupported
isNoneOf unsupported
isPartOf unsupported

ODRL operands

Left Operands Implementation status #
absolutePosition unsupported
absoluteSize unsupported
absoluteSpatialPosition unsupported
absoluteTemporalPosition unsupported
count unsupported
dateTime supported
delayPeriod unsupported
deliveryChannel unsupported
device unsupported
elapsedTime unsupported
event unsupported
fileFormat unsupported
industry unsupported
language unsupported
media unsupported
meteredTime unsupported
payAmount unsupported
percentage unsupported
product unsupported
purpose unsupported
recipient unsupported
relativePosition unsupported
relativeSize unsupported
relativeSpatialPosition unsupported
relativeTemporalPosition unsupported
resolution unsupported
spatial unsupported
spatialCoordinates unsupported
system unsupported
systemDevice unsupported
timeInterval unsupported
unitOfCount unsupported
version unsupported
virtualLocation unsupported
Right Operands Implementation status #
policyUsage unsupported

ODRL actions

Actions Implementation status #
policyUsage unsupported

BibTeX

@misc{cimmino2024opendigitalrightsenforcement,
      title={Open Digital Rights Enforcement Framework (ODRE): from descriptive to enforceable policies}, 
      author={Andrea Cimmino and Juan Cano-Benito and Raúl García-Castro},
      year={2024},
      eprint={2409.17602},
      archivePrefix={arXiv},
      primaryClass={cs.CR},
      url={https://arxiv.org/abs/2409.17602}, 
}

About

ODRE enforcement algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •