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

Abgeschlossen
Veröffentlicht vor etwa 6 Jahren

$15000-125000 CLP

Bezahlt bei Lieferung
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.
Projekt-ID: 16753817

Über das Projekt

2 Vorschläge
Remote Projekt
Aktiv vor 6 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
$77.777 CLP in 3 Tagen
4,6 (1 Bewertung)
2,4
2,4

Über den Kunden

Flagge von CHILE
Las Condes, Chile
5,0
1
Zahlungsmethode verifiziert
Mitglied seit Jan. 29, 2018

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.