From f6e1213714c052fb463542b2b3de3c806f81e3cd Mon Sep 17 00:00:00 2001 From: Ajay Negi Date: Sun, 29 Sep 2024 11:15:52 +0530 Subject: [PATCH] Add security --- .../{LibrarymanApiApplication.java => Application.java} | 4 ++-- .../java/com/libraryman_api/security/LoginController.java | 4 ++++ .../java/com/libraryman_api/security/SignupController.java | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) rename src/main/java/com/libraryman_api/{LibrarymanApiApplication.java => Application.java} (74%) create mode 100644 src/main/java/com/libraryman_api/security/LoginController.java create mode 100644 src/main/java/com/libraryman_api/security/SignupController.java diff --git a/src/main/java/com/libraryman_api/LibrarymanApiApplication.java b/src/main/java/com/libraryman_api/Application.java similarity index 74% rename from src/main/java/com/libraryman_api/LibrarymanApiApplication.java rename to src/main/java/com/libraryman_api/Application.java index df9a8cf..66a00e9 100644 --- a/src/main/java/com/libraryman_api/LibrarymanApiApplication.java +++ b/src/main/java/com/libraryman_api/Application.java @@ -6,10 +6,10 @@ @SpringBootApplication @EnableAsync -public class LibrarymanApiApplication { +public class Application { public static void main(String[] args) { - SpringApplication.run(LibrarymanApiApplication.class, args); + SpringApplication.run(Application.class, args); } } diff --git a/src/main/java/com/libraryman_api/security/LoginController.java b/src/main/java/com/libraryman_api/security/LoginController.java new file mode 100644 index 0000000..8027e9c --- /dev/null +++ b/src/main/java/com/libraryman_api/security/LoginController.java @@ -0,0 +1,4 @@ +package com.libraryman_api.security; + +public class LoginController { +} diff --git a/src/main/java/com/libraryman_api/security/SignupController.java b/src/main/java/com/libraryman_api/security/SignupController.java new file mode 100644 index 0000000..68584e1 --- /dev/null +++ b/src/main/java/com/libraryman_api/security/SignupController.java @@ -0,0 +1,4 @@ +package com.libraryman_api.security; + +public class SignupController { +}