jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java

APACHE-2.0 License

Stars
2.3K
Committers
66

Bot releases are hidden (Show)

jcasbin - v1.9.0

Published by hsluoyz over 3 years ago

1.9.0 (2021-05-12)

Features

  • add support for dynamic matching (fd4690e), closes #169
jcasbin - v1.8.5

Published by hsluoyz over 3 years ago

1.8.5 (2021-05-05)

Bug Fixes

  • add the batchEnforce API. (67ad6ed)
jcasbin - v1.8.4

Published by hsluoyz over 3 years ago

1.8.4 (2021-04-27)

Bug Fixes

  • bugs in KeyGet2Func and KeyGetFunc (0efc4ad)
jcasbin - v1.8.3

Published by hsluoyz over 3 years ago

1.8.3 (2021-04-22)

Bug Fixes

  • priority cannot be non first policy element (6a40ed3), closes #177
jcasbin - v1.8.2

Published by hsluoyz over 3 years ago

1.8.2 (2021-04-20)

Bug Fixes

  • add the getRoleManager function (09d9405)
jcasbin - v1.8.1

Published by hsluoyz over 3 years ago

1.8.1 (2021-04-19)

Bug Fixes

  • use CSV parsing instead of string splitting for built-in file adapter. (#171) (108dcb0)
jcasbin - v1.8.0

Published by hsluoyz over 3 years ago

1.8.0 (2021-04-17)

Features

  • add support for priority matching (36470f4), closes #173
jcasbin - v1.7.4

Published by hsluoyz over 3 years ago

1.7.4 (2021-03-12)

Bug Fixes

  • return empty list when name does not exist in getRoles function. (42da984)
jcasbin - v1.7.3

Published by hsluoyz over 3 years ago

1.7.3 (2021-03-11)

Bug Fixes

  • Removed repeated section in loadModel and loadModelFromText in Model.java (0f8c1a1)
jcasbin - v1.7.2

Published by hsluoyz over 3 years ago

1.7.2 (2021-03-07)

Bug Fixes

  • change type to use correct FilteredAdapter type cast when loading filtered policies (e7dc1b6)
  • fix the codecov. (9ba817c)
jcasbin - v1.7.1

Published by hsluoyz over 3 years ago

1.7.1 (2021-03-03)

Bug Fixes

  • use janino rather than bsh. (db1a676)
jcasbin - v1.7.0

Published by hsluoyz over 3 years ago

1.7.0 (2021-03-03)

Bug Fixes

  • update pom.xml. (d46d1a0)
  • use github action rather than travis. (0a7314e)

Features

  • add keyGet and keyGet2 functions. (142c011)
jcasbin - jCasbin 1.6.4

Published by shy1st over 3 years ago

jcasbin - jCasbin 1.6.3

Published by shy1st almost 4 years ago

  • Modify the pom.xml.
jcasbin - jCasbin 1.6.2

Published by shy1st almost 4 years ago

  • Add missing license headers.

Model

  • Add globMatch pattern.

Enforcement

  • Add features like Dispatcher, UpdatableAdapter and DistributedEnforcer.
jcasbin - jCasbin 1.6.1

Published by hsluoyz almost 4 years ago

Adapter

  • Add the FilteredAdapter interface.
jcasbin - jCasbin 1.6.0

Published by hsluoyz almost 4 years ago

General

  • Modify adapter policies before modifying memory (#87)
  • Fixed the javadoc error.
  • syncedEnforcer.enforce() now using read lock.

Model

  • Added multiline text support for loading model files.

RBAC API

  • Porting casbin support for pattern functions in g (1st arg and domain)

Function

  • Added keyMatch3 and keyMatch4 function. Added corresponding test cases.
jcasbin - jCasbin 1.5.0

Published by hsluoyz over 4 years ago

General

  • Add saveModelToText() and savePolicyToText().
  • Add a lot of missing APIs and their tests compared to Golang.
  • Add FilteredAdapter.
  • Add scaling ABAC (eval) feature.

Model

  • Make model delimiter more lenient to whitespace.

Management API

  • Add getPermittedActions().
  • Add duplicate check.

RBAC API

  • Add getImplicitPermissionsForUserInDomain().
  • Fix output bug in getRolesForUser().

Function

  • Performance improvement for built-in functions.

Test

  • Add some benchmarks.
jcasbin - jCasbin 1.4.0

Published by hsluoyz over 5 years ago

General

  • Add SyncedEnforcer.

Enforcement

  • Add validation on param size for enforce method.

Management API

  • Modify DB before modifying local memory when editing policy.

Util

  • Define different types of exceptions.
  • Change logger to slf4j.
jcasbin - jCasbin 1.3.0

Published by hsluoyz over 5 years ago

RBAC API

  • Add getImplicitRolesForUser() and getImplicitPermissionsForUser().