Find Jobs
Hire Freelancers

Convertir un repositorio Rest (@RepositoryRestResource) en Controller con capa de Servicio. Spring Boot 2 y Spring 5 para usar anotaciones JWT

$15000-125000 CLP

Terminado
Publicado hace casi 6 años

$15000-125000 CLP

Pagado a la entrega
What I need is to apply JWT annotations to the REST endpoint generated by Spring Boot with the @RepositoryRestResource annotation. As this annotation (@RepositoryRestResource.) Makes an incredible and huge magic, I can not place any annotation in any of the restpoint that creates me. Automatically for each Entity I create: POST, PUT, PATCH, GET necessary and also generates HATEOAS and HAL Browser. The issue is that I want to occupy JWT; and to occupy JWT what I need is to place annotations like @PreAuthorize ("hasRole ('ADMIN')") in each endpoint REST. The previous thing is impossible occupying the magic @RepositoryRestResource since the endpoints create them automatic. So, I accept 2 solutions, the first being the ideal one. 1) Each endpoint with @RepositoryRestResource can add the @PreAuthorize annotation or whatever is necessary. 2) Convert the project with the Controller, Services and Repository layers used Spring 5 and Spring Boot 2. Attach the project that is needed. This project does not have JWT added, it is not necessary and I do not want to confuse topics, I just need that annotations can be added to each generated endpoint. You must also comply with: * Containing HATEOAS * That contains the HAL Browser. In summary, everything that @RepositoryRestResource does is done through the controllers, services and repository package. I have the database. Whoever wins the project sent it to him to play. The database is in postgres and I have necessary data, I have documentation of the endpoints, etc. Note that an expert who knows the subject should be very clear. The project is created with Spring Eclipse and uses Maven, you can get it from a URL, since [login to view URL] does not allow me to place it or upload the JAR because it weighs a lot, I request to contact me. Thank you very much. =========================================== Lo que necesito es aplicar anotaciones JWT a los endpoint REST que me ha generado Spring Boot con la anotacion @RepositoryRestResource. Como esta anotacion (@RepositoryRestResource.) hace una magia increible y enorme, no puedo colocar ninguna anotación en ninguno de los endpoint rest que me crea. Automaticamente para cada Entity me crea: POST, PUT, PATCH,GET necesarios y además genera HATEOAS y HAL Browser. El tema es que quiero ocupar JWT; y para ocupar JWT lo que necesito es colocar anotaciones como @PreAuthorize("hasRole('ADMIN')") en cada endpoint REST. Lo anterior es imposible ocupando la magia @RepositoryRestResource ya que los endpoints los crea automaticos. Entonces, acepto 2 soluciones, siendo la primera la ideal. 1) Cada endpoint con @RepositoryRestResource le pueda agregar la anotación @PreAuthorize o la que sea necesaria. 2) Convertir el proyecto con las capas Controller, Services y Repository usado Spring 5 y Spring Boot 2. Adjunte el proyecto que se necesita. Este proyecto no tiene agregado el JWT, no es necesario y no quiero confundir temas, solo necesito que a cada endpoint generado se pueda agregar anotaciones. Tambien debe cumplir con: * Que contenga HATEOAS * Que contenga el HAL Browser. En resumen, que todo lo que hace @RepositoryRestResource se haga mediante package de controllers, services y repository. Tengo la base de datos. Quien se adjudique el proyecto se la envio para que juegue. La base de datos esta en postgres y tengo a data necesaria, tengo documentacion de los endpoints, etc. Notar que un experto que conozca del tema esto le debiera quedar muy claro. El proyecto esta creado con Spring Eclipse y utiliza Maven, lo pueden obtener desde una URL, dado que [login to view URL] no me permite colocarla ni tampoco subir el JAR porque pesa mucho, solicito me contacten. Muchas gracias.
ID del proyecto: 16753817

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
$77.777 CLP en 3 días
4,6 (1 comentario)
2,4
2,4

Sobre este cliente

Bandera de CHILE
Las Condes, Chile
5,0
1
Forma de pago verificada
Miembro desde ene 29, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.