Skip to content
Snippets Groups Projects
Commit 2121d87e authored by Yvan Peter's avatar Yvan Peter
Browse files

ajout de PermitAll sur la ressource

parent 3a142712
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ import java.util.logging.Logger; ...@@ -8,6 +8,7 @@ import java.util.logging.Logger;
import fr.ulille.iut.todo.dto.CreationTacheDTO; import fr.ulille.iut.todo.dto.CreationTacheDTO;
import fr.ulille.iut.todo.service.Tache; import fr.ulille.iut.todo.service.Tache;
import fr.ulille.iut.todo.service.TodoService; import fr.ulille.iut.todo.service.TodoService;
import jakarta.annotation.security.PermitAll;
import jakarta.ws.rs.Consumes; import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.DELETE; import jakarta.ws.rs.DELETE;
import jakarta.ws.rs.GET; import jakarta.ws.rs.GET;
...@@ -28,6 +29,7 @@ import jakarta.ws.rs.core.UriInfo; ...@@ -28,6 +29,7 @@ import jakarta.ws.rs.core.UriInfo;
@Path("taches") @Path("taches")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@PermitAll
public class TodoRessource { public class TodoRessource {
private final static Logger LOGGER = Logger.getLogger(TodoRessource.class.getName()); private final static Logger LOGGER = Logger.getLogger(TodoRessource.class.getName());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment