This is an automated email from the ASF dual-hosted git repository.
dgriffon pushed a change to branch UNOMI-449-forward-public-endpoints
in repository https://gitbox.apache.org/repos/asf/unomi.git.
discard c83afb5 UNOMI-449 : fix following code review
discard 43185a4 UNOMI-449 : forward existing endpoints to jax-rs endpoints
add d8e611d UNOMI-446 update session assigned rule increment action (#272)
add 47b63f1 UNOMI-453: provide authentication configuration on REST
endpoints, al… (#275)
add 1be54e4 UNOMI-449 : forward existing endpoints to jax-rs endpoints
add 1a426f2 UNOMI-449 : fix following code review
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (c83afb5)
\
N -- N -- N refs/heads/UNOMI-449-forward-public-endpoints
(1a426f2)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
package/src/main/resources/etc/users.properties | 2 +-
.../META-INF/cxs/rules/sessionAssigned.json | 8 +-
rest/pom.xml | 6 ++
.../java/org/apache/unomi/rest/RestServer.java | 26 ++++--
.../rest/authentication/AuthenticationFilter.java | 99 ++++++++++++++++++++++
.../authentication/AuthorizingInterceptor.java | 57 +++++++++++++
.../authentication/RestAuthenticationConfig.java | 62 ++++++++++++++
.../impl/DefaultRestAuthenticationConfig.java | 60 +++++++++++++
8 files changed, 309 insertions(+), 11 deletions(-)
create mode 100644
rest/src/main/java/org/apache/unomi/rest/authentication/AuthenticationFilter.java
create mode 100644
rest/src/main/java/org/apache/unomi/rest/authentication/AuthorizingInterceptor.java
create mode 100644
rest/src/main/java/org/apache/unomi/rest/authentication/RestAuthenticationConfig.java
create mode 100644
rest/src/main/java/org/apache/unomi/rest/authentication/impl/DefaultRestAuthenticationConfig.java