Java Hyd Team
746 subscribers
986 photos
39 videos
670 files
690 links
https://teamhydteam.my.canva.site/

Can visit us on our website 😊
Still working on it 😊
Download Telegram
Do you guy's want to learn DBMS also Oracle DB will do after next Sunday
Anonymous Poll
96%
Yes
4%
No
Core java , spring , spring boot we covered end to end now will be focusing on React-Js and databases
Anyone here who have worked on these
Personal suggestions do prepare notes while I will be taking sessions
Photo from ENTREPRENEUR
👍1
Java Hyd Team
Can we do one session for React-Js will next Sunday this Sunday m not taking any sessions
I hope you all 66 people have sent their email n details because we will send link to your mail n add to your calendar 📆🗓️ do mark it as yes so that you will get notified 30 minutes while starting of session
Java Hyd Team
Photo from ENTREPRENEUR
Step 1: Setup Spring Security with JWT

1. Create a new project in your IDE.

2. Add Spring Security and JWT dependencies to the project.

3. Configure the Spring Security configuration file to secure the application.

4. Add the JWT authentication filter to the security configuration.

5. Add the JWT authentication provider to the security configuration.

6. Configure the authentication manager to use the JWT authentication provider.

Step 2: Implement the APIs

1. Create the two APIs for Task 1 and Task 2.

2. Add the Spring Security annotation to each API to restrict access to authenticated users.

3. Create the JWT Token Service to generate, validate and refresh the JWT tokens.

4. Add the save user detail and date time of when the token is created, set the 10 minutes timeout for JWT.

5. Implement the logic to check if the token is expired, if it is expired then return an appropriate response.

6. Implement the logic to divide the APIs based on roles and rules via Spring Security.

7. Implement the logic to call the REST API using Rest Template and to do the call in a separate thread.

8. Implement the logic to return the response for Task2 with a delay of 3-6 seconds randomly.

Step 3: Test the APIs

1. Test the APIs with a valid JWT token and check the response.

2. Test the APIs with an expired JWT token and check the response.

3. Test the APIs with an invalid JWT token and check the response.

4. Test the APIs with an invalid role and check the response.

5. Test the APIs for the delay and check the response.
Java Hyd Team
https://forms.gle/14M1Gxm2swLE8wUF6 can fill-up this form so that i can send you invite link
35 response in total I have recieved till now by 22:00 will send mail 📬 can tick yes and it will be added to your calendar 🗓️📆 so that you will get notified 30 minutes early while we start the session
Java Hyd Team
Can we do one session for React-Js will next Sunday this Sunday m not taking any sessions
Still 50 response pending do it asap so that we can share meeting details with you on mail 📬
Keep updating your CV enhancing your skills