Skip to content

A dynamic Login/Registration interface supporting email verification, Google OAuth, password resetting, password encryption using AES, password storage in MySQL, success/warning/error alerts. Made using Java, Servlets, JSP, MySQL, Bootstrap and jQuery in Eclipse IDE and ready to be deployed on a server.

Notifications You must be signed in to change notification settings

Sdrago92399/ServletLoginProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Java Servlet Login Page

This project is a Java servlet-based login page that demonstrates user authentication using various dependencies and a configuration file. Below are the steps to set up and configure the project.

Dependencies

Before running this project, make sure to download the following dependencies and place them in the WEB-INF/lib directory of your servlet project:

Configuration

After adding the dependencies, make sure to configure the Globals.java class to provide the necessary credentials and information for your project. Here is the structure of the Globals.java class:

package com.login;

public final class Globals {
    final public static String Website = "";
    final public static String Google_Mail = "";
    final public static String Google_Pass = "";
    final public static String MySQL_Address = "";
    final public static String MySQL_User = "";
    final public static String MySQL_Pass = "";
    final public static String Client_ID = "";
    final public static String Client_Secret = "";
}

Fill in the values for the following constants within the Globals.java class:

  • Website: Your website URL (e.g., "https://www.example.com").
  • Google_Mail and Google_Pass: Google email and password for sending emails (if needed).
  • MySQL_Address, MySQL_User, and MySQL_Pass: MySQL database connection details.
  • Client_ID and Client_Secret: Credentials for any OAuth or API integrations if applicable.

Usage

Once you have configured the dependencies and the Globals.java class, you can deploy the servlet-based login page to your preferred servlet container (e.g., Apache Tomcat) and start the application.

Additional Notes

  • Make sure to set up your servlet container properly and configure the web application's deployment descriptor (web.xml) with appropriate servlet mappings, security settings, and URL patterns as needed.

  • The exact usage and functionality of this login page may vary based on your specific project requirements. Be sure to adapt the code and configuration accordingly.

  • This project was given to me by Eduinq as a part of their development prgramme.

  • You are good to use this but please make sure to mention me. UwU.

For more information and details about this project, feel free to contact me at shahbazalam92399@gmail.com.

About

A dynamic Login/Registration interface supporting email verification, Google OAuth, password resetting, password encryption using AES, password storage in MySQL, success/warning/error alerts. Made using Java, Servlets, JSP, MySQL, Bootstrap and jQuery in Eclipse IDE and ready to be deployed on a server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published