diff --git a/Jenkinsfile b/Jenkinsfile
index e99abca44..22f0a3545 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,12 +1,12 @@
pipeline {
-
+
agent any
-
+
tools {
- jdk "JDK17"
- maven "MAVEN3.9"
+ jdk "JDK17"
+ maven "MAVEN4.2"
}
-
+
environment {
NEXUS_VERSION = "nexus3"
NEXUS_PROTOCOL = "http"
@@ -16,9 +16,9 @@ pipeline {
NEXUS_CREDENTIAL_ID = "nexuslogin"
ARTVERSION = "${env.BUILD_ID}"
}
-
+
stages{
-
+
stage('BUILD'){
steps {
sh 'mvn clean install -DskipTests'
@@ -42,7 +42,7 @@ pipeline {
sh 'mvn verify -DskipUnitTests'
}
}
-
+
stage ('CODE ANALYSIS WITH CHECKSTYLE'){
steps {
sh 'mvn checkstyle:checkstyle'
@@ -55,7 +55,7 @@ pipeline {
}
stage('CODE ANALYSIS with SONARQUBE') {
-
+
environment {
scannerHome = tool 'sonarscanner4'
}
@@ -107,7 +107,7 @@ pipeline {
type: "pom"]
]
);
- }
+ }
else {
error "*** File: ${artifactPath}, could not be found";
}
diff --git a/pom.xml b/pom.xml
index 04ca4f6b8..16e17c294 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,11 +11,11 @@
http://maven.apache.org
- 6.0.11
+ 6.0.12
3.1.3
- 6.1.2
+ 6.1.5
3.1.2
- 7.0.0.Alpha3
+ 7.0.0.Alpha66
6.2.0.Final
8.0.33
2.12.0
@@ -93,17 +93,17 @@
org.springframework.amqp
spring-rabbit
- 3.1.6
+ 3.2.6
com.rabbitmq
amqp-client
- 5.21.0
+ 6.0.0
net.spy
spymemcached
- 2.12.3
+ 2.15.3
@@ -128,7 +128,7 @@
jakarta.platform
jakarta.jakartaee-api
- 10.0.0
+ 10.0.1
provided
@@ -142,13 +142,13 @@
org.mockito
mockito-core
- 5.5.0
+ 5.6.0
test
org.mockito
mockito-junit-jupiter
- 5.5.0
+ 5.5.1
test
@@ -183,7 +183,7 @@
org.hamcrest
hamcrest-all
- 1.3
+ 1.4.2
test
@@ -191,12 +191,12 @@
org.apache.logging.log4j
log4j-api
- 2.23.1
+ 2.23.5
org.apache.logging.log4j
log4j-core
- 2.20.0
+ 2.20.5
org.apache.logging.log4j
@@ -246,7 +246,7 @@
org.glassfish.web
jakarta.servlet.jsp.jstl
- 2.0.0
+ 2.0.1
@@ -270,7 +270,7 @@
org.apache.maven.plugins
maven-war-plugin
- 3.4.0
+ 3.4.1
diff --git a/src/main/java/com/visualpathit/account/GlobalExceptionHandler.java b/src/main/java/com/visualpathit/account/GlobalExceptionHandler.java
index 321575a2e..d1fcb8244 100644
--- a/src/main/java/com/visualpathit/account/GlobalExceptionHandler.java
+++ b/src/main/java/com/visualpathit/account/GlobalExceptionHandler.java
@@ -1,4 +1,4 @@
-package com.visualpathit.account;
+git package com.visualpathit.account;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.security.authentication.BadCredentialsException;
diff --git a/target/classes/accountsdb.sql b/target/classes/accountsdb.sql
new file mode 100644
index 000000000..8aedbfd85
--- /dev/null
+++ b/target/classes/accountsdb.sql
@@ -0,0 +1,106 @@
+-- MySQL dump 10.13 Distrib 5.7.18, for Linux (x86_64)
+--
+-- Host: localhost Database: accounts
+-- ------------------------------------------------------
+-- Server version 5.7.18-0ubuntu0.16.10.1
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `role`
+--
+
+DROP TABLE IF EXISTS `role`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `role` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(45) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `role`
+--
+
+LOCK TABLES `role` WRITE;
+/*!40000 ALTER TABLE `role` DISABLE KEYS */;
+INSERT INTO `role` VALUES (1,'ROLE_USER');
+INSERT INTO `role` VALUES (2,'ROLE_ADMIN');
+/*!40000 ALTER TABLE `role` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `user`
+--
+
+DROP TABLE IF EXISTS `user`;
+/*!40101 SET @saved_cs_client = @@CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_CLIENT = utf8 */;
+CREATE TABLE `user` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `username` varchar(255) DEFAULT NULL,
+ `userEmail` varchar(255) DEFAULT NULL,
+ `password` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
+/*!40101 SET CHARACTER_SET_CLIENT = @saved_cs_client */;
+
+--
+-- Dumping data for table `user`
+--
+
+LOCK TABLES `user` WRITE;
+/*!40000 ALTER TABLE `user` DISABLE KEYS */;
+INSERT INTO `user` VALUES (4,'admin_vp','admin@visualpathit.com','$2a$11$DSEIKJNrgPjG.iCYUwErvOkREtC67mqzQ.ogkZbc/KOW1OPOpZfY6');
+/*!40000 ALTER TABLE `user` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `user_role`
+--
+
+DROP TABLE IF EXISTS `user_role`;
+/*!40101 SET @saved_cs_client = @@CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_CLIENT = utf8 */;
+CREATE TABLE `user_role` (
+ `user_id` int(11) NOT NULL,
+ `role_id` int(11) NOT NULL,
+ PRIMARY KEY (`user_id`,`role_id`),
+ KEY `fk_user_role_roleid_idx` (`role_id`),
+ CONSTRAINT `fk_user_role_roleid` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `fk_user_role_userid` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET CHARACTER_SET_CLIENT = @saved_cs_client */;
+
+--
+-- Dumping data for table `user_role`
+--
+
+LOCK TABLES `user_role` WRITE;
+/*!40000 ALTER TABLE `user_role` DISABLE KEYS */;
+INSERT INTO `user_role` VALUES (4,1); -- ROLE_USER
+INSERT INTO `user_role` VALUES (4,2); -- ROLE_ADMIN
+/*!40000 ALTER TABLE `user_role` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2017-08-28 10:50:51
diff --git a/target/classes/application.properties b/target/classes/application.properties
new file mode 100644
index 000000000..c2cd8e80a
--- /dev/null
+++ b/target/classes/application.properties
@@ -0,0 +1,57 @@
+#JDBC Configutation for Database Connection
+jdbc.driverClassName=com.mysql.cj.jdbc.Driver
+jdbc.url=jdbc:mysql://db01:3306/accounts?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
+jdbc.username=admin
+jdbc.password=admin123
+
+#Memcached Configuration For Active and StandBy Host
+#For Active Host
+memcached.active.host=mc01
+memcached.active.port=11211
+#For StandBy Host
+memcached.standBy.host=127.0.0.2
+memcached.standBy.port=11211
+
+#RabbitMq Configuration
+rabbitmq.address=rmq01
+rabbitmq.port=5672
+rabbitmq.username=test
+rabbitmq.password=test
+
+#Elasticesearch Configuration
+elasticsearch.host=localhost
+elasticsearch.port=9300
+elasticsearch.cluster=vprofile
+elasticsearch.node=vprofilenode
+
+
+spring.servlet.multipart.max-file-size=128KB
+spring.servlet.multipart.max-request-size=128KB
+
+logging.level.org.springframework.security=DEBUG
+
+
+# application.properties
+spring.security.user.name=admin_vp
+spring.security.user.password=admin_vp
+spring.security.user.roles=ADMIN
+
+
+spring.mvc.view.prefix=/WEB-INF/views/
+spring.mvc.view.suffix=.jsp
+
+#logging.level.root=OFF
+#logging.level.org.springframework.web=OFF
+#spring.main.banner-mode=OFF
+
+# Hibernate SQL Queries
+spring.jpa.show-sql=false
+spring.jpa.properties.hibernate.format_sql=false
+logging.level.org.hibernate.SQL=OFF
+logging.level.org.hibernate.type=OFF
+
+
+# Debug Logging for SecurityServiceImpl
+logging.level.com.visualpathit.account.service.SecurityServiceImpl=OFF
+
+
diff --git a/target/classes/com/visualpathit/account/AuthenticationFailureHandler.class b/target/classes/com/visualpathit/account/AuthenticationFailureHandler.class
new file mode 100644
index 000000000..0ac137d5d
Binary files /dev/null and b/target/classes/com/visualpathit/account/AuthenticationFailureHandler.class differ
diff --git a/target/classes/com/visualpathit/account/GlobalExceptionHandler.class b/target/classes/com/visualpathit/account/GlobalExceptionHandler.class
new file mode 100644
index 000000000..f8eeca037
Binary files /dev/null and b/target/classes/com/visualpathit/account/GlobalExceptionHandler.class differ
diff --git a/target/classes/com/visualpathit/account/UserNotFoundException.class b/target/classes/com/visualpathit/account/UserNotFoundException.class
new file mode 100644
index 000000000..0f6d4ade4
Binary files /dev/null and b/target/classes/com/visualpathit/account/UserNotFoundException.class differ
diff --git a/target/classes/com/visualpathit/account/beans/Components.class b/target/classes/com/visualpathit/account/beans/Components.class
new file mode 100644
index 000000000..cd50ce219
Binary files /dev/null and b/target/classes/com/visualpathit/account/beans/Components.class differ
diff --git a/target/classes/com/visualpathit/account/controller/ElasticSearchController.class b/target/classes/com/visualpathit/account/controller/ElasticSearchController.class
new file mode 100644
index 000000000..8ee5a27b0
Binary files /dev/null and b/target/classes/com/visualpathit/account/controller/ElasticSearchController.class differ
diff --git a/target/classes/com/visualpathit/account/controller/FileUploadController.class b/target/classes/com/visualpathit/account/controller/FileUploadController.class
new file mode 100644
index 000000000..6ebbfb2d6
Binary files /dev/null and b/target/classes/com/visualpathit/account/controller/FileUploadController.class differ
diff --git a/target/classes/com/visualpathit/account/controller/RabbitMqController.class b/target/classes/com/visualpathit/account/controller/RabbitMqController.class
new file mode 100644
index 000000000..325b0aa23
Binary files /dev/null and b/target/classes/com/visualpathit/account/controller/RabbitMqController.class differ
diff --git a/target/classes/com/visualpathit/account/controller/UserController.class b/target/classes/com/visualpathit/account/controller/UserController.class
new file mode 100644
index 000000000..7f3920782
Binary files /dev/null and b/target/classes/com/visualpathit/account/controller/UserController.class differ
diff --git a/target/classes/com/visualpathit/account/model/Role.class b/target/classes/com/visualpathit/account/model/Role.class
new file mode 100644
index 000000000..0eb7d68d5
Binary files /dev/null and b/target/classes/com/visualpathit/account/model/Role.class differ
diff --git a/target/classes/com/visualpathit/account/model/User.class b/target/classes/com/visualpathit/account/model/User.class
new file mode 100644
index 000000000..40e6580af
Binary files /dev/null and b/target/classes/com/visualpathit/account/model/User.class differ
diff --git a/target/classes/com/visualpathit/account/repository/RoleRepository.class b/target/classes/com/visualpathit/account/repository/RoleRepository.class
new file mode 100644
index 000000000..01e2e6651
Binary files /dev/null and b/target/classes/com/visualpathit/account/repository/RoleRepository.class differ
diff --git a/target/classes/com/visualpathit/account/repository/UserRepository.class b/target/classes/com/visualpathit/account/repository/UserRepository.class
new file mode 100644
index 000000000..b673a97e3
Binary files /dev/null and b/target/classes/com/visualpathit/account/repository/UserRepository.class differ
diff --git a/target/classes/com/visualpathit/account/service/ConsumerService.class b/target/classes/com/visualpathit/account/service/ConsumerService.class
new file mode 100644
index 000000000..9b188ff20
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ConsumerService.class differ
diff --git a/target/classes/com/visualpathit/account/service/ConsumerServiceImpl.class b/target/classes/com/visualpathit/account/service/ConsumerServiceImpl.class
new file mode 100644
index 000000000..e9323ee8f
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ConsumerServiceImpl.class differ
diff --git a/target/classes/com/visualpathit/account/service/ProducerService.class b/target/classes/com/visualpathit/account/service/ProducerService.class
new file mode 100644
index 000000000..6905ce91f
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ProducerService.class differ
diff --git a/target/classes/com/visualpathit/account/service/ProducerServiceImpl.class b/target/classes/com/visualpathit/account/service/ProducerServiceImpl.class
new file mode 100644
index 000000000..e2333c10f
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/ProducerServiceImpl.class differ
diff --git a/target/classes/com/visualpathit/account/service/SecurityService.class b/target/classes/com/visualpathit/account/service/SecurityService.class
new file mode 100644
index 000000000..876a0f8a7
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/SecurityService.class differ
diff --git a/target/classes/com/visualpathit/account/service/SecurityServiceImpl.class b/target/classes/com/visualpathit/account/service/SecurityServiceImpl.class
new file mode 100644
index 000000000..8603ad250
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/SecurityServiceImpl.class differ
diff --git a/target/classes/com/visualpathit/account/service/UserDetailsServiceImpl.class b/target/classes/com/visualpathit/account/service/UserDetailsServiceImpl.class
new file mode 100644
index 000000000..2cb1e6961
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/UserDetailsServiceImpl.class differ
diff --git a/target/classes/com/visualpathit/account/service/UserService.class b/target/classes/com/visualpathit/account/service/UserService.class
new file mode 100644
index 000000000..4188021c4
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/UserService.class differ
diff --git a/target/classes/com/visualpathit/account/service/UserServiceImpl.class b/target/classes/com/visualpathit/account/service/UserServiceImpl.class
new file mode 100644
index 000000000..e952f95fa
Binary files /dev/null and b/target/classes/com/visualpathit/account/service/UserServiceImpl.class differ
diff --git a/target/classes/com/visualpathit/account/utils/ElasticsearchUtil.class b/target/classes/com/visualpathit/account/utils/ElasticsearchUtil.class
new file mode 100644
index 000000000..b1a2a3c8e
Binary files /dev/null and b/target/classes/com/visualpathit/account/utils/ElasticsearchUtil.class differ
diff --git a/target/classes/com/visualpathit/account/utils/MemcachedUtils.class b/target/classes/com/visualpathit/account/utils/MemcachedUtils.class
new file mode 100644
index 000000000..cd0ba1e28
Binary files /dev/null and b/target/classes/com/visualpathit/account/utils/MemcachedUtils.class differ
diff --git a/target/classes/com/visualpathit/account/utils/RabbitMqUtil.class b/target/classes/com/visualpathit/account/utils/RabbitMqUtil.class
new file mode 100644
index 000000000..cfdc8e403
Binary files /dev/null and b/target/classes/com/visualpathit/account/utils/RabbitMqUtil.class differ
diff --git a/target/classes/com/visualpathit/account/validator/UserValidator.class b/target/classes/com/visualpathit/account/validator/UserValidator.class
new file mode 100644
index 000000000..44b31de61
Binary files /dev/null and b/target/classes/com/visualpathit/account/validator/UserValidator.class differ
diff --git a/target/classes/db_backup.sql b/target/classes/db_backup.sql
new file mode 100644
index 000000000..2f17a4df3
--- /dev/null
+++ b/target/classes/db_backup.sql
@@ -0,0 +1,133 @@
+-- MySQL dump 10.13 Distrib 5.7.18, for Linux (x86_64)
+--
+-- Host: localhost Database: accounts
+-- ------------------------------------------------------
+-- Server version 5.7.18-0ubuntu0.16.10.1
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `role`
+--
+
+DROP TABLE IF EXISTS `role`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `role` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(45) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `role`
+--
+
+LOCK TABLES `role` WRITE;
+/*!40000 ALTER TABLE `role` DISABLE KEYS */;
+INSERT INTO `role` VALUES (1,'ROLE_USER');
+/*!40000 ALTER TABLE `role` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `user`
+--
+
+DROP TABLE IF EXISTS `user`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `username` varchar(255) DEFAULT NULL,
+ `userEmail` varchar(255) DEFAULT NULL,
+ `profileImg` varchar(255) DEFAULT NULL,
+ `profileImgPath` varchar(255) DEFAULT NULL,
+ `dateOfBirth` varchar(255) DEFAULT NULL,
+ `fatherName` varchar(255) DEFAULT NULL,
+ `motherName` varchar(255) DEFAULT NULL,
+ `gender` varchar(255) DEFAULT NULL,
+ `maritalStatus` varchar(255) DEFAULT NULL,
+ `permanentAddress` varchar(255) DEFAULT NULL,
+ `tempAddress` varchar(255) DEFAULT NULL,
+ `primaryOccupation` varchar(255) DEFAULT NULL,
+ `secondaryOccupation` varchar(255) DEFAULT NULL,
+ `skills` varchar(255) DEFAULT NULL,
+ `phoneNumber` varchar(255) DEFAULT NULL,
+ `secondaryPhoneNumber` varchar(255) DEFAULT NULL,
+ `nationality` varchar(255) DEFAULT NULL,
+ `language` varchar(255) DEFAULT NULL,
+ `workingExperience` varchar(255) DEFAULT NULL,
+ `password` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `user`
+--
+
+LOCK TABLES `user` WRITE;
+/*!40000 ALTER TABLE `user` DISABLE KEYS */;
+
+INSERT INTO `user` VALUES (7,'admin_vp','admin@hkhinfo.com',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$11$0a7VdTr4rfCQqtsvpng6GuJnzUmQ7gZiHXgzGPgm5hkRa3avXgBLK')
+,(8,'Abrar Nirban','abrar.nirban74@gmail.com',NULL,NULL,'27/01/2002','A nirban','T nirban','male','unMarried','Dubai,UAE','Dubai,UAE','Software Engineer','Software Engineer','Java HTML CSS ','8888888888','8888888888','Indian','english','2 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6JAW'),
+(9,'Amayra Fatima','amayra@gmail.com',NULL,NULL,'20/06/1993','K','L','female','unMarried','Dubai,UAE','Dubai,UAE','Software Engineer','Software Engineer','Java HTML CSS ','9999999999','9999999999','India','english','5','$2a$11$gwvsvUrFU.YirMM1Yb7NweFudLUM91AzH5BDFnhkNzfzpjG.FplYO'),
+(10,'Aron','aron.DSilva@gmail.com',NULL,NULL,'27/01/2002','M nirban','R nirban','male','unMarried','Dubai,UAE','Dubai,UAE','Software Engineer','Software Engineer','Java HTML CSS ','7777777777','777777777','India','english','7','$2a$11$6oZEgfGGQAH23EaXLVZ2WOSKxcEJFnBSw2N2aghab0s2kcxSQwjhC'),
+(11,'Kiran Kumar','kiran@gmail.com',NULL,NULL,'8/12/1993','K K','RK','male','unMarried','SanFrancisco','James Street','Software Engineer','Software Engineer','Java HTML CSS ','1010101010','1010101010','India','english','10','$2a$11$EXwpna1MlFFlKW5ut1iVi.AoeIulkPPmcOHFO8pOoQt1IYU9COU0m'),
+(12,'Balbir Singh','balbir@gmail.com',NULL,NULL,'20/06/1993','balbir RK','balbir AK','male','unMarried','SanFrancisco','US','Software Engineer','Software Engineer','Java HTML CSS AWS','8888888111','8888888111','India','english','8','$2a$11$pzWNzzR.HUkHzz2zhAgqOeCl0WaTgY33NxxJ7n0l.rnEqjB9JO7vy'),
+(4,'Hibo Prince','hibo.prince@gmail.com',NULL,NULL,'6/09/2000','Abara','Queen','male','unMarried','Electronic City,UAE','Electronic City,UAE','Tester','Freelancing','Python PHP ','9146389863','9146389871','Indian','hindi','3 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6JAR'),
+(5,'Aejaaz Habeeb','aejaaz.habeeb@gmail.com',NULL,NULL,'16/02/2001','Imran','Ziya','male','unMarried','AbuDhabi,UAE','AbuDhabi,UAE','Developer','Developer','Azure Devops ','9566489863','9566489863','Indian','hindi','4 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6JAR'),
+(6,'Jackie','jackie.chan@gmail.com',NULL,NULL,'28/09/1992','Charles','Chan','male','Married','HongKong,China','HongKong,China','MartialArtist','MartialArtist','KungFu ','9246488863','9246488863','Chinese','Mandrian','1 ','$2a$11$UgG9TkHcgl02LxlqxRHYhOf7Xv4CxFmFEgS0FpUdk42OeslI.6RAR'),
+(13,'Srinath Goud','sgoud@gmail.com',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$11$6BSmYPrT8I8b9yHmx.uTRu/QxnQM2vhZYQa8mR33aReWA4WFihyGK');
+
+
+/*!40000 ALTER TABLE `user` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `user_role`
+--
+
+DROP TABLE IF EXISTS `user_role`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `user_role` (
+ `user_id` int(11) NOT NULL,
+ `role_id` int(11) NOT NULL,
+ PRIMARY KEY (`user_id`,`role_id`),
+ KEY `fk_user_role_roleid_idx` (`role_id`),
+ CONSTRAINT `fk_user_role_roleid` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
+ CONSTRAINT `fk_user_role_userid` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `user_role`
+--
+
+LOCK TABLES `user_role` WRITE;
+/*!40000 ALTER TABLE `user_role` DISABLE KEYS */;
+INSERT INTO `user_role` VALUES (4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1),(11,1),(12,1),(13,1);
+/*!40000 ALTER TABLE `user_role` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2023-21-06 05:49:31
diff --git a/target/classes/logback.xml b/target/classes/logback.xml
new file mode 100644
index 000000000..37959912a
--- /dev/null
+++ b/target/classes/logback.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+ %date{HH:mm:ss.SSS} [%thread] %-5level %logger{15}#%line %msg%n
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/target/classes/validation.properties b/target/classes/validation.properties
new file mode 100644
index 000000000..0453cdd3a
--- /dev/null
+++ b/target/classes/validation.properties
@@ -0,0 +1,5 @@
+NotEmpty=This field is required.
+Size.userForm.username=Please use between 6 and 32 characters.
+Duplicate.userForm.username= User has already taken this Username.
+Size.userForm.password=Try one with at least 8 characters.
+Diff.userForm.passwordConfirm=These passwords don't match.
\ No newline at end of file
diff --git a/target/test-classes/com/visualpathit/account/controllerTest/SampleTest.class b/target/test-classes/com/visualpathit/account/controllerTest/SampleTest.class
new file mode 100644
index 000000000..35fa69bc9
Binary files /dev/null and b/target/test-classes/com/visualpathit/account/controllerTest/SampleTest.class differ
diff --git a/target/test-classes/com/visualpathit/account/controllerTest/UserControllerTest.class b/target/test-classes/com/visualpathit/account/controllerTest/UserControllerTest.class
new file mode 100644
index 000000000..9df4778e5
Binary files /dev/null and b/target/test-classes/com/visualpathit/account/controllerTest/UserControllerTest.class differ
diff --git a/target/test-classes/com/visualpathit/account/modelTest/RoleTest.class b/target/test-classes/com/visualpathit/account/modelTest/RoleTest.class
new file mode 100644
index 000000000..f797ac1c7
Binary files /dev/null and b/target/test-classes/com/visualpathit/account/modelTest/RoleTest.class differ
diff --git a/target/test-classes/com/visualpathit/account/modelTest/UserTest.class b/target/test-classes/com/visualpathit/account/modelTest/UserTest.class
new file mode 100644
index 000000000..f045030c9
Binary files /dev/null and b/target/test-classes/com/visualpathit/account/modelTest/UserTest.class differ
diff --git a/target/test-classes/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class b/target/test-classes/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class
new file mode 100644
index 000000000..3d010491d
Binary files /dev/null and b/target/test-classes/com/visualpathit/account/setup/StandaloneMvcTestViewResolver.class differ