From 3ad9b8b579ce15e01b2ef7a4507c9466a615cad3 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 15 Nov 2022 22:43:14 +0100 Subject: [PATCH] [DEV] start rework ------------ --- back/src/org/kar/karideo/api/DataResource.java | 2 +- back/src/org/kar/karideo/api/Front.java | 2 +- back/src/org/kar/karideo/api/HealthCheck.java | 2 +- back/src/org/kar/karideo/api/SeasonResource.java | 2 +- back/src/org/kar/karideo/api/SeriesResource.java | 2 +- back/src/org/kar/karideo/api/TypeResource.java | 2 +- back/src/org/kar/karideo/api/UniverseResource.java | 2 +- back/src/org/kar/karideo/api/UserResource.java | 2 +- back/src/org/kar/karideo/api/VideoResource.java | 2 +- back/src/org/kar/karideo/filter/AuthenticationFilter.java | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/back/src/org/kar/karideo/api/DataResource.java b/back/src/org/kar/karideo/api/DataResource.java index 12dc686..2954f15 100644 --- a/back/src/org/kar/karideo/api/DataResource.java +++ b/back/src/org/kar/karideo/api/DataResource.java @@ -10,7 +10,7 @@ import org.kar.karideo.model.Data; import org.kar.karideo.model.DataSmall; import org.kar.karideo.util.ConfigVariable; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.imageio.ImageIO; import javax.ws.rs.*; diff --git a/back/src/org/kar/karideo/api/Front.java b/back/src/org/kar/karideo/api/Front.java index 0a38b9c..ae081a1 100644 --- a/back/src/org/kar/karideo/api/Front.java +++ b/back/src/org/kar/karideo/api/Front.java @@ -3,7 +3,7 @@ package org.kar.karideo.api; import java.io.File; import java.util.List; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.ws.rs.*; import javax.ws.rs.core.CacheControl; import javax.ws.rs.core.PathSegment; diff --git a/back/src/org/kar/karideo/api/HealthCheck.java b/back/src/org/kar/karideo/api/HealthCheck.java index c7d8c52..74f7a01 100644 --- a/back/src/org/kar/karideo/api/HealthCheck.java +++ b/back/src/org/kar/karideo/api/HealthCheck.java @@ -1,6 +1,6 @@ package org.kar.karideo.api; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; diff --git a/back/src/org/kar/karideo/api/SeasonResource.java b/back/src/org/kar/karideo/api/SeasonResource.java index 5ea5d38..6e34a49 100644 --- a/back/src/org/kar/karideo/api/SeasonResource.java +++ b/back/src/org/kar/karideo/api/SeasonResource.java @@ -4,7 +4,7 @@ import org.glassfish.jersey.media.multipart.FormDataContentDisposition; import org.glassfish.jersey.media.multipart.FormDataParam; import org.kar.karideo.model.NodeSmall; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; diff --git a/back/src/org/kar/karideo/api/SeriesResource.java b/back/src/org/kar/karideo/api/SeriesResource.java index f43e88d..da2829d 100644 --- a/back/src/org/kar/karideo/api/SeriesResource.java +++ b/back/src/org/kar/karideo/api/SeriesResource.java @@ -4,7 +4,7 @@ import org.glassfish.jersey.media.multipart.FormDataContentDisposition; import org.glassfish.jersey.media.multipart.FormDataParam; import org.kar.karideo.model.NodeSmall; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; diff --git a/back/src/org/kar/karideo/api/TypeResource.java b/back/src/org/kar/karideo/api/TypeResource.java index 92f9abb..fb7cd9f 100644 --- a/back/src/org/kar/karideo/api/TypeResource.java +++ b/back/src/org/kar/karideo/api/TypeResource.java @@ -4,7 +4,7 @@ import org.glassfish.jersey.media.multipart.FormDataContentDisposition; import org.glassfish.jersey.media.multipart.FormDataParam; import org.kar.karideo.model.NodeSmall; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; diff --git a/back/src/org/kar/karideo/api/UniverseResource.java b/back/src/org/kar/karideo/api/UniverseResource.java index 575d8ee..8e7fc26 100644 --- a/back/src/org/kar/karideo/api/UniverseResource.java +++ b/back/src/org/kar/karideo/api/UniverseResource.java @@ -4,7 +4,7 @@ import org.glassfish.jersey.media.multipart.FormDataContentDisposition; import org.glassfish.jersey.media.multipart.FormDataParam; import org.kar.karideo.model.NodeSmall; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; diff --git a/back/src/org/kar/karideo/api/UserResource.java b/back/src/org/kar/karideo/api/UserResource.java index dd6c22a..a180eba 100755 --- a/back/src/org/kar/karideo/api/UserResource.java +++ b/back/src/org/kar/karideo/api/UserResource.java @@ -8,7 +8,7 @@ import org.kar.karideo.model.User; import org.kar.karideo.model.UserExtern; import org.kar.karideo.model.UserPerso; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ws.rs.*; import javax.ws.rs.core.Context; diff --git a/back/src/org/kar/karideo/api/VideoResource.java b/back/src/org/kar/karideo/api/VideoResource.java index bad6356..518e48b 100644 --- a/back/src/org/kar/karideo/api/VideoResource.java +++ b/back/src/org/kar/karideo/api/VideoResource.java @@ -10,7 +10,7 @@ import org.kar.karideo.model.Data; import org.kar.karideo.model.MediaSmall; import org.kar.karideo.model.NodeSmall; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; diff --git a/back/src/org/kar/karideo/filter/AuthenticationFilter.java b/back/src/org/kar/karideo/filter/AuthenticationFilter.java index 916d109..a695bf3 100644 --- a/back/src/org/kar/karideo/filter/AuthenticationFilter.java +++ b/back/src/org/kar/karideo/filter/AuthenticationFilter.java @@ -2,7 +2,7 @@ package org.kar.karideo.filter; import java.lang.reflect.Method; import javax.annotation.security.DenyAll; -import javax.annotation.security.PermitAll; +import org.kar.archidata.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed;