├── .github └── workflows │ └── codeql-analysis.yml ├── .gitignore ├── Logging-with-AOP ├── .gitignore ├── pom.xml ├── readme.md └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── AccountService.java │ │ ├── Audit.java │ │ ├── ExecutionInterceptor.java │ │ └── Main.java │ └── resources │ └── log4j.properties ├── SECURITY.md ├── SpringMVC_JavaConfig-Accessing-Form-Data ├── .gitignore ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── RootConfig.java │ │ ├── ServletConfig.java │ │ ├── WebInitializer.java │ │ ├── controller │ │ └── HomeController.java │ │ └── model │ │ └── User.java │ └── webapp │ └── WEB-INF │ └── views │ ├── form.jsp │ ├── formData.jsp │ └── index.jsp ├── SpringMVC_JavaConfig-Form-Data-Database-CRUD ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── RootConfig.java │ │ ├── ServletConfig.java │ │ ├── WebInitializer.java │ │ ├── controller │ │ └── UserController.java │ │ ├── model │ │ └── User.java │ │ └── service │ │ └── UserService.java │ ├── resources │ └── test.sql │ └── webapp │ └── WEB-INF │ └── views │ ├── allUsers.jsp │ ├── form.jsp │ ├── formData.jsp │ └── index.jsp ├── SpringMVC_JavaConfig-Form-Data-in-Memory-CRUD ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── RootConfig.java │ │ ├── ServletConfig.java │ │ ├── WebInitializer.java │ │ ├── controller │ │ └── UserController.java │ │ ├── model │ │ └── User.java │ │ └── service │ │ └── UserService.java │ └── webapp │ └── WEB-INF │ └── views │ ├── allUsers.jsp │ ├── form.jsp │ ├── formData.jsp │ └── index.jsp ├── SpringMVC_JavaConfig-TDD ├── pom.xml ├── readme.md └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mainul35 │ │ │ ├── MysqlConfig.java │ │ │ ├── RootConfig.java │ │ │ ├── ServletConfig.java │ │ │ ├── WebInitializer.java │ │ │ ├── controller │ │ │ └── UserController.java │ │ │ ├── model │ │ │ └── User.java │ │ │ ├── repository │ │ │ └── UserRepository.java │ │ │ └── service │ │ │ └── UserService.java │ ├── resources │ │ ├── application-linux.properties │ │ ├── application-windows.properties │ │ ├── application.properties │ │ └── test.sql │ └── webapp │ │ └── WEB-INF │ │ └── views │ │ ├── allUsers.jsp │ │ ├── form.jsp │ │ ├── formData.jsp │ │ └── index.jsp │ └── test │ └── java │ └── com.mainul35 │ └── HelloTest.java ├── SpringMVC_JavaConfig ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── RootConfig.java │ │ ├── ServletConfig.java │ │ ├── WebInitializer.java │ │ └── controller │ │ └── HomeController.java │ └── webapp │ └── WEB-INF │ └── views │ └── index.jsp ├── SpringMVC_Security_JavaConfig-in-Memory-authentication ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── RootConfig.java │ │ ├── SecurityConfig.java │ │ ├── SecurityInitializer.java │ │ ├── ServletConfig.java │ │ ├── WebInitializer.java │ │ ├── controller │ │ └── UserController.java │ │ ├── model │ │ └── User.java │ │ └── service │ │ └── UserService.java │ └── webapp │ └── WEB-INF │ └── views │ ├── allUsers.jsp │ ├── form.jsp │ ├── formData.jsp │ └── index.jsp ├── SpringMVC_Security_Java_Config_Adding-rendering-css ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── RootConfig.java │ │ ├── SecurityConfig.java │ │ ├── SecurityInitializer.java │ │ ├── ServletConfig.java │ │ ├── WebInitializer.java │ │ ├── controller │ │ └── UserController.java │ │ ├── model │ │ └── User.java │ │ └── service │ │ └── UserService.java │ └── webapp │ ├── WEB-INF │ └── views │ │ ├── allUsers.jsp │ │ ├── form.jsp │ │ ├── formData.jsp │ │ ├── index.jsp │ │ └── script.jsp │ └── resources │ └── style.css ├── basic-CDI-with-annotations-and-reflections ├── .gitignoe ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── mainul35 │ ├── application │ ├── AppService.java │ ├── AppService2.java │ ├── AppServiceCaller.java │ ├── Main.java │ └── test_annotation │ │ ├── TestAnnotation.java │ │ └── TestAnnotationTester.java │ └── cdi │ ├── Autowired.java │ ├── Component.java │ └── ContextHolder.java ├── jakartaee-servlet-demo ├── .gitignore ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ └── jakartaeeservletdemo │ │ ├── HelloServlet.java │ │ ├── RegistrationServlet.java │ │ └── model │ │ └── User.java │ └── webapp │ ├── WEB-INF │ └── web.xml │ ├── index.jsp │ ├── registration-success.jsp │ └── registration.jsp ├── javaee-servlet-demo ├── .gitignore ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ └── javaeeservletdemo │ │ ├── HelloServlet.java │ │ ├── RegistrationServlet.java │ │ └── model │ │ └── User.java │ └── webapp │ ├── WEB-INF │ └── web.xml │ ├── index.jsp │ ├── registration-success.jsp │ └── registration.jsp ├── ng-reactive-spring-r2dbc ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── fe-reservation │ ├── .editorconfig │ ├── .gitignore │ ├── README.md │ ├── angular.json │ ├── browserslist │ ├── e2e │ │ ├── protractor.conf.js │ │ ├── src │ │ │ ├── app.e2e-spec.ts │ │ │ └── app.po.ts │ │ └── tsconfig.json │ ├── karma.conf.js │ ├── package.json │ ├── src │ │ ├── app │ │ │ ├── app-routing.module.ts │ │ │ ├── app.component.css │ │ │ ├── app.component.html │ │ │ ├── app.component.spec.ts │ │ │ ├── app.component.ts │ │ │ ├── app.module.ts │ │ │ └── services │ │ │ │ └── reservation │ │ │ │ ├── reservation.service.spec.ts │ │ │ │ └── reservation.service.ts │ │ ├── assets │ │ │ ├── .gitkeep │ │ │ └── images │ │ │ │ ├── arrow.png │ │ │ │ ├── dining_lattes.jpg │ │ │ │ ├── dining_rooftop.jpg │ │ │ │ ├── dining_smoothiebar.jpg │ │ │ │ ├── facebook.png │ │ │ │ ├── hotel │ │ │ │ └── splash_hotelphoto.jpg │ │ │ │ ├── intro_attractions.jpg │ │ │ │ ├── intro_dining.jpg │ │ │ │ ├── intro_pool.jpg │ │ │ │ ├── intro_room.jpg │ │ │ │ ├── intro_wedding.jpg │ │ │ │ ├── twitter.png │ │ │ │ └── youtube.png │ │ ├── environments │ │ │ ├── environment.prod.ts │ │ │ └── environment.ts │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── main.ts │ │ ├── polyfills.ts │ │ ├── styles.css │ │ └── test.ts │ ├── tsconfig.app.json │ ├── tsconfig.json │ ├── tsconfig.spec.json │ └── tslint.json ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mainul35 │ │ │ ├── ReactivespringApplication.java │ │ │ ├── config │ │ │ ├── ApiConfig.java │ │ │ └── DataConfig.java │ │ │ ├── controller │ │ │ └── ReservationController.java │ │ │ ├── model │ │ │ └── Reservation.java │ │ │ ├── repositories │ │ │ └── ReservationRepository.java │ │ │ └── service │ │ │ ├── IReservationService.java │ │ │ └── ReservationService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── linkedinlearning │ └── reactivespring │ ├── ReactivespringApplicationTests.java │ └── controller │ └── ReservationControllerTest.java ├── reactive-mongo-example-1 ├── Readme.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mainul35 │ │ │ └── example │ │ │ ├── ReactiveMongoExample1Application.java │ │ │ ├── model │ │ │ ├── Employee.java │ │ │ └── EmployeeEvent.java │ │ │ ├── repositories │ │ │ └── EmployeeRepository.java │ │ │ └── restControllers │ │ │ └── EmployeeController.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mainul35 │ └── example │ └── ReactiveMongoExample1ApplicationTests.java ├── spring-boot-REST-OAuth2 ├── archived │ ├── readme.md │ └── spring-boot-REST-OAuth2 │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── springtutorials │ │ │ ├── Config.java │ │ │ ├── Dao │ │ │ └── UserDao.java │ │ │ ├── DaoImpl │ │ │ └── UserDaoImpl.java │ │ │ ├── JdbcManager │ │ │ ├── JdbcManager.java │ │ │ ├── JdbcManagerService.java │ │ │ └── QueryException.java │ │ │ ├── Main.java │ │ │ ├── Repository │ │ │ ├── AuthorityRepository.java │ │ │ ├── CountryRepository.java │ │ │ ├── StudentRepository.java │ │ │ ├── SubjectRepository.java │ │ │ └── UserRepository.java │ │ │ ├── Rest │ │ │ └── StudentRestController.java │ │ │ ├── Security │ │ │ └── oauth2 │ │ │ │ ├── AuthorizationServerConfig.java │ │ │ │ ├── CORSFilter.java │ │ │ │ ├── OAuth2SecurityConfig.java │ │ │ │ ├── ResourceServerConfig.java │ │ │ │ └── SecurityWebApplicationInitializer.java │ │ │ ├── Service │ │ │ ├── AuthorityService.java │ │ │ ├── CountryService.java │ │ │ ├── StudentService.java │ │ │ ├── SubjectService.java │ │ │ └── UserService.java │ │ │ ├── beans │ │ │ └── Beans.java │ │ │ ├── model │ │ │ ├── Authority.java │ │ │ ├── Country.java │ │ │ ├── Sex.java │ │ │ ├── Student.java │ │ │ ├── Subject.java │ │ │ └── User.java │ │ │ └── util │ │ │ └── Validator.java │ │ └── resources │ │ ├── application.properties │ │ └── static │ │ └── contents │ │ ├── css │ │ ├── header.css │ │ ├── login.css │ │ └── signup.css │ │ └── js │ │ ├── jQuery.fn.sortElements.js │ │ ├── signup.js │ │ ├── sort_table.js │ │ └── validation.js ├── oauth2-authorization-server-with-mongo-token-store │ ├── pom.xml │ ├── readme.md │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── mainul35 │ │ ├── AuthorizationServerApplication.java │ │ ├── config │ │ ├── AuthenticationImpl.java │ │ ├── AuthenticationManagerImpl.java │ │ ├── AuthorizationServerConfiguration.java │ │ ├── BeanConfiguration.java │ │ └── MongoTokenStore.java │ │ ├── domain │ │ ├── Member.java │ │ ├── OAuth2AccessTokenDomain.java │ │ ├── OAuth2RequestDomain.java │ │ └── Role.java │ │ ├── repository │ │ └── MemberRepository.java │ │ └── service │ │ └── UserServiceImpl.java └── spring-boot-oauth2 │ ├── pom.xml │ ├── readme.md │ └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mainul35 │ │ │ └── authServer │ │ │ ├── AuthorizationServerApplication.java │ │ │ ├── CORSFilter.java │ │ │ ├── controller │ │ │ ├── Apiv2Controller.java │ │ │ └── UserController.java │ │ │ ├── model │ │ │ └── User.java │ │ │ ├── securityConfig │ │ │ ├── AuthorizationServerConfiguration.java │ │ │ ├── MethodSecurityConfig.java │ │ │ ├── OAuth2SecurityConfiguration.java │ │ │ ├── ResourceServerConfiguration.java │ │ │ └── SecurityWebApplicationInitializer.java │ │ │ └── service │ │ │ ├── UserService.java │ │ │ └── UserServiceImpl.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mainul35 │ └── authServer │ └── AuthorizationServerApplicationTests.java ├── spring-boot-jaxrs ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml ├── readme.md └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mainul35 │ │ │ └── springbootjaxrs │ │ │ ├── JerseyConfig.java │ │ │ ├── SpringBootJaxrsApplication.java │ │ │ ├── controller │ │ │ └── HomeController.java │ │ │ ├── model │ │ │ └── User.java │ │ │ ├── resource │ │ │ └── UserResource.java │ │ │ └── service │ │ │ └── UserService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mainul35 │ └── springbootjaxrs │ └── SpringBootJaxrsApplicationTests.java ├── spring-boot-rabbit-mq ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── MavenWrapperDownloader.java │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mainul35 │ │ │ ├── SpringBootRabbitMqApplication.java │ │ │ ├── config │ │ │ ├── RabbitMQConsumerConfig.java │ │ │ └── RabbitMQProducerConfig.java │ │ │ ├── controller │ │ │ └── RabbitMQWebController.java │ │ │ ├── model │ │ │ └── ChatMessage.java │ │ │ └── service │ │ │ ├── RabbitMQListener.java │ │ │ └── RabbitMQSender.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mainul35 │ └── SpringBootRabbitMqApplicationTests.java ├── spring-boot-react ├── microservice-style │ ├── Readme.md │ ├── client │ │ ├── README.md │ │ ├── images.d.ts │ │ ├── package.json │ │ ├── public │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ └── manifest.json │ │ ├── src │ │ │ ├── App.css │ │ │ ├── App.test.tsx │ │ │ ├── App.tsx │ │ │ ├── EmployeeList.tsx │ │ │ ├── GiphyImage.tsx │ │ │ ├── index.css │ │ │ ├── index.tsx │ │ │ ├── logo.svg │ │ │ └── registerServiceWorker.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.prod.json │ │ ├── tsconfig.test.json │ │ ├── tslint.json │ │ └── yarn.lock │ └── resource-server │ │ ├── pom.xml │ │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── mainul35 │ │ │ │ └── example │ │ │ │ ├── Employee.java │ │ │ │ ├── EmployeeController.java │ │ │ │ └── ResourceServerApplication.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── mainul35 │ │ └── example │ │ └── ResourceServerApplicationTests.java └── monolithic-style │ ├── .babelrc │ ├── README.md │ ├── package.json │ ├── pom.xml │ ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── mainul35 │ │ │ │ └── chainservice │ │ │ │ ├── ChainserviceApplication.java │ │ │ │ ├── controllers │ │ │ │ ├── HomeController.java │ │ │ │ └── RestControllers │ │ │ │ │ └── UserRestController.java │ │ │ │ ├── model │ │ │ │ └── domain │ │ │ │ │ ├── mongoDomains │ │ │ │ │ └── User.java │ │ │ │ │ └── sqlDomains │ │ │ │ │ ├── Authority.java │ │ │ │ │ ├── Employee.java │ │ │ │ │ └── UserEntity.java │ │ │ │ ├── repositories │ │ │ │ ├── mongoRepositories │ │ │ │ │ └── UserMongoRepository.java │ │ │ │ └── sqlRepositories │ │ │ │ │ ├── AuthorityRepository.java │ │ │ │ │ ├── EmployeeRepository.java │ │ │ │ │ └── UserRepository.java │ │ │ │ ├── securityConfig │ │ │ │ ├── AuthorizationServerConfiguration.java │ │ │ │ ├── MethodSecurityConfig.java │ │ │ │ ├── OAuth2SecurityConfiguration.java │ │ │ │ ├── ResourceServerConfiguration.java │ │ │ │ └── SecurityWebApplicationInitializer.java │ │ │ │ └── service │ │ │ │ ├── AuthorityService.java │ │ │ │ └── UserService.java │ │ └── resources │ │ │ ├── META-INF │ │ │ └── additional-spring-configuration-metadata.json │ │ │ ├── application.properties │ │ │ ├── schema.sql │ │ │ ├── static │ │ │ ├── built │ │ │ │ ├── bundle.js │ │ │ │ └── bundle.js.map │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ └── template_components │ │ │ │ │ └── front_end │ │ │ │ │ └── header.js │ │ │ └── styles │ │ │ │ ├── base │ │ │ │ └── _base.scss │ │ │ │ └── main.scss │ │ │ └── templates │ │ │ └── index.html │ └── test │ │ └── java │ │ └── com │ │ └── mainul35 │ │ └── chainservice │ │ └── chainservice │ │ └── ChainserviceApplicationTests.java │ └── webpack.config.js ├── spring-boot-thymeleaf-CRUD ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── springtutorials │ │ ├── Controller │ │ ├── DemoController.java │ │ ├── LoginController.java │ │ └── StudentController.java │ │ ├── Entity │ │ ├── Authority.java │ │ ├── Student.java │ │ └── User.java │ │ ├── Main.java │ │ ├── MysqlConfig.java │ │ ├── Repository │ │ ├── AuthorityRepository.java │ │ ├── StudentRepository.java │ │ └── UserRepository.java │ │ ├── Rest │ │ └── StudentRestController.java │ │ ├── Security │ │ ├── CustomAuthSuccessHandler.java │ │ └── WebSecurityConfig.java │ │ ├── Service │ │ ├── AuthorityService.java │ │ ├── CountryService.java │ │ ├── StudentService.java │ │ ├── SubjectService.java │ │ └── UserService.java │ │ ├── beans │ │ └── Beans.java │ │ ├── model │ │ ├── Country.java │ │ ├── Sex.java │ │ └── Subject.java │ │ └── util │ │ └── Validator.java │ └── resources │ ├── application.properties │ ├── schema.sql │ ├── static │ └── contents │ │ ├── css │ │ ├── header.css │ │ ├── login.css │ │ └── signup.css │ │ └── js │ │ ├── jQuery.fn.sortElements.js │ │ ├── signup.js │ │ ├── sort_table.js │ │ └── validation.js │ └── templates │ ├── 403.html │ ├── country │ └── add.html │ ├── includes │ ├── components.html │ └── header.html │ ├── index.html │ ├── login.html │ ├── signup.html │ ├── student │ ├── create.html │ ├── show.html │ └── update.html │ └── subject │ └── add.html ├── spring-boot-websocket ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ └── websocket │ │ ├── Greeting.java │ │ ├── GreetingController.java │ │ ├── HelloMessage.java │ │ ├── WSConfig.java │ │ └── WebSocketMain.java │ └── resources │ └── static │ ├── app.js │ └── index.html ├── spring-cloud-jwt-security ├── .gitignore ├── Readme.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── mainul35 │ │ │ ├── DiscoveryServerApplication.java │ │ │ ├── config │ │ │ └── security │ │ │ │ ├── JwtAuthenticationFilter.java │ │ │ │ ├── JwtAuthorizationFilter.java │ │ │ │ ├── SecurityConstants.java │ │ │ │ └── WebSecurity.java │ │ │ ├── controller │ │ │ ├── MemberController.java │ │ │ └── TaskController.java │ │ │ ├── domain │ │ │ ├── Member.java │ │ │ ├── Role.java │ │ │ └── Task.java │ │ │ ├── repository │ │ │ ├── MemberRepository.java │ │ │ ├── RoleRepository.java │ │ │ └── TaskRepository.java │ │ │ └── service │ │ │ └── MemberService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── mainul35 │ └── DiscoveryServerApplicationTests.java ├── spring-mvc-form-based-security-with-database ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── springtutorials │ │ │ ├── Dao │ │ │ └── UserDao.java │ │ │ ├── Model │ │ │ ├── Beans.java │ │ │ ├── PasswordHashingUtil.java │ │ │ ├── Role.java │ │ │ └── User.java │ │ │ ├── Service │ │ │ ├── UserDaoImpl.java │ │ │ └── UserService.java │ │ │ ├── controller │ │ │ ├── HomeController.java │ │ │ └── UserController.java │ │ │ └── security │ │ │ ├── CustomAuthenticationProvider.java │ │ │ └── CustomAuthenticationSuccessHandler.java │ └── webapp │ │ ├── WEB-INF │ │ ├── dispatcher-servlet.xml │ │ ├── pages │ │ │ ├── create_user.jsp │ │ │ ├── css.jsp │ │ │ ├── header.jsp │ │ │ ├── index.jsp │ │ │ ├── js.jsp │ │ │ ├── login.jsp │ │ │ └── show_user_list.jsp │ │ ├── spring-security.xml │ │ └── web.xml │ │ └── resources │ │ ├── css │ │ ├── bootstrap.css │ │ ├── bootstrap.min.css │ │ ├── custom.min.css │ │ └── main.css │ │ └── js │ │ └── bootstrap.min.js │ └── test │ ├── java │ └── TwistedNumber.java │ └── resources │ └── application.properties ├── spring-mvc-form-based-security-xml ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── springtutorials │ │ │ ├── Dao │ │ │ └── UserDao.java │ │ │ ├── Model │ │ │ ├── Beans.java │ │ │ ├── PasswordHashingUtil.java │ │ │ ├── Role.java │ │ │ └── User.java │ │ │ ├── Service │ │ │ ├── UserDaoImpl.java │ │ │ └── UserService.java │ │ │ ├── controller │ │ │ ├── HomeController.java │ │ │ └── UserController.java │ │ │ └── security │ │ │ ├── CustomAuthenticationProvider.java │ │ │ └── CustomAuthenticationSuccessHandler.java │ └── webapp │ │ ├── WEB-INF │ │ ├── dispatcher-servlet.xml │ │ ├── pages │ │ │ ├── create_user.jsp │ │ │ ├── css.jsp │ │ │ ├── header.jsp │ │ │ ├── index.jsp │ │ │ ├── js.jsp │ │ │ ├── login.jsp │ │ │ └── show_user_list.jsp │ │ ├── spring-security.xml │ │ └── web.xml │ │ └── resources │ │ ├── css │ │ ├── bootstrap.css │ │ ├── bootstrap.min.css │ │ ├── custom.min.css │ │ └── main.css │ │ └── js │ │ └── bootstrap.min.js │ └── test │ └── resources │ └── application.properties ├── spring-mvc-jdbc-basic-security-xml ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── springtutorials │ │ │ ├── Dao │ │ │ └── UserDao.java │ │ │ ├── Model │ │ │ ├── Beans.java │ │ │ ├── PasswordHashingUtil.java │ │ │ ├── Role.java │ │ │ └── User.java │ │ │ ├── Service │ │ │ ├── UserDaoImpl.java │ │ │ └── UserService.java │ │ │ ├── controller │ │ │ ├── HomeController.java │ │ │ └── UserController.java │ │ │ └── security │ │ │ └── CustomAuthenticationProvider.java │ └── webapp │ │ └── WEB-INF │ │ ├── dispatcher-servlet.xml │ │ ├── pages │ │ ├── create_user.jsp │ │ ├── index.jsp │ │ └── show_user_list.jsp │ │ ├── spring-security.xml │ │ └── web.xml │ └── test │ └── resources │ └── application.properties ├── spring-tutorials-jdbcTemplate ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── springtutorials │ │ │ ├── Dao │ │ │ └── UserDao.java │ │ │ ├── Model │ │ │ ├── Beans.java │ │ │ └── User.java │ │ │ ├── Service │ │ │ └── UserDaoImpl.java │ │ │ └── controller │ │ │ ├── HomeController.java │ │ │ └── UserController.java │ └── webapp │ │ └── WEB-INF │ │ ├── dispatcher-servlet.xml │ │ ├── pages │ │ ├── create_user.jsp │ │ ├── index.jsp │ │ └── show_user_list.jsp │ │ └── web.xml │ └── test │ └── resources │ └── application.properties ├── spring-tutorials-webmvc ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── springtutorials │ │ └── controller │ │ └── HomeController.java │ └── webapp │ └── WEB-INF │ ├── dispatcher-servlet.xml │ ├── pages │ └── index.jsp │ └── web.xml ├── spring6-jakartaee--hello-world-poc ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── mainul35 │ │ ├── configuration │ │ ├── ApplicationConfig.java │ │ ├── RootConfig.java │ │ └── WebMvcConfig.java │ │ └── controllers │ │ └── HelloController.java │ └── webapp │ └── WEB-INF │ └── views │ └── hello.jsp └── tomcat10 ├── BUILDING.txt ├── CONTRIBUTING.md ├── LICENSE ├── NOTICE ├── README.md ├── RELEASE-NOTES ├── RUNNING.txt ├── bin ├── bootstrap.jar ├── catalina-tasks.xml ├── catalina.bat ├── catalina.sh ├── ciphers.bat ├── ciphers.sh ├── commons-daemon-native.tar.gz ├── commons-daemon.jar ├── configtest.bat ├── configtest.sh ├── daemon.sh ├── digest.bat ├── digest.sh ├── makebase.bat ├── makebase.sh ├── migrate.bat ├── migrate.sh ├── setclasspath.bat ├── setclasspath.sh ├── shutdown.bat ├── shutdown.sh ├── startup.bat ├── startup.sh ├── tomcat-juli.jar ├── tomcat-native.tar.gz ├── tool-wrapper.bat ├── tool-wrapper.sh ├── version.bat └── version.sh ├── certs └── mainul35.dev.jks ├── conf ├── .server.xml.swp ├── catalina.policy ├── catalina.properties ├── context.xml ├── jaspic-providers.xml ├── jaspic-providers.xsd ├── logging.properties ├── server.xml ├── tomcat-users.xml ├── tomcat-users.xsd └── web.xml ├── lib ├── annotations-api.jar ├── catalina-ant.jar ├── catalina-ha.jar ├── catalina-ssi.jar ├── catalina-storeconfig.jar ├── catalina-tribes.jar ├── catalina.jar ├── ecj-4.27.jar ├── el-api.jar ├── jakartaee-migration-1.0.6-shaded.jar ├── jasper-el.jar ├── jasper.jar ├── jaspic-api.jar ├── jsp-api.jar ├── servlet-api.jar ├── tomcat-api.jar ├── tomcat-coyote.jar ├── tomcat-dbcp.jar ├── tomcat-i18n-cs.jar ├── tomcat-i18n-de.jar ├── tomcat-i18n-es.jar ├── tomcat-i18n-fr.jar ├── tomcat-i18n-ja.jar ├── tomcat-i18n-ko.jar ├── tomcat-i18n-pt-BR.jar ├── tomcat-i18n-ru.jar ├── tomcat-i18n-zh-CN.jar ├── tomcat-jdbc.jar ├── tomcat-jni.jar ├── tomcat-util-scan.jar ├── tomcat-util.jar ├── tomcat-websocket.jar ├── websocket-api.jar └── websocket-client-api.jar ├── logs ├── catalina.2023-04-21.log ├── catalina.out ├── localhost.2023-04-21.log └── localhost_access_log.2023-04-21.txt ├── temp └── safeToDelete.tmp ├── webapps ├── ROOT.war ├── ROOT │ ├── RELEASE-NOTES.txt │ ├── WEB-INF │ │ └── web.xml │ ├── asf-logo-wide.svg │ ├── bg-button.png │ ├── bg-middle.png │ ├── bg-nav.png │ ├── bg-upper.png │ ├── favicon.ico │ ├── index.jsp │ ├── tomcat.css │ └── tomcat.svg ├── docs │ ├── BUILDING.txt │ ├── META-INF │ │ └── context.xml │ ├── RELEASE-NOTES.txt │ ├── RUNNING.txt │ ├── WEB-INF │ │ ├── jsp │ │ │ └── 403.jsp │ │ └── web.xml │ ├── aio.html │ ├── annotationapi │ │ └── index.html │ ├── api │ │ └── index.html │ ├── appdev │ │ ├── build.xml.txt │ │ ├── deployment.html │ │ ├── index.html │ │ ├── installation.html │ │ ├── introduction.html │ │ ├── processes.html │ │ ├── sample │ │ │ ├── build.xml │ │ │ ├── docs │ │ │ │ └── README.txt │ │ │ ├── index.html │ │ │ ├── sample.war │ │ │ ├── src │ │ │ │ └── mypackage │ │ │ │ │ └── Hello.java │ │ │ └── web │ │ │ │ ├── WEB-INF │ │ │ │ └── web.xml │ │ │ │ ├── hello.jsp │ │ │ │ ├── images │ │ │ │ └── tomcat.gif │ │ │ │ └── index.html │ │ ├── source.html │ │ └── web.xml.txt │ ├── apr.html │ ├── architecture │ │ ├── index.html │ │ ├── overview.html │ │ ├── requestProcess.html │ │ ├── requestProcess │ │ │ ├── authentication-process.png │ │ │ └── request-process.png │ │ ├── startup.html │ │ └── startup │ │ │ ├── serverStartup.pdf │ │ │ └── serverStartup.txt │ ├── balancer-howto.html │ ├── building.html │ ├── cdi.html │ ├── cgi-howto.html │ ├── changelog.html │ ├── class-loader-howto.html │ ├── cluster-howto.html │ ├── comments.html │ ├── config │ │ ├── ajp.html │ │ ├── automatic-deployment.html │ │ ├── cluster-channel.html │ │ ├── cluster-deployer.html │ │ ├── cluster-interceptor.html │ │ ├── cluster-listener.html │ │ ├── cluster-manager.html │ │ ├── cluster-membership.html │ │ ├── cluster-receiver.html │ │ ├── cluster-sender.html │ │ ├── cluster-valve.html │ │ ├── cluster.html │ │ ├── context.html │ │ ├── cookie-processor.html │ │ ├── credentialhandler.html │ │ ├── engine.html │ │ ├── executor.html │ │ ├── filter.html │ │ ├── globalresources.html │ │ ├── host.html │ │ ├── http.html │ │ ├── http2.html │ │ ├── index.html │ │ ├── jar-scan-filter.html │ │ ├── jar-scanner.html │ │ ├── jaspic.html │ │ ├── listeners.html │ │ ├── loader.html │ │ ├── manager.html │ │ ├── realm.html │ │ ├── resources.html │ │ ├── server.html │ │ ├── service.html │ │ ├── sessionidgenerator.html │ │ ├── systemprops.html │ │ └── valve.html │ ├── connectors.html │ ├── default-servlet.html │ ├── deployer-howto.html │ ├── developers.html │ ├── elapi │ │ └── index.html │ ├── graal.html │ ├── host-manager-howto.html │ ├── html-host-manager-howto.html │ ├── html-manager-howto.html │ ├── images │ │ ├── add.gif │ │ ├── asf-logo.svg │ │ ├── code.gif │ │ ├── cors-flowchart.png │ │ ├── design.gif │ │ ├── docs-stylesheet.css │ │ ├── docs.gif │ │ ├── fix.gif │ │ ├── fonts │ │ │ ├── OpenSans400.woff │ │ │ ├── OpenSans400italic.woff │ │ │ ├── OpenSans600.woff │ │ │ ├── OpenSans600italic.woff │ │ │ ├── OpenSans700.woff │ │ │ ├── OpenSans700italic.woff │ │ │ └── fonts.css │ │ ├── tomcat.gif │ │ ├── tomcat.png │ │ ├── update.gif │ │ └── void.gif │ ├── index.html │ ├── introduction.html │ ├── jasper-howto.html │ ├── jaspicapi │ │ └── index.html │ ├── jdbc-pool.html │ ├── jndi-datasource-examples-howto.html │ ├── jndi-resources-howto.html │ ├── jspapi │ │ └── index.html │ ├── logging.html │ ├── manager-howto.html │ ├── maven-jars.html │ ├── mbeans-descriptors-howto.html │ ├── mbeans-descriptors.dtd │ ├── monitoring.html │ ├── proxy-howto.html │ ├── realm-howto.html │ ├── rewrite.html │ ├── security-howto.html │ ├── security-manager-howto.html │ ├── servletapi │ │ └── index.html │ ├── setup.html │ ├── ssi-howto.html │ ├── ssl-howto.html │ ├── tribes │ │ ├── developers.html │ │ ├── faq.html │ │ ├── interceptors.html │ │ ├── introduction.html │ │ ├── membership.html │ │ ├── setup.html │ │ ├── status.html │ │ └── transport.html │ ├── virtual-hosting-howto.html │ ├── web-socket-howto.html │ ├── websocketapi │ │ └── index.html │ ├── windows-auth-howto.html │ └── windows-service-howto.html ├── examples │ ├── META-INF │ │ └── context.xml │ ├── WEB-INF │ │ ├── classes │ │ │ ├── CookieExample.class │ │ │ ├── CookieExample.java │ │ │ ├── HelloWorldExample.class │ │ │ ├── HelloWorldExample.java │ │ │ ├── LocalStrings.properties │ │ │ ├── LocalStrings_cs.properties │ │ │ ├── LocalStrings_de.properties │ │ │ ├── LocalStrings_es.properties │ │ │ ├── LocalStrings_fr.properties │ │ │ ├── LocalStrings_ja.properties │ │ │ ├── LocalStrings_ko.properties │ │ │ ├── LocalStrings_pt.properties │ │ │ ├── LocalStrings_pt_BR.properties │ │ │ ├── LocalStrings_ru.properties │ │ │ ├── LocalStrings_zh_CN.properties │ │ │ ├── RequestHeaderExample.class │ │ │ ├── RequestHeaderExample.java │ │ │ ├── RequestInfoExample.class │ │ │ ├── RequestInfoExample.java │ │ │ ├── RequestParamExample.class │ │ │ ├── RequestParamExample.java │ │ │ ├── ServletToJsp.class │ │ │ ├── ServletToJsp.java │ │ │ ├── SessionExample.class │ │ │ ├── SessionExample.java │ │ │ ├── async │ │ │ │ ├── Async0$1.class │ │ │ │ ├── Async0.class │ │ │ │ ├── Async0.java │ │ │ │ ├── Async1$1.class │ │ │ │ ├── Async1.class │ │ │ │ ├── Async1.java │ │ │ │ ├── Async2$1.class │ │ │ │ ├── Async2.class │ │ │ │ ├── Async2.java │ │ │ │ ├── Async3.class │ │ │ │ ├── Async3.java │ │ │ │ ├── AsyncStockContextListener.class │ │ │ │ ├── AsyncStockContextListener.java │ │ │ │ ├── AsyncStockServlet.class │ │ │ │ ├── AsyncStockServlet.java │ │ │ │ ├── Stockticker$Stock.class │ │ │ │ ├── Stockticker$TickListener.class │ │ │ │ ├── Stockticker.class │ │ │ │ └── Stockticker.java │ │ │ ├── cal │ │ │ │ ├── Entries.class │ │ │ │ ├── Entries.java │ │ │ │ ├── Entry.class │ │ │ │ ├── Entry.java │ │ │ │ ├── JspCalendar.class │ │ │ │ ├── JspCalendar.java │ │ │ │ ├── TableBean.class │ │ │ │ └── TableBean.java │ │ │ ├── checkbox │ │ │ │ ├── CheckTest.class │ │ │ │ └── CheckTest.java │ │ │ ├── colors │ │ │ │ ├── ColorGameBean.class │ │ │ │ └── ColorGameBean.java │ │ │ ├── compressionFilters │ │ │ │ ├── CompressionFilter.class │ │ │ │ ├── CompressionFilter.java │ │ │ │ ├── CompressionFilterTestServlet.class │ │ │ │ ├── CompressionFilterTestServlet.java │ │ │ │ ├── CompressionResponseStream.class │ │ │ │ ├── CompressionResponseStream.java │ │ │ │ ├── CompressionServletResponseWrapper.class │ │ │ │ └── CompressionServletResponseWrapper.java │ │ │ ├── dates │ │ │ │ ├── JspCalendar.class │ │ │ │ └── JspCalendar.java │ │ │ ├── error │ │ │ │ ├── Smart.class │ │ │ │ └── Smart.java │ │ │ ├── examples │ │ │ │ ├── ExampleTagBase.class │ │ │ │ ├── ExampleTagBase.java │ │ │ │ ├── FooTag.class │ │ │ │ ├── FooTag.java │ │ │ │ ├── FooTagExtraInfo.class │ │ │ │ ├── FooTagExtraInfo.java │ │ │ │ ├── LogTag.class │ │ │ │ ├── LogTag.java │ │ │ │ ├── ValuesTag.class │ │ │ │ └── ValuesTag.java │ │ │ ├── filters │ │ │ │ ├── ExampleFilter.class │ │ │ │ └── ExampleFilter.java │ │ │ ├── http2 │ │ │ │ ├── SimpleImagePush.class │ │ │ │ └── SimpleImagePush.java │ │ │ ├── jsp2 │ │ │ │ └── examples │ │ │ │ │ ├── BookBean.class │ │ │ │ │ ├── BookBean.java │ │ │ │ │ ├── FooBean.class │ │ │ │ │ ├── FooBean.java │ │ │ │ │ ├── ValuesBean.class │ │ │ │ │ ├── ValuesBean.java │ │ │ │ │ ├── el │ │ │ │ │ ├── Functions.class │ │ │ │ │ └── Functions.java │ │ │ │ │ └── simpletag │ │ │ │ │ ├── EchoAttributesTag.class │ │ │ │ │ ├── EchoAttributesTag.java │ │ │ │ │ ├── FindBookSimpleTag.class │ │ │ │ │ ├── FindBookSimpleTag.java │ │ │ │ │ ├── HelloWorldSimpleTag.class │ │ │ │ │ ├── HelloWorldSimpleTag.java │ │ │ │ │ ├── RepeatSimpleTag.class │ │ │ │ │ ├── RepeatSimpleTag.java │ │ │ │ │ ├── ShuffleSimpleTag.class │ │ │ │ │ ├── ShuffleSimpleTag.java │ │ │ │ │ ├── TileSimpleTag.class │ │ │ │ │ └── TileSimpleTag.java │ │ │ ├── listeners │ │ │ │ ├── ContextListener.class │ │ │ │ ├── ContextListener.java │ │ │ │ ├── SessionListener.class │ │ │ │ └── SessionListener.java │ │ │ ├── nonblocking │ │ │ │ ├── ByteCounter$CounterListener.class │ │ │ │ ├── ByteCounter.class │ │ │ │ ├── ByteCounter.java │ │ │ │ ├── NumberWriter$NumberWriterListener.class │ │ │ │ ├── NumberWriter.class │ │ │ │ └── NumberWriter.java │ │ │ ├── num │ │ │ │ ├── NumberGuessBean.class │ │ │ │ └── NumberGuessBean.java │ │ │ ├── sessions │ │ │ │ ├── DummyCart.class │ │ │ │ └── DummyCart.java │ │ │ ├── trailers │ │ │ │ ├── ResponseTrailers$TrailerFieldSupplier.class │ │ │ │ ├── ResponseTrailers.class │ │ │ │ └── ResponseTrailers.java │ │ │ ├── util │ │ │ │ ├── CookieFilter.class │ │ │ │ ├── CookieFilter.java │ │ │ │ ├── HTMLFilter.class │ │ │ │ └── HTMLFilter.java │ │ │ ├── validators │ │ │ │ ├── DebugValidator.class │ │ │ │ └── DebugValidator.java │ │ │ └── websocket │ │ │ │ ├── ExamplesConfig.class │ │ │ │ ├── ExamplesConfig.java │ │ │ │ ├── chat │ │ │ │ ├── ChatAnnotation.class │ │ │ │ └── ChatAnnotation.java │ │ │ │ ├── drawboard │ │ │ │ ├── Client$1.class │ │ │ │ ├── Client.class │ │ │ │ ├── Client.java │ │ │ │ ├── DrawMessage$ParseException.class │ │ │ │ ├── DrawMessage.class │ │ │ │ ├── DrawMessage.java │ │ │ │ ├── DrawboardContextListener.class │ │ │ │ ├── DrawboardContextListener.java │ │ │ │ ├── DrawboardEndpoint$1.class │ │ │ │ ├── DrawboardEndpoint$2.class │ │ │ │ ├── DrawboardEndpoint$3$1.class │ │ │ │ ├── DrawboardEndpoint$3.class │ │ │ │ ├── DrawboardEndpoint.class │ │ │ │ ├── DrawboardEndpoint.java │ │ │ │ ├── Room$1$1.class │ │ │ │ ├── Room$1.class │ │ │ │ ├── Room$2.class │ │ │ │ ├── Room$MessageType.class │ │ │ │ ├── Room$Player.class │ │ │ │ ├── Room.class │ │ │ │ ├── Room.java │ │ │ │ └── wsmessages │ │ │ │ │ ├── AbstractWebsocketMessage.class │ │ │ │ │ ├── AbstractWebsocketMessage.java │ │ │ │ │ ├── BinaryWebsocketMessage.class │ │ │ │ │ ├── BinaryWebsocketMessage.java │ │ │ │ │ ├── CloseWebsocketMessage.class │ │ │ │ │ ├── CloseWebsocketMessage.java │ │ │ │ │ ├── StringWebsocketMessage.class │ │ │ │ │ └── StringWebsocketMessage.java │ │ │ │ ├── echo │ │ │ │ ├── EchoAnnotation.class │ │ │ │ ├── EchoAnnotation.java │ │ │ │ ├── EchoAsyncAnnotation$CompletedFuture.class │ │ │ │ ├── EchoAsyncAnnotation.class │ │ │ │ ├── EchoAsyncAnnotation.java │ │ │ │ ├── EchoEndpoint$EchoMessageHandlerBinary.class │ │ │ │ ├── EchoEndpoint$EchoMessageHandlerText.class │ │ │ │ ├── EchoEndpoint.class │ │ │ │ ├── EchoEndpoint.java │ │ │ │ ├── EchoStreamAnnotation.class │ │ │ │ ├── EchoStreamAnnotation.java │ │ │ │ └── servers.json │ │ │ │ └── snake │ │ │ │ ├── Direction.class │ │ │ │ ├── Direction.java │ │ │ │ ├── Location$1.class │ │ │ │ ├── Location.class │ │ │ │ ├── Location.java │ │ │ │ ├── Snake.class │ │ │ │ ├── Snake.java │ │ │ │ ├── SnakeAnnotation.class │ │ │ │ ├── SnakeAnnotation.java │ │ │ │ ├── SnakeTimer$1.class │ │ │ │ ├── SnakeTimer.class │ │ │ │ └── SnakeTimer.java │ │ ├── jsp │ │ │ ├── 403.jsp │ │ │ ├── 403.jsp.html │ │ │ ├── debug-taglib.tld │ │ │ ├── example-taglib.tld │ │ │ └── jsp2-example-taglib.tld │ │ ├── lib │ │ │ ├── taglibs-standard-impl-1.2.5-migrated-0.0.1.jar │ │ │ └── taglibs-standard-spec-1.2.5-migrated-0.0.1.jar │ │ ├── tags │ │ │ ├── displayProducts.tag │ │ │ ├── helloWorld.tag │ │ │ └── panel.tag │ │ └── web.xml │ ├── index.html │ ├── jsp │ │ ├── async │ │ │ ├── async1.jsp │ │ │ ├── async1.jsp.html │ │ │ ├── async3.jsp │ │ │ ├── async3.jsp.html │ │ │ ├── index.jsp │ │ │ └── index.jsp.html │ │ ├── cal │ │ │ ├── Entries.java.html │ │ │ ├── Entry.java.html │ │ │ ├── JspCalendar.java.html │ │ │ ├── TableBean.java.html │ │ │ ├── cal1.jsp │ │ │ ├── cal1.jsp.html │ │ │ ├── cal2.jsp │ │ │ ├── cal2.jsp.html │ │ │ ├── calendar.html │ │ │ └── login.html │ │ ├── checkbox │ │ │ ├── CheckTest.html │ │ │ ├── check.html │ │ │ ├── checkresult.jsp │ │ │ ├── checkresult.jsp.html │ │ │ └── cresult.html │ │ ├── colors │ │ │ ├── ColorGameBean.html │ │ │ ├── clr.html │ │ │ ├── colors.html │ │ │ ├── colrs.jsp │ │ │ └── colrs.jsp.html │ │ ├── dates │ │ │ ├── date.html │ │ │ ├── date.jsp │ │ │ └── date.jsp.html │ │ ├── error │ │ │ ├── er.html │ │ │ ├── err.jsp │ │ │ ├── err.jsp.html │ │ │ ├── error.html │ │ │ ├── errorpge.jsp │ │ │ └── errorpge.jsp.html │ │ ├── forward │ │ │ ├── forward.jsp │ │ │ ├── forward.jsp.html │ │ │ ├── fwd.html │ │ │ ├── one.jsp │ │ │ ├── one.jsp.html │ │ │ └── two.html │ │ ├── images │ │ │ ├── code.gif │ │ │ ├── execute.gif │ │ │ └── return.gif │ │ ├── include │ │ │ ├── foo.html │ │ │ ├── foo.jsp │ │ │ ├── foo.jsp.html │ │ │ ├── inc.html │ │ │ ├── include.jsp │ │ │ └── include.jsp.html │ │ ├── index.html │ │ ├── jsp2 │ │ │ ├── el │ │ │ │ ├── Functions.java.html │ │ │ │ ├── ValuesBean.java.html │ │ │ │ ├── ValuesTag.java.html │ │ │ │ ├── basic-arithmetic.html │ │ │ │ ├── basic-arithmetic.jsp │ │ │ │ ├── basic-arithmetic.jsp.html │ │ │ │ ├── basic-comparisons.html │ │ │ │ ├── basic-comparisons.jsp │ │ │ │ ├── basic-comparisons.jsp.html │ │ │ │ ├── composite.html │ │ │ │ ├── composite.jsp │ │ │ │ ├── composite.jsp.html │ │ │ │ ├── functions.html │ │ │ │ ├── functions.jsp │ │ │ │ ├── functions.jsp.html │ │ │ │ ├── implicit-objects.html │ │ │ │ ├── implicit-objects.jsp │ │ │ │ └── implicit-objects.jsp.html │ │ │ ├── jspattribute │ │ │ │ ├── FooBean.java.html │ │ │ │ ├── HelloWorldSimpleTag.java.html │ │ │ │ ├── ShuffleSimpleTag.java.html │ │ │ │ ├── TileSimpleTag.java.html │ │ │ │ ├── jspattribute.html │ │ │ │ ├── jspattribute.jsp │ │ │ │ ├── jspattribute.jsp.html │ │ │ │ ├── shuffle.html │ │ │ │ ├── shuffle.jsp │ │ │ │ └── shuffle.jsp.html │ │ │ ├── jspx │ │ │ │ ├── basic.html │ │ │ │ ├── basic.jspx │ │ │ │ ├── basic.jspx.html │ │ │ │ ├── svgexample.html │ │ │ │ ├── textRotate.html │ │ │ │ ├── textRotate.jpg │ │ │ │ ├── textRotate.jspx │ │ │ │ └── textRotate.jspx.html │ │ │ ├── misc │ │ │ │ ├── EchoAttributesTag.java.html │ │ │ │ ├── coda.jspf │ │ │ │ ├── coda.jspf.html │ │ │ │ ├── config.html │ │ │ │ ├── config.jsp │ │ │ │ ├── config.jsp.html │ │ │ │ ├── dynamicattrs.html │ │ │ │ ├── dynamicattrs.jsp │ │ │ │ ├── dynamicattrs.jsp.html │ │ │ │ ├── prelude.jspf │ │ │ │ └── prelude.jspf.html │ │ │ ├── simpletag │ │ │ │ ├── BookBean.java.html │ │ │ │ ├── FindBookSimpleTag.java.html │ │ │ │ ├── Functions.java.html │ │ │ │ ├── HelloWorldSimpleTag.java.html │ │ │ │ ├── RepeatSimpleTag.java.html │ │ │ │ ├── book.html │ │ │ │ ├── book.jsp │ │ │ │ ├── book.jsp.html │ │ │ │ ├── hello.html │ │ │ │ ├── hello.jsp │ │ │ │ ├── hello.jsp.html │ │ │ │ ├── repeat.html │ │ │ │ ├── repeat.jsp │ │ │ │ └── repeat.jsp.html │ │ │ └── tagfiles │ │ │ │ ├── displayProducts.tag.html │ │ │ │ ├── hello.html │ │ │ │ ├── hello.jsp │ │ │ │ ├── hello.jsp.html │ │ │ │ ├── helloWorld.tag.html │ │ │ │ ├── panel.html │ │ │ │ ├── panel.jsp │ │ │ │ ├── panel.jsp.html │ │ │ │ ├── panel.tag.html │ │ │ │ ├── products.html │ │ │ │ ├── products.jsp │ │ │ │ └── products.jsp.html │ │ ├── jsptoserv │ │ │ ├── ServletToJsp.java.html │ │ │ ├── hello.jsp │ │ │ ├── hello.jsp.html │ │ │ ├── jsptoservlet.jsp │ │ │ ├── jsptoservlet.jsp.html │ │ │ └── jts.html │ │ ├── num │ │ │ ├── numguess.html │ │ │ ├── numguess.jsp │ │ │ └── numguess.jsp.html │ │ ├── security │ │ │ └── protected │ │ │ │ ├── error.jsp │ │ │ │ ├── error.jsp.html │ │ │ │ ├── index.jsp │ │ │ │ ├── index.jsp.html │ │ │ │ ├── login.jsp │ │ │ │ └── login.jsp.html │ │ ├── sessions │ │ │ ├── DummyCart.html │ │ │ ├── carts.html │ │ │ ├── carts.jsp │ │ │ ├── carts.jsp.html │ │ │ └── crt.html │ │ ├── simpletag │ │ │ ├── foo.html │ │ │ ├── foo.jsp │ │ │ └── foo.jsp.html │ │ ├── snp │ │ │ ├── snoop.html │ │ │ ├── snoop.jsp │ │ │ └── snoop.jsp.html │ │ ├── tagplugin │ │ │ ├── choose.html │ │ │ ├── choose.jsp │ │ │ ├── choose.jsp.html │ │ │ ├── foreach.html │ │ │ ├── foreach.jsp │ │ │ ├── foreach.jsp.html │ │ │ ├── howto.html │ │ │ ├── if.html │ │ │ ├── if.jsp │ │ │ ├── if.jsp.html │ │ │ └── notes.html │ │ └── xml │ │ │ ├── xml.html │ │ │ ├── xml.jsp │ │ │ └── xml.jsp.html │ ├── servlets │ │ ├── cookies.html │ │ ├── helloworld.html │ │ ├── images │ │ │ ├── code.gif │ │ │ ├── execute.gif │ │ │ └── return.gif │ │ ├── index.html │ │ ├── nonblocking │ │ │ └── bytecounter.html │ │ ├── reqheaders.html │ │ ├── reqinfo.html │ │ ├── reqparams.html │ │ └── sessions.html │ └── websocket │ │ ├── chat.xhtml │ │ ├── drawboard.xhtml │ │ ├── echo.xhtml │ │ ├── index.xhtml │ │ └── snake.xhtml ├── host-manager │ ├── META-INF │ │ └── context.xml │ ├── WEB-INF │ │ ├── jsp │ │ │ ├── 401.jsp │ │ │ ├── 403.jsp │ │ │ └── 404.jsp │ │ ├── manager.xml │ │ └── web.xml │ ├── css │ │ └── manager.css │ ├── images │ │ ├── asf-logo.svg │ │ └── tomcat.svg │ └── index.jsp └── manager │ ├── META-INF │ └── context.xml │ ├── WEB-INF │ ├── jsp │ │ ├── 401.jsp │ │ ├── 403.jsp │ │ ├── 404.jsp │ │ ├── connectorCerts.jsp │ │ ├── connectorCiphers.jsp │ │ ├── connectorTrustedCerts.jsp │ │ ├── sessionDetail.jsp │ │ └── sessionsList.jsp │ └── web.xml │ ├── css │ └── manager.css │ ├── images │ ├── asf-logo.svg │ └── tomcat.svg │ ├── index.jsp │ ├── status.xsd │ └── xform.xsl └── work └── Catalina └── localhost └── ROOT └── org └── apache └── jsp ├── index_jsp.class └── index_jsp.java /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .mvn 3 | .settings 4 | node_modules 5 | target/ 6 | .classpath 7 | .project 8 | *.iml 9 | npm-debug.log 10 | system_catalog.xml 11 | dist/ 12 | .jar 13 | .speingBeans 14 | package-lock.json -------------------------------------------------------------------------------- /Logging-with-AOP/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | .idea 3 | *.iml -------------------------------------------------------------------------------- /Logging-with-AOP/src/main/java/com/mainul35/AccountService.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | public class AccountService { 4 | 5 | @Audit(role = "ROLE_ADMIN") 6 | public void withdraw(int amount) { 7 | System.out.println("Withdraw amount is " + amount); 8 | } 9 | 10 | @Audit(role = "ROLE_USER") 11 | public void deposite(int amount) { 12 | System.out.println("Deposited amount is " + amount); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Logging-with-AOP/src/main/java/com/mainul35/Audit.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import java.lang.annotation.*; 4 | 5 | @Documented 6 | @Retention(RetentionPolicy.RUNTIME) 7 | @Target({ ElementType.METHOD, ElementType.TYPE }) 8 | public @interface Audit { 9 | public String role(); 10 | } 11 | -------------------------------------------------------------------------------- /Logging-with-AOP/src/main/java/com/mainul35/Main.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | 4 | import org.apache.log4j.LogManager; 5 | import org.apache.log4j.Logger; 6 | 7 | public class Main { 8 | 9 | public static void main(String[] args) { 10 | AccountService account = new AccountService(); 11 | account.withdraw(100); 12 | account.deposite(200); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Logging-with-AOP/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=INFO, loggerId 2 | 3 | log4j.appender.loggerId=org.apache.log4j.FileAppender 4 | 5 | log4j.appender.loggerId.layout=org.apache.log4j.PatternLayout 6 | 7 | log4j.appender.loggerId.layout.ConversionPattern=%d [%t] %-5p (%F:%L) - %m%n 8 | 9 | log4j.appender.loggerId.File=example.log 10 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | Use this section to tell people about which versions of your project are 6 | currently being supported with security updates. 7 | 8 | | Version | Supported | 9 | | ------- | ------------------ | 10 | | 5.1.x | :white_check_mark: | 11 | | 5.0.x | :x: | 12 | | 4.0.x | :white_check_mark: | 13 | | < 4.0 | :x: | 14 | 15 | ## Reporting a Vulnerability 16 | 17 | Use this section to tell people how to report a vulnerability. 18 | 19 | Tell them where to go, how often they can expect to get an update on a 20 | reported vulnerability, what to expect if the vulnerability is accepted or 21 | declined, etc. 22 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Accessing-Form-Data/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Accessing-Form-Data/src/main/java/com/mainul35/RootConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | 5 | @Configuration 6 | public class RootConfig { 7 | } 8 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Accessing-Form-Data/src/main/webapp/WEB-INF/views/formData.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/26/2017 5 | Time: 3:56 PM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Configuration - Rendering form data 12 | 13 | 14 |

Rendering data based on form submission


15 |

ID: ${user.id}

16 | Name: ${user.name}

17 | Email: ${user.email}

18 | Age: ${user.age}

19 | Sex: ${user.sex}

20 | Phone Number: ${user.phoneNumber}

21 | Country: ${user.country}

22 | < Go Back 23 | 24 | 25 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Accessing-Form-Data/src/main/webapp/WEB-INF/views/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/28/2017 5 | Time: 12:01 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Config - With in memory data CRUD 12 | 13 | 14 |

Spring MVC Java Config - With in memory data CRUD

15 | Please click here to add user. 16 | 17 | 18 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Form-Data-Database-CRUD/src/main/webapp/WEB-INF/views/formData.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/26/2017 5 | Time: 3:56 PM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Configuration - Rendering form data 12 | 13 | 14 |

Rendering data based on form submission


15 |

ID: ${user.id}

16 | Name: ${user.name}

17 | Email: ${user.email}

18 | Age: ${user.age}

19 | Sex: ${user.sex}

20 | Phone Number: ${user.phoneNumber}

21 | Country: ${user.country}

22 | < Go Back | Please click here to view all users. 23 | 24 | 25 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Form-Data-Database-CRUD/src/main/webapp/WEB-INF/views/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/28/2017 5 | Time: 12:01 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Config - With in memory data CRUD 12 | 13 | 14 |

Spring MVC Java Config - With in memory data CRUD

15 | Please click here to add user. 16 | 17 | 18 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Form-Data-in-Memory-CRUD/src/main/java/com/mainul35/RootConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.context.annotation.ComponentScan; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | @Configuration 7 | @ComponentScan(basePackages = {"com.mainul35.service"}) 8 | public class RootConfig { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Form-Data-in-Memory-CRUD/src/main/webapp/WEB-INF/views/formData.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/26/2017 5 | Time: 3:56 PM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Configuration - Rendering form data 12 | 13 | 14 |

Rendering data based on form submission


15 |

ID: ${user.id}

16 | Name: ${user.name}

17 | Email: ${user.email}

18 | Age: ${user.age}

19 | Sex: ${user.sex}

20 | Phone Number: ${user.phoneNumber}

21 | Country: ${user.country}

22 | < Go Back | Please click here to view all users. 23 | 24 | 25 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-Form-Data-in-Memory-CRUD/src/main/webapp/WEB-INF/views/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/28/2017 5 | Time: 12:01 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Config - With in memory data CRUD 12 | 13 | 14 |

Spring MVC Java Config - With in memory data CRUD

15 | Please click here to add user. 16 | 17 | 18 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-TDD/src/main/java/com/mainul35/RootConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.ComponentScan; 5 | import org.springframework.context.annotation.Configuration; 6 | import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; 7 | 8 | @ComponentScan(basePackages = {"com.mainul35.service"}) 9 | public class RootConfig { 10 | } 11 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-TDD/src/main/java/com/mainul35/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.repository; 2 | 3 | import com.mainul35.model.User; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import javax.transaction.Transactional; 8 | 9 | @Repository 10 | public interface UserRepository extends JpaRepository { 11 | User findByEmail(String email); 12 | } 13 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-TDD/src/main/resources/application-linux.properties: -------------------------------------------------------------------------------- 1 | # DB Config 2 | spring.datasource.url=jdbc:mysql://localhost:3306/test?createDatabaseIfNotExist=true 3 | spring.datasource.username=mainul35 4 | spring.datasource.password=P@s$word 5 | # Allows Hibernate to generate SQL optimized for a particular DBMS 6 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect 7 | driverClassName=com.mysql.jdbc.Driver 8 | spring.jpa.hibernate.ddl-auto=update -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-TDD/src/main/resources/application-windows.properties: -------------------------------------------------------------------------------- 1 | # DB Config 2 | spring.datasource.url=jdbc:mysql://localhost:3306/test?createDatabaseIfNotExist=true 3 | spring.datasource.username=root 4 | spring.datasource.password= 5 | # Allows Hibernate to generate SQL optimized for a particular DBMS 6 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect 7 | spring.datasource.driver-class-name=com.mysql.jdbc.Driver 8 | spring.jpa.hibernate.ddl-auto=update -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-TDD/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | activeProfile=linux -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-TDD/src/main/webapp/WEB-INF/views/formData.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/26/2017 5 | Time: 3:56 PM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Configuration - Rendering form data 12 | 13 | 14 |

Rendering data based on form submission


15 |

ID: ${user.id}

16 | Name: ${user.name}

17 | Email: ${user.email}

18 | Age: ${user.age}

19 | Sex: ${user.sex}

20 | Phone Number: ${user.phoneNumber}

21 | Country: ${user.country}

22 | < Go Back | Please click here to view all users. 23 | 24 | 25 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig-TDD/src/main/webapp/WEB-INF/views/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/28/2017 5 | Time: 12:01 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Config - With in memory data CRUD 12 | 13 | 14 |

Spring MVC Java Config - With in memory data CRUD

15 | Please click here to add user. 16 | 17 | 18 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig/src/main/java/com/mainul35/RootConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | 5 | @Configuration 6 | public class RootConfig { 7 | } 8 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig/src/main/java/com/mainul35/controller/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | @Controller 8 | public class HomeController { 9 | @RequestMapping("/") 10 | public String index(Model model){ 11 | model.addAttribute("message", "Spring MVC Java Configuration is working properly."); 12 | return "index"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /SpringMVC_JavaConfig/src/main/webapp/WEB-INF/views/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | 3 | 4 | Spring MVC Java Configuration Example 5 | 6 | 7 | 8 | ${message} 9 | 10 | 11 | -------------------------------------------------------------------------------- /SpringMVC_Security_JavaConfig-in-Memory-authentication/src/main/java/com/mainul35/RootConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.context.annotation.ComponentScan; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | @Configuration 7 | @ComponentScan(basePackages = {"com.mainul35.service"}) 8 | public class RootConfig { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /SpringMVC_Security_JavaConfig-in-Memory-authentication/src/main/java/com/mainul35/SecurityInitializer.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; 4 | 5 | public class SecurityInitializer extends AbstractSecurityWebApplicationInitializer { 6 | } 7 | -------------------------------------------------------------------------------- /SpringMVC_Security_JavaConfig-in-Memory-authentication/src/main/webapp/WEB-INF/views/formData.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/26/2017 5 | Time: 3:56 PM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Configuration - Rendering form data 12 | 13 | 14 |

Rendering data based on form submission


15 |

ID: ${user.id}

16 | Name: ${user.name}

17 | Email: ${user.email}

18 | Age: ${user.age}

19 | Sex: ${user.sex}

20 | Phone Number: ${user.phoneNumber}

21 | Country: ${user.country}

22 | < Go Back | Please click here to view all users. 23 | 24 | 25 | -------------------------------------------------------------------------------- /SpringMVC_Security_JavaConfig-in-Memory-authentication/src/main/webapp/WEB-INF/views/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/28/2017 5 | Time: 12:01 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Config - With in memory data CRUD 12 | 13 | 14 |

Spring MVC Java Config - With in memory data CRUD

15 | Please click here to add user. 16 | 17 | 18 | -------------------------------------------------------------------------------- /SpringMVC_Security_Java_Config_Adding-rendering-css/src/main/java/com/mainul35/RootConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.context.annotation.ComponentScan; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | @Configuration 7 | @ComponentScan(basePackages = {"com.mainul35.service"}) 8 | public class RootConfig { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /SpringMVC_Security_Java_Config_Adding-rendering-css/src/main/java/com/mainul35/SecurityInitializer.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; 4 | 5 | public class SecurityInitializer extends AbstractSecurityWebApplicationInitializer { 6 | } 7 | -------------------------------------------------------------------------------- /SpringMVC_Security_Java_Config_Adding-rendering-css/src/main/webapp/WEB-INF/views/formData.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Mainul 4 | Date: 12/26/2017 5 | Time: 3:56 PM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Spring MVC Java Configuration - Rendering form data 12 | 13 | 14 |

Rendering data based on form submission


15 |

ID: ${user.id}

16 | Name: ${user.name}

17 | Email: ${user.email}

18 | Age: ${user.age}

19 | Sex: ${user.sex}

20 | Phone Number: ${user.phoneNumber}

21 | Country: ${user.country}

22 | < Go Back | Please click here to view all users. 23 | 24 | 25 | -------------------------------------------------------------------------------- /SpringMVC_Security_Java_Config_Adding-rendering-css/src/main/webapp/WEB-INF/views/script.jsp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SpringMVC_Security_Java_Config_Adding-rendering-css/src/main/webapp/resources/style.css: -------------------------------------------------------------------------------- 1 | h1{ 2 | color: #5bc0de; 3 | } 4 | 5 | div{ 6 | background-color: #c8e5bc; 7 | } -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/.gitignoe: -------------------------------------------------------------------------------- 1 | target 2 | .idea 3 | *.iml 4 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | org.example 8 | CDI 9 | 1.0-SNAPSHOT 10 | 11 | 12 | 11 13 | 11 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/src/main/java/com/mainul35/application/AppService.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.application; 2 | 3 | import com.mainul35.cdi.Component; 4 | 5 | @Component 6 | public class AppService { 7 | public void sayHello() { 8 | System.out.println("Say Hello from App Service"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/src/main/java/com/mainul35/application/AppService2.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.application; 2 | 3 | import com.mainul35.cdi.Component; 4 | 5 | @Component 6 | public class AppService2 { 7 | public void sayHello() { 8 | System.out.println("Say Hello from App Service 2"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/src/main/java/com/mainul35/application/AppServiceCaller.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.application; 2 | 3 | import com.mainul35.cdi.Autowired; 4 | import com.mainul35.cdi.Component; 5 | 6 | @Component 7 | public class AppServiceCaller { 8 | 9 | @Autowired 10 | private AppService appService; 11 | 12 | @Autowired 13 | private AppService2 appService2; 14 | 15 | public void sayHello1() { 16 | appService.sayHello(); 17 | } 18 | 19 | public void sayHello2() { 20 | appService2.sayHello(); 21 | } 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/src/main/java/com/mainul35/application/test_annotation/TestAnnotation.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.application.test_annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Retention(RetentionPolicy.RUNTIME) 9 | @Target({ElementType.FIELD, ElementType.TYPE, ElementType.METHOD}) 10 | public @interface TestAnnotation { 11 | 12 | String purpose() default ""; 13 | } 14 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/src/main/java/com/mainul35/application/test_annotation/TestAnnotationTester.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.application.test_annotation; 2 | 3 | @TestAnnotation(purpose = "marker over TestAnnotationTester type") 4 | public class TestAnnotationTester { 5 | 6 | @TestAnnotation(purpose = "marker over TestAnnotationTester field") 7 | TestAnnotationTester testAnnotationTester; 8 | 9 | public TestAnnotationTester () { 10 | testAnnotationTester = this; 11 | } 12 | 13 | @TestAnnotation(purpose = "marker over method") 14 | public void print() { 15 | System.out.println("Printing from TestAnnotationTester"); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/src/main/java/com/mainul35/cdi/Autowired.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.cdi; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target({ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR}) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Autowired { 11 | } 12 | -------------------------------------------------------------------------------- /basic-CDI-with-annotations-and-reflections/src/main/java/com/mainul35/cdi/Component.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.cdi; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.TYPE) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface Component { 11 | String name() default ""; 12 | } 13 | -------------------------------------------------------------------------------- /jakartaee-servlet-demo/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | !**/src/main/**/target/ 4 | !**/src/test/**/target/ 5 | 6 | ### IntelliJ IDEA ### 7 | .idea/modules.xml 8 | .idea/jarRepositories.xml 9 | .idea/compiler.xml 10 | .idea/libraries/ 11 | *.iws 12 | *.iml 13 | *.ipr 14 | 15 | ### Eclipse ### 16 | .apt_generated 17 | .classpath 18 | .factorypath 19 | .project 20 | .settings 21 | .springBeans 22 | .sts4-cache 23 | 24 | ### NetBeans ### 25 | /nbproject/private/ 26 | /nbbuild/ 27 | /dist/ 28 | /nbdist/ 29 | /.nb-gradle/ 30 | build/ 31 | !**/src/main/**/build/ 32 | !**/src/test/**/build/ 33 | 34 | ### VS Code ### 35 | .vscode/ 36 | 37 | ### Mac OS ### 38 | .DS_Store -------------------------------------------------------------------------------- /jakartaee-servlet-demo/src/main/java/com/mainul35/jakartaeeservletdemo/HelloServlet.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.jakartaeeservletdemo; 2 | 3 | import java.io.*; 4 | 5 | import jakarta.servlet.ServletException; 6 | import jakarta.servlet.http.*; 7 | import jakarta.servlet.annotation.*; 8 | 9 | public class HelloServlet extends HttpServlet { 10 | private String message; 11 | 12 | public void init() { 13 | message = "Hello User!"; 14 | } 15 | 16 | public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { 17 | request.setAttribute("message", message); 18 | request.getRequestDispatcher("index.jsp").forward(request, response); 19 | } 20 | 21 | public void destroy() { 22 | } 23 | } -------------------------------------------------------------------------------- /jakartaee-servlet-demo/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | hello-servlet 9 | com.mainul35.jakartaeeservletdemo.HelloServlet 10 | 11 | 12 | 13 | hello-servlet 14 | 15 | 16 | -------------------------------------------------------------------------------- /jakartaee-servlet-demo/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> 2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 3 | 4 | 5 | 6 | 7 | JSP - Hello World 8 | 9 | 10 |

11 | 12 |

Click here to register

13 | 14 | 15 | -------------------------------------------------------------------------------- /jakartaee-servlet-demo/src/main/webapp/registration-success.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by Syed Mainul Hasan 3 | User: Mainul35 4 | Date: 2/7/2023 5 | Time: 1:30 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 10 | 11 | 12 | 13 | Registration Success 14 | 15 | 16 |

First name:

17 |

Last name:

18 | 19 | 20 | -------------------------------------------------------------------------------- /jakartaee-servlet-demo/src/main/webapp/registration.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by Syed Mainul Hasan 3 | User: Mainul35 4 | Date: 2/7/2023 5 | Time: 1:24 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Registration Form 12 | 13 | 14 |
15 | First Name: 16 |
17 | Last Name: 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /javaee-servlet-demo/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | !**/src/main/**/target/ 4 | !**/src/test/**/target/ 5 | 6 | ### IntelliJ IDEA ### 7 | .idea/modules.xml 8 | .idea/jarRepositories.xml 9 | .idea/compiler.xml 10 | .idea/libraries/ 11 | *.iws 12 | *.iml 13 | *.ipr 14 | 15 | ### Eclipse ### 16 | .apt_generated 17 | .classpath 18 | .factorypath 19 | .project 20 | .settings 21 | .springBeans 22 | .sts4-cache 23 | 24 | ### NetBeans ### 25 | /nbproject/private/ 26 | /nbbuild/ 27 | /dist/ 28 | /nbdist/ 29 | /.nb-gradle/ 30 | build/ 31 | !**/src/main/**/build/ 32 | !**/src/test/**/build/ 33 | 34 | ### VS Code ### 35 | .vscode/ 36 | 37 | ### Mac OS ### 38 | .DS_Store -------------------------------------------------------------------------------- /javaee-servlet-demo/src/main/java/com/mainul35/javaeeservletdemo/HelloServlet.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.javaeeservletdemo; 2 | 3 | import java.io.*; 4 | 5 | import javax.servlet.ServletException; 6 | import javax.servlet.http.*; 7 | 8 | public class HelloServlet extends HttpServlet { 9 | private String message; 10 | 11 | public void init() { 12 | message = "Hello User!"; 13 | } 14 | 15 | public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { 16 | request.setAttribute("message", message); 17 | request.getRequestDispatcher("index.jsp").forward(request, response); 18 | } 19 | 20 | public void destroy() { 21 | } 22 | } -------------------------------------------------------------------------------- /javaee-servlet-demo/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | hello-servlet 9 | com.mainul35.javaeeservletdemo.HelloServlet 10 | 11 | 12 | 13 | hello-servlet 14 | 15 | 16 | -------------------------------------------------------------------------------- /javaee-servlet-demo/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> 2 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 3 | 4 | 5 | 6 | 7 | JSP - Hello World 8 | 9 | 10 |

11 | 12 |

Click here to register

13 | 14 | 15 | -------------------------------------------------------------------------------- /javaee-servlet-demo/src/main/webapp/registration-success.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by Syed Mainul Hasan 3 | User: Mainul35 4 | Date: 2/7/2023 5 | Time: 1:30 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 10 | 11 | 12 | 13 | Registration Success 14 | 15 | 16 |

First name:

17 |

Last name:

18 | 19 | 20 | -------------------------------------------------------------------------------- /javaee-servlet-demo/src/main/webapp/registration.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by Syed Mainul Hasan 3 | User: Mainul35 4 | Date: 2/7/2023 5 | Time: 1:24 AM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | 10 | 11 | Registration Form 12 | 13 | 14 |
15 | First Name: 16 |
17 | Last Name: 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.ts] 12 | quote_type = single 13 | 14 | [*.md] 15 | max_line_length = off 16 | trim_trailing_whitespace = false 17 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | # Only exists if Bazel was run 8 | /bazel-out 9 | 10 | # dependencies 11 | /node_modules 12 | 13 | # profiling files 14 | chrome-profiler-events*.json 15 | speed-measure-plugin*.json 16 | 17 | # IDEs and editors 18 | /.idea 19 | .project 20 | .classpath 21 | .c9/ 22 | *.launch 23 | .settings/ 24 | *.sublime-workspace 25 | 26 | # IDE - VSCode 27 | .vscode/* 28 | !.vscode/settings.json 29 | !.vscode/tasks.json 30 | !.vscode/launch.json 31 | !.vscode/extensions.json 32 | .history/* 33 | 34 | # misc 35 | /.sass-cache 36 | /connect.lock 37 | /coverage 38 | /libpeerconnection.log 39 | npm-debug.log 40 | yarn-error.log 41 | testem.log 42 | /typings 43 | 44 | # System Files 45 | .DS_Store 46 | Thumbs.db 47 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | > 0.5% 9 | last 2 versions 10 | Firefox ESR 11 | not dead 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/e2e/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | // Protractor configuration file, see link for more information 3 | // https://github.com/angular/protractor/blob/master/lib/config.ts 4 | 5 | const { SpecReporter } = require('jasmine-spec-reporter'); 6 | 7 | /** 8 | * @type { import("protractor").Config } 9 | */ 10 | exports.config = { 11 | allScriptsTimeout: 11000, 12 | specs: [ 13 | './src/**/*.e2e-spec.ts' 14 | ], 15 | capabilities: { 16 | browserName: 'chrome' 17 | }, 18 | directConnect: true, 19 | baseUrl: 'http://localhost:4200/', 20 | framework: 'jasmine', 21 | jasmineNodeOpts: { 22 | showColors: true, 23 | defaultTimeoutInterval: 30000, 24 | print: function() {} 25 | }, 26 | onPrepare() { 27 | require('ts-node').register({ 28 | project: require('path').join(__dirname, './tsconfig.json') 29 | }); 30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 31 | } 32 | }; -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | import { browser, logging } from 'protractor'; 3 | 4 | describe('workspace-project App', () => { 5 | let page: AppPage; 6 | 7 | beforeEach(() => { 8 | page = new AppPage(); 9 | }); 10 | 11 | it('should display welcome message', () => { 12 | page.navigateTo(); 13 | expect(page.getTitleText()).toEqual('reservation-app app is running!'); 14 | }); 15 | 16 | afterEach(async () => { 17 | // Assert that there are no errors emitted from the browser 18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER); 19 | expect(logs).not.toContain(jasmine.objectContaining({ 20 | level: logging.Level.SEVERE, 21 | } as logging.Entry)); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo(): Promise { 5 | return browser.get(browser.baseUrl) as Promise; 6 | } 7 | 8 | getTitleText(): Promise { 9 | return element(by.css('app-root .content span')).getText() as Promise; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/e2e", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/app/app-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | 5 | const routes: Routes = []; 6 | 7 | @NgModule({ 8 | imports: [RouterModule.forRoot(routes)], 9 | exports: [RouterModule] 10 | }) 11 | export class AppRoutingModule { } 12 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { BrowserModule } from '@angular/platform-browser'; 2 | import { NgModule } from '@angular/core'; 3 | import { ReactiveFormsModule } from "@angular/forms"; 4 | import { HttpClientModule } from "@angular/common/http"; 5 | 6 | import { AppRoutingModule } from './app-routing.module'; 7 | import { AppComponent } from './app.component'; 8 | 9 | @NgModule({ 10 | declarations: [ 11 | AppComponent 12 | ], 13 | imports: [ 14 | BrowserModule, 15 | AppRoutingModule, 16 | ReactiveFormsModule, 17 | HttpClientModule 18 | ], 19 | providers: [], 20 | bootstrap: [AppComponent] 21 | }) 22 | export class AppModule { } 23 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/app/services/reservation/reservation.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing'; 2 | 3 | import { ReservationService } from './reservation.service'; 4 | 5 | describe('ReservationService', () => { 6 | let service: ReservationService; 7 | 8 | beforeEach(() => { 9 | TestBed.configureTestingModule({}); 10 | service = TestBed.inject(ReservationService); 11 | }); 12 | 13 | it('should be created', () => { 14 | expect(service).toBeTruthy(); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/.gitkeep -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/arrow.png -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/dining_lattes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/dining_lattes.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/dining_rooftop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/dining_rooftop.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/dining_smoothiebar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/dining_smoothiebar.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/facebook.png -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/hotel/splash_hotelphoto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/hotel/splash_hotelphoto.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_attractions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_attractions.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_dining.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_dining.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_pool.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_pool.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_room.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_room.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_wedding.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/intro_wedding.jpg -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/twitter.png -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/assets/images/youtube.png -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. 3 | // The list of file replacements can be found in `angular.json`. 4 | 5 | export const environment = { 6 | production: false 7 | }; 8 | 9 | /* 10 | * For easier debugging in development mode, you can import the following file 11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. 12 | * 13 | * This import should be commented out in production mode because it will have a negative impact 14 | * on performance if an error is thrown. 15 | */ 16 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI. 17 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/ng-reactive-spring-r2dbc/fe-reservation/src/favicon.ico -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ReservationApp 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.error(err)); 13 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/styles.css: -------------------------------------------------------------------------------- 1 | /* You can add global styles to this file, and also import other style files */ 2 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting 8 | } from '@angular/platform-browser-dynamic/testing'; 9 | 10 | declare const require: { 11 | context(path: string, deep?: boolean, filter?: RegExp): { 12 | keys(): string[]; 13 | (id: string): T; 14 | }; 15 | }; 16 | 17 | // First, initialize the Angular testing environment. 18 | getTestBed().initTestEnvironment( 19 | BrowserDynamicTestingModule, 20 | platformBrowserDynamicTesting() 21 | ); 22 | // Then we find all the tests. 23 | const context = require.context('./', true, /\.spec\.ts$/); 24 | // And load the modules. 25 | context.keys().map(context); 26 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/app", 5 | "types": [] 6 | }, 7 | "files": [ 8 | "src/main.ts", 9 | "src/polyfills.ts" 10 | ], 11 | "include": [ 12 | "src/**/*.d.ts" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "./", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "downlevelIteration": true, 9 | "experimentalDecorators": true, 10 | "module": "esnext", 11 | "moduleResolution": "node", 12 | "importHelpers": true, 13 | "target": "es2015", 14 | "lib": [ 15 | "es2018", 16 | "dom" 17 | ] 18 | }, 19 | "angularCompilerOptions": { 20 | "fullTemplateTypeCheck": true, 21 | "strictInjectionParameters": true 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/fe-reservation/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/polyfills.ts" 13 | ], 14 | "include": [ 15 | "src/**/*.spec.ts", 16 | "src/**/*.d.ts" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/src/main/java/com/mainul35/repositories/ReservationRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.repositories; 2 | 3 | import com.mainul35.model.Reservation; 4 | import org.springframework.data.repository.reactive.ReactiveCrudRepository; 5 | import org.springframework.stereotype.Repository; 6 | import reactor.core.publisher.Mono; 7 | 8 | @Repository 9 | public interface ReservationRepository extends ReactiveCrudRepository { 10 | Mono getReservationByRoomId(Long roomId); 11 | } 12 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/src/main/java/com/mainul35/service/IReservationService.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.service; 2 | 3 | import com.mainul35.model.Reservation; 4 | import reactor.core.publisher.Flux; 5 | import reactor.core.publisher.Mono; 6 | 7 | public interface IReservationService { 8 | 9 | Mono getReservation(Long id); 10 | 11 | Mono createReservation(Reservation reservation); 12 | 13 | Mono deleteReservation(Reservation reservation); 14 | 15 | Flux listAllReservation(); 16 | } 17 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #logging.level.org.springframework.data.r2dbc=DEBUG 2 | #spring.r2dbc.url=r2dbc:postgresql://localhost/r2dbc_test 3 | #spring.r2dbc.username=postgres 4 | #spring.r2dbc.password= 5 | 6 | datasource.host=localhost 7 | datasource.port=5432 8 | datasource.database=r2dbc_test 9 | datasource.username=postgres 10 | datasource.password= 11 | -------------------------------------------------------------------------------- /ng-reactive-spring-r2dbc/src/test/java/com/linkedinlearning/reactivespring/ReactivespringApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.linkedinlearning.reactivespring; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ReactivespringApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /reactive-mongo-example-1/Readme.md: -------------------------------------------------------------------------------- 1 | To understand this project, follow the link below: 2 | 3 | https://www.youtube.com/watch?v=27Lg96EwPEg&t=2167s 4 | -------------------------------------------------------------------------------- /reactive-mongo-example-1/src/main/java/com/mainul35/example/repositories/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.example.repositories; 2 | 3 | import org.springframework.data.mongodb.repository.ReactiveMongoRepository; 4 | 5 | import com.mainul35.example.model.Employee; 6 | 7 | import reactor.core.publisher.Flux; 8 | 9 | public interface EmployeeRepository extends ReactiveMongoRepository{ 10 | 11 | Flux findAll(); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /reactive-mongo-example-1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8082 -------------------------------------------------------------------------------- /reactive-mongo-example-1/src/test/java/com/mainul35/example/ReactiveMongoExample1ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.example; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ReactiveMongoExample1ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/readme.md: -------------------------------------------------------------------------------- 1 | ** Warning 2 | This file may not work properly. -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/Dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Dao; 2 | 3 | import org.springframework.security.core.userdetails.UserDetailsService; 4 | import org.springframework.web.multipart.MultipartFile; 5 | 6 | /** 7 | * Created by Mainul35 on 9/23/2017. 8 | */ 9 | 10 | public interface UserDao extends UserDetailsService{ 11 | 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/JdbcManager/JdbcManager.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.JdbcManager; 2 | 3 | import java.util.HashMap; 4 | import java.util.List; 5 | 6 | public interface JdbcManager { 7 | 8 | public String insertOrUpdateWithStoredProcedure(String storedProcSql, List storedProcParams) throws QueryException; 9 | public List> getQueryDataWithStoredProcedure(String storedProcSql, List storedProcParams) throws QueryException, Exception; 10 | public String insertOrUpdate(String sql, List storedProcParams) throws QueryException; 11 | public List> getQueryData(String sql, List param) throws QueryException, Exception; 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/JdbcManager/QueryException.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.JdbcManager; 2 | 3 | public class QueryException extends Exception{ 4 | 5 | /** 6 | * 7 | */ 8 | private static final long serialVersionUID = -6175840509656452568L; 9 | private String message; 10 | private Throwable cause; 11 | 12 | public QueryException(String message, Throwable cause) { 13 | super(message,cause); 14 | this.setMessage(message); 15 | this.setCause(cause); 16 | } 17 | 18 | public String getMessage() { 19 | return message; 20 | } 21 | 22 | public void setMessage(String message) { 23 | this.message = message; 24 | } 25 | 26 | public Throwable getCause() { 27 | return cause; 28 | } 29 | 30 | public void setCause(Throwable cause) { 31 | this.cause = cause; 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/Main.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.EnableAutoConfiguration; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.context.annotation.ComponentScan; 7 | import org.springframework.context.annotation.Import; 8 | 9 | /** 10 | * Created by Mainul35 on 2/26/2017. 11 | */ 12 | @ComponentScan(basePackages = { 13 | "com.springtutorials.model", 14 | "com.springtutorials.Service", 15 | "com.springtutorials.Repository", 16 | "com.springtutorials.Rest", 17 | "com.springtutorials.Security.oauth2"}) 18 | 19 | @EnableAutoConfiguration 20 | @SpringBootApplication(exclude = {com.springtutorials.Config.class}) 21 | public class Main { 22 | public static void main(String[] args) { 23 | SpringApplication.run(Main.class, args); 24 | } 25 | } -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/Repository/AuthorityRepository.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Repository; 2 | 3 | import com.springtutorials.model.Authority; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface AuthorityRepository extends JpaRepository{ 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/Repository/CountryRepository.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Repository; 2 | 3 | import com.springtutorials.model.Country; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface CountryRepository extends JpaRepository { 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/Repository/SubjectRepository.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Repository; 2 | 3 | import com.springtutorials.model.Subject; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface SubjectRepository extends JpaRepository { 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/Repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Repository; 2 | 3 | import com.springtutorials.model.User; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.data.jpa.repository.Query; 6 | import org.springframework.data.repository.query.Param; 7 | import org.springframework.stereotype.Repository; 8 | 9 | @Repository 10 | public interface UserRepository extends JpaRepository{ 11 | 12 | @Query("select u from User u where u.username = ?1") 13 | User findByUsername(@Param("username") String username); 14 | 15 | @Query("select u from User u where u.email = ?1") 16 | User findByEmail(@Param("email") String email); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/Security/oauth2/SecurityWebApplicationInitializer.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Security.oauth2; 2 | 3 | import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; 4 | 5 | public class SecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitializer { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/java/com/springtutorials/beans/Beans.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.beans; 2 | 3 | import com.springtutorials.JdbcManager.JdbcManagerService; 4 | import org.springframework.beans.factory.annotation.Autowired; 5 | import org.springframework.context.annotation.Bean; 6 | import org.springframework.context.annotation.Configuration; 7 | import org.springframework.jdbc.core.JdbcTemplate; 8 | import org.springframework.jdbc.datasource.DriverManagerDataSource; 9 | 10 | 11 | @Configuration 12 | public class Beans { 13 | 14 | @Autowired 15 | @Bean JdbcTemplate jdbcTemplate(DriverManagerDataSource dataSource){ 16 | JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource); 17 | return jdbcTemplate; 18 | } 19 | 20 | @Bean 21 | JdbcManagerService jdbcManagerService(JdbcTemplate jdbcTemplate){ 22 | return new JdbcManagerService(jdbcTemplate); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/archived/spring-boot-REST-OAuth2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Thymeleaf 2 | spring.thymeleaf.cache: false 3 | spring.thymeleaf.mode=LEGACYHTML5 4 | 5 | # Database 6 | spring.datasource.driver:com.mysql.jdbc.Driver 7 | spring.datasource.url:jdbc:mysql://localhost:3306/test 8 | spring.datasource.username:root 9 | spring.datasource.password:1234 10 | 11 | # Hibernate 12 | hibernate.dialect:org.hibernate.dialect.MySQL5Dialect 13 | hibernate.show_sql:true 14 | hibernate.hbm2ddl.auto:update 15 | entitymanager.packagesToScan:com.springtutorials.model 16 | 17 | server.contextPath=/ -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/oauth2-authorization-server-with-mongo-token-store/readme.md: -------------------------------------------------------------------------------- 1 | Reference link: 2 | https://github.com/jeebb/oauth-demo -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/oauth2-authorization-server-with-mongo-token-store/src/main/java/com/mainul35/AuthorizationServerApplication.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.context.annotation.Import; 6 | 7 | @SpringBootApplication 8 | public class AuthorizationServerApplication { 9 | 10 | public static void main(String[] args) { 11 | SpringApplication.run(AuthorizationServerApplication.class, args); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/oauth2-authorization-server-with-mongo-token-store/src/main/java/com/mainul35/config/AuthenticationManagerImpl.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.config; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.security.authentication.AuthenticationManager; 5 | import org.springframework.security.core.Authentication; 6 | import org.springframework.security.core.AuthenticationException; 7 | import org.springframework.stereotype.Component; 8 | 9 | @Component 10 | public class AuthenticationManagerImpl implements AuthenticationManager { 11 | @Autowired 12 | private Authentication authentication; 13 | @Override 14 | public Authentication authenticate(Authentication authentication) throws AuthenticationException { 15 | return authentication; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/oauth2-authorization-server-with-mongo-token-store/src/main/java/com/mainul35/domain/OAuth2RequestDomain.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.domain; 2 | 3 | import org.springframework.security.oauth2.provider.OAuth2Request; 4 | 5 | public class OAuth2RequestDomain extends OAuth2Request { 6 | } 7 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/oauth2-authorization-server-with-mongo-token-store/src/main/java/com/mainul35/domain/Role.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.domain; 2 | 3 | import org.springframework.data.mongodb.core.mapping.Document; 4 | import org.springframework.security.core.GrantedAuthority; 5 | 6 | @Document 7 | public class Role implements GrantedAuthority { 8 | String id; 9 | private String authority; 10 | @Override 11 | public String getAuthority() { 12 | return this.authority; 13 | } 14 | 15 | public void setAuthority(String authority) { 16 | this.authority = authority; 17 | } 18 | 19 | public String getId() { 20 | return id; 21 | } 22 | 23 | public void setId(String id) { 24 | this.id = id; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/oauth2-authorization-server-with-mongo-token-store/src/main/java/com/mainul35/repository/MemberRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.repository; 2 | 3 | import com.mainul35.domain.Member; 4 | import org.springframework.data.mongodb.repository.MongoRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface MemberRepository extends MongoRepository { 9 | 10 | public Member findByUsername(String username); 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/oauth2-authorization-server-with-mongo-token-store/src/main/java/com/mainul35/service/UserServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.service; 2 | 3 | import com.mainul35.repository.MemberRepository; 4 | import org.springframework.beans.factory.annotation.Autowired; 5 | import org.springframework.security.core.userdetails.UserDetails; 6 | import org.springframework.security.core.userdetails.UserDetailsService; 7 | import org.springframework.security.core.userdetails.UsernameNotFoundException; 8 | import org.springframework.stereotype.Service; 9 | 10 | @Service 11 | public class UserServiceImpl implements UserDetailsService { 12 | 13 | @Autowired 14 | private MemberRepository memberRepository; 15 | 16 | @Override 17 | public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { 18 | return memberRepository.findByUsername(username); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/spring-boot-oauth2/src/main/java/com/mainul35/authServer/AuthorizationServerApplication.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.authServer; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.context.annotation.Import; 6 | import com.mainul35.authServer.securityConfig.SecurityWebApplicationInitializer; 7 | 8 | @SpringBootApplication 9 | @Import(value={SecurityWebApplicationInitializer.class}) 10 | public class AuthorizationServerApplication { 11 | 12 | public static void main(String[] args) { 13 | SpringApplication.run(AuthorizationServerApplication.class, args); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/spring-boot-oauth2/src/main/java/com/mainul35/authServer/securityConfig/SecurityWebApplicationInitializer.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.authServer.securityConfig; 2 | 3 | import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; 4 | 5 | public class SecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitializer { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/spring-boot-oauth2/src/main/java/com/mainul35/authServer/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.authServer.service; 2 | 3 | import java.util.List; 4 | 5 | import com.mainul35.authServer.model.User; 6 | 7 | 8 | 9 | 10 | public interface UserService { 11 | 12 | User findById(long id); 13 | 14 | User findByName(String name); 15 | 16 | void saveUser(User user); 17 | 18 | void updateUser(User user); 19 | 20 | void deleteUserById(long id); 21 | 22 | List findAllUsers(); 23 | 24 | void deleteAllUsers(); 25 | 26 | public boolean isUserExist(User user); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/spring-boot-oauth2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #spring.datasource.driver-class-name=com.mysql.jdbc.Driver 2 | #spring.datasource.url=jdbc:mysql://localhost:3306/authserverdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false 3 | #spring.datasource.username=root 4 | #spring.datasource.password= 5 | 6 | server.port=8081 7 | server.servlet.context-path=/ 8 | 9 | #spring.jpa.generate-ddl=true 10 | #spring.jpa.hibernate.ddl-auto=create-drop 11 | 12 | security.oauth2.resource.filter-order = 3 -------------------------------------------------------------------------------- /spring-boot-REST-OAuth2/spring-boot-oauth2/src/test/java/com/mainul35/authServer/AuthorizationServerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.authServer; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class AuthorizationServerApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/**/target/ 5 | !**/src/test/**/target/ 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | !**/src/main/**/build/ 30 | !**/src/test/**/build/ 31 | 32 | ### VS Code ### 33 | .vscode/ 34 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/spring-boot-jaxrs/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-jaxrs/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/src/main/java/com/mainul35/springbootjaxrs/JerseyConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.springbootjaxrs; 2 | 3 | import org.glassfish.jersey.server.ResourceConfig; 4 | 5 | public class JerseyConfig extends ResourceConfig { 6 | public JerseyConfig() { 7 | registerEndpoints(); 8 | } 9 | 10 | private void registerEndpoints() { 11 | packages("com.mainul35.springbootjaxrs.resource"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/src/main/java/com/mainul35/springbootjaxrs/SpringBootJaxrsApplication.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.springbootjaxrs; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.context.annotation.ComponentScan; 6 | import org.springframework.context.annotation.Import; 7 | 8 | @SpringBootApplication 9 | @Import(value = {JerseyConfig.class}) 10 | public class SpringBootJaxrsApplication { 11 | 12 | public static void main(String[] args) { 13 | SpringApplication.run(SpringBootJaxrsApplication.class, args); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/src/main/java/com/mainul35/springbootjaxrs/controller/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.springbootjaxrs.controller; 2 | 3 | import org.springframework.web.bind.annotation.GetMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | @RestController 7 | public class HomeController { 8 | 9 | @GetMapping("/") 10 | public String test() { 11 | return "response sent successfully"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/src/main/java/com/mainul35/springbootjaxrs/model/User.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.springbootjaxrs.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @NoArgsConstructor 9 | @AllArgsConstructor 10 | public class User { 11 | private String uuid; 12 | private String username; 13 | private String name; 14 | private String email; 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-jaxrs/src/test/java/com/mainul35/springbootjaxrs/SpringBootJaxrsApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.springbootjaxrs; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootJaxrsApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/spring-boot-rabbit-mq/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/src/main/java/com/mainul35/SpringBootRabbitMqApplication.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringBootRabbitMqApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringBootRabbitMqApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/src/main/java/com/mainul35/model/ChatMessage.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.model; 2 | 3 | import java.io.Serializable; 4 | 5 | public class ChatMessage implements Serializable { 6 | private String content; 7 | private String sender; 8 | private MessageType type; 9 | 10 | public enum MessageType { 11 | CHAT, LEAVE, JOIN 12 | } 13 | 14 | public String getContent() { 15 | return content; 16 | } 17 | 18 | public void setContent(String content) { 19 | this.content = content; 20 | } 21 | 22 | public String getSender() { 23 | return sender; 24 | } 25 | 26 | public void setSender(String sender) { 27 | this.sender = sender; 28 | } 29 | 30 | public MessageType getType() { 31 | return type; 32 | } 33 | 34 | public void setType(MessageType type) { 35 | this.type = type; 36 | } 37 | 38 | @Override 39 | public String toString() { 40 | return "ChatMessage{" + 41 | "content='" + content + '\'' + 42 | ", sender='" + sender + '\'' + 43 | ", type=" + type + 44 | '}'; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/src/main/java/com/mainul35/service/RabbitMQListener.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.service; 2 | 3 | import com.fasterxml.jackson.core.JsonProcessingException; 4 | import com.fasterxml.jackson.databind.ObjectMapper; 5 | import com.mainul35.model.ChatMessage; 6 | import org.springframework.amqp.core.Message; 7 | import org.springframework.amqp.core.MessageListener; 8 | import org.springframework.stereotype.Service; 9 | 10 | @Service 11 | public class RabbitMQListener implements MessageListener { 12 | @Override 13 | public void onMessage(Message message) { 14 | String messageBody = new String(message.getBody()); 15 | ObjectMapper mapper = new ObjectMapper(); 16 | ChatMessage chatMessage = null; 17 | try { 18 | chatMessage = mapper.readValue(messageBody, ChatMessage.class); 19 | } catch (JsonProcessingException e) { 20 | e.printStackTrace(); 21 | } 22 | System.out.println(chatMessage.toString()); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/src/main/java/com/mainul35/service/RabbitMQSender.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.service; 2 | 3 | import com.mainul35.model.ChatMessage; 4 | import org.springframework.amqp.core.AmqpTemplate; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.beans.factory.annotation.Value; 7 | import org.springframework.stereotype.Service; 8 | 9 | @Service 10 | public class RabbitMQSender { 11 | 12 | @Autowired 13 | private AmqpTemplate amqpTemplate; 14 | 15 | @Value("${app.rabbitmq.exchange}") 16 | private String exchange; 17 | 18 | @Value("${app.rabbitmq.routing.key}") 19 | private String routingkey; 20 | // String kafkaTopic = "java_in_use_topic"; 21 | 22 | public void send(ChatMessage chatMessage) { 23 | amqpTemplate.convertAndSend(exchange, routingkey, chatMessage); 24 | System.out.println("Send msg = " + chatMessage); 25 | 26 | } 27 | } -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.rabbitmq.host=localhost 2 | spring.rabbitmq.port=5672 3 | spring.rabbitmq.username=guest 4 | spring.rabbitmq.password=guest 5 | app.rabbitmq.exchange=app.rabbitmq.exchange 6 | app.rabbitmq.queue=app.rabbitmq.queue 7 | app.rabbitmq.routing.key=app.rabbitmq.routing.key 8 | -------------------------------------------------------------------------------- /spring-boot-rabbit-mq/src/test/java/com/mainul35/SpringBootRabbitMqApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringBootRabbitMqApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/Readme.md: -------------------------------------------------------------------------------- 1 | # Resource Server 2 | 3 | This is a simple spring boot application. Import it directly to your favorite IDE. 4 | In the controller, without adding the @CrossOrigin, the client can't access the resources. 5 | Run it as Spring Boot Application, it will start at port 8081 6 | 7 | # Client application 8 | 9 | This is a very simple client app, directly generated as react typeScript application. 10 | There is no reactive or timeout function added, so be sure to refresh the browser after each new entry of person/employee. 11 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/images.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg' 2 | declare module '*.png' 3 | declare module '*.jpg' 4 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "client", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "react": "^16.4.0", 7 | "react-dom": "^16.4.0", 8 | "react-scripts-ts": "4.0.8" 9 | }, 10 | "scripts": { 11 | "start": "react-scripts-ts start", 12 | "build": "react-scripts-ts build", 13 | "test": "react-scripts-ts test --env=jsdom", 14 | "eject": "react-scripts-ts eject" 15 | }, 16 | "devDependencies": { 17 | "@types/jest": "^23.0.0", 18 | "@types/node": "^10.3.0", 19 | "@types/react": "^16.3.16", 20 | "@types/react-dom": "^16.0.5", 21 | "typescript": "^2.9.1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/spring-boot-react/microservice-style/client/public/favicon.ico -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": "./index.html", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | animation: App-logo-spin infinite 20s linear; 7 | height: 80px; 8 | } 9 | 10 | .App-header { 11 | background-color: #222; 12 | height: 150px; 13 | padding: 20px; 14 | color: white; 15 | } 16 | 17 | .App-title { 18 | font-size: 1.5em; 19 | } 20 | 21 | .App-intro { 22 | font-size: large; 23 | } 24 | 25 | @keyframes App-logo-spin { 26 | from { transform: rotate(0deg); } 27 | to { transform: rotate(360deg); } 28 | } 29 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/src/App.test.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | 5 | it('renders without crashing', () => { 6 | const div = document.createElement('div'); 7 | ReactDOM.render(, div); 8 | ReactDOM.unmountComponentAtNode(div); 9 | }); 10 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/src/App.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import './App.css'; 3 | 4 | import {EmployeeList} from "./EmployeeList"; 5 | 6 | 7 | import logo from './logo.svg'; 8 | 9 | class App extends React.Component<{}, {}> { 10 | public render() { 11 | return ( 12 |
13 |
14 | logo 15 |

Welcome to React

16 |
17 |

18 | To get started, edit src/App.tsx and save to reload. 19 |

20 |
21 | 22 |
23 |
24 | ); 25 | } 26 | } 27 | 28 | export default App; 29 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/src/GiphyImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/spring-boot-react/microservice-style/client/src/GiphyImage.tsx -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | padding: 0; 4 | font-family: sans-serif; 5 | } 6 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | import * as ReactDOM from 'react-dom'; 3 | import App from './App'; 4 | import './index.css'; 5 | import registerServiceWorker from './registerServiceWorker'; 6 | 7 | ReactDOM.render( 8 | , 9 | document.getElementById('root') as HTMLElement 10 | ); 11 | registerServiceWorker(); 12 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "outDir": "build/dist", 5 | "module": "esnext", 6 | "target": "es5", 7 | "lib": ["es6", "dom"], 8 | "sourceMap": true, 9 | "allowJs": true, 10 | "jsx": "react", 11 | "moduleResolution": "node", 12 | "rootDir": "src", 13 | "forceConsistentCasingInFileNames": true, 14 | "noImplicitReturns": true, 15 | "noImplicitThis": true, 16 | "noImplicitAny": true, 17 | "strictNullChecks": true, 18 | "suppressImplicitAnyIndexErrors": true, 19 | "noUnusedLocals": true 20 | }, 21 | "exclude": [ 22 | "node_modules", 23 | "build", 24 | "scripts", 25 | "acceptance-tests", 26 | "webpack", 27 | "jest", 28 | "src/setupTests.ts" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/tsconfig.prod.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json" 3 | } -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/tsconfig.test.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "module": "commonjs" 5 | } 6 | } -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/client/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "tslint:recommended", 4 | "tslint-react", 5 | "tslint-config-prettier" 6 | ], 7 | "linterOptions": { 8 | "exclude": [ 9 | "config/**/*.js", 10 | "node_modules/**/*.ts" 11 | ] 12 | }, 13 | "rules": { 14 | "no-console": false 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/resource-server/src/main/java/com/mainul35/example/ResourceServerApplication.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.example; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ResourceServerApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ResourceServerApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/resource-server/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 -------------------------------------------------------------------------------- /spring-boot-react/microservice-style/resource-server/src/test/java/com/mainul35/example/ResourceServerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.example; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ResourceServerApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "env", 4 | "react" 5 | ], 6 | "plugins":[ 7 | "transform-class-properties" 8 | ] 9 | } -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/java/com/mainul35/chainservice/controllers/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.controllers; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.GetMapping; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | @Controller 8 | public class HomeController { 9 | 10 | @RequestMapping("/") 11 | public String index() { 12 | return "index"; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/java/com/mainul35/chainservice/repositories/mongoRepositories/UserMongoRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.repositories.mongoRepositories; 2 | 3 | import org.springframework.data.mongodb.repository.MongoRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import com.mainul35.chainservice.model.domain.mongoDomains.User; 7 | 8 | 9 | @Repository 10 | public interface UserMongoRepository extends MongoRepository { 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/java/com/mainul35/chainservice/repositories/sqlRepositories/AuthorityRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.repositories.sqlRepositories; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.data.jpa.repository.Query; 5 | import org.springframework.data.repository.query.Param; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import com.mainul35.chainservice.model.domain.sqlDomains.Authority; 9 | 10 | @Repository 11 | public interface AuthorityRepository extends JpaRepository{ 12 | 13 | @Query("select a from Authority a where a.id = ?1") 14 | Authority findAuthorityById(@Param("id")Long id); 15 | 16 | Authority findByAuthority(String authority); 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/java/com/mainul35/chainservice/repositories/sqlRepositories/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.repositories.sqlRepositories; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | 5 | import com.mainul35.chainservice.model.domain.sqlDomains.Employee; 6 | 7 | public interface EmployeeRepository extends CrudRepository { 8 | 9 | } -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/java/com/mainul35/chainservice/repositories/sqlRepositories/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.repositories.sqlRepositories; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.data.jpa.repository.Query; 5 | import org.springframework.data.repository.query.Param; 6 | import org.springframework.stereotype.Repository; 7 | 8 | import com.mainul35.chainservice.model.domain.sqlDomains.UserEntity; 9 | 10 | 11 | @Repository 12 | public interface UserRepository extends JpaRepository{ 13 | 14 | @Query("select u from UserEntity u where u.username = ?1") 15 | UserEntity findByUsername(@Param("username") String username); 16 | 17 | @Query("select u from UserEntity u where u.email = ?1") 18 | UserEntity findByEmail(@Param("email") String email); 19 | 20 | @Query("delete from UserEntity u where u.id = ?1") 21 | void deleteById(@Param("id") Long id); 22 | } 23 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/java/com/mainul35/chainservice/securityConfig/MethodSecurityConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.securityConfig; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.security.access.expression.method.MethodSecurityExpressionHandler; 5 | import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; 6 | import org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration; 7 | import org.springframework.security.oauth2.provider.expression.OAuth2MethodSecurityExpressionHandler; 8 | 9 | @Configuration 10 | @EnableGlobalMethodSecurity(prePostEnabled = true, proxyTargetClass = true) 11 | public class MethodSecurityConfig extends GlobalMethodSecurityConfiguration { 12 | 13 | @Override 14 | protected MethodSecurityExpressionHandler createExpressionHandler() { 15 | return new OAuth2MethodSecurityExpressionHandler(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/java/com/mainul35/chainservice/securityConfig/SecurityWebApplicationInitializer.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.securityConfig; 2 | 3 | import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; 4 | 5 | public class SecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitializer { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/resources/META-INF/additional-spring-configuration-metadata.json: -------------------------------------------------------------------------------- 1 | {"properties": [{ 2 | "name": "hibernate.dialect", 3 | "type": "java.lang.String", 4 | "description": "A description for 'hibernate.dialect'" 5 | }]} -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/resources/static/js/template_components/front_end/header.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | 4 | export class FrontEndHeader extends React.Component { 5 | constructor(props){ 6 | super(props); 7 | } 8 | 9 | render(){ 10 | return ( 11 |
12 |

Header section

13 |
14 | ); 15 | } 16 | } -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/resources/static/styles/base/_base.scss: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css?family=Montserrat:100,300,400,500,700'); 2 | 3 | body{ 4 | font-family: 'Montserrat', sans-serif; 5 | font-weight: 300; 6 | } 7 | 8 | table, tr, td, th{ 9 | border: 1px solid black; 10 | } -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/resources/static/styles/main.scss: -------------------------------------------------------------------------------- 1 | @import './base/base'; 2 | 3 | $brandColor: rgba(18, 99, 190, 0.979); 4 | *{ 5 | color: $brandColor; 6 | } -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | ReactJS + Spring Data REST 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/src/test/java/com/mainul35/chainservice/chainservice/ChainserviceApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.chainservice.chainservice; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ChainserviceApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-react/monolithic-style/webpack.config.js: -------------------------------------------------------------------------------- 1 | var path = require('path'); 2 | module.exports = { 3 | entry: './src/main/resources/static/js/app.js', 4 | devtool: 'cheap-module-eval-source-map', 5 | output: { 6 | path: __dirname, 7 | filename: './src/main/resources/static/built/bundle.js' 8 | }, 9 | module: { 10 | rules: [ 11 | { 12 | test: /\.js$/, 13 | exclude: /(node_modules)/, 14 | loader: 'babel-loader', 15 | query: { 16 | cacheDirectory: true, 17 | presets: ['es2015', 'react'] 18 | } 19 | }, 20 | { 21 | test: /\.scss$/, 22 | use: ['style-loader', 'css-loader', 'sass-loader'] 23 | } 24 | ] 25 | }, 26 | devServer: { 27 | contentBase: path.join(__dirname, 'src', 'main', 'resources', 'templates') 28 | }, 29 | mode: "development" 30 | }; 31 | 32 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/java/com/springtutorials/Controller/DemoController.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | import org.springframework.web.bind.annotation.RequestMethod; 6 | 7 | @Controller 8 | public class DemoController { 9 | 10 | 11 | 12 | @RequestMapping(value = "/admin", method = RequestMethod.GET) 13 | public String bar(){ 14 | System.out.println("Admin access only..."); 15 | return "login"; 16 | } 17 | 18 | @RequestMapping(value = "/403", method = RequestMethod.GET) 19 | public String _403(){ 20 | System.out.println("403 : Access Denied!"); 21 | return "403"; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/java/com/springtutorials/Repository/AuthorityRepository.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Repository; 2 | 3 | import com.springtutorials.Entity.Authority; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface AuthorityRepository extends JpaRepository{ 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/java/com/springtutorials/Repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Repository; 2 | 3 | import com.springtutorials.Entity.User; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.data.jpa.repository.Query; 6 | import org.springframework.data.repository.query.Param; 7 | import org.springframework.stereotype.Repository; 8 | 9 | @Repository 10 | public interface UserRepository extends JpaRepository{ 11 | 12 | @Query("select u from User u where u.username = ?1") 13 | User findByUsername(@Param("username") String username); 14 | 15 | @Query("select u from User u where u.email = ?1") 16 | User findByEmail(@Param("email") String email); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/java/com/springtutorials/beans/Beans.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.beans; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | import org.springframework.jdbc.core.JdbcTemplate; 7 | import org.springframework.jdbc.datasource.DriverManagerDataSource; 8 | 9 | import javax.sql.DataSource; 10 | 11 | 12 | @Configuration 13 | public class Beans { 14 | 15 | @Autowired 16 | @Bean JdbcTemplate jdbcTemplate(DataSource dataSource){ 17 | JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource); 18 | return jdbcTemplate; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Thymeleaf 2 | spring.thymeleaf.cache: false 3 | spring.thymeleaf.mode=LEGACYHTML5 4 | 5 | # Database 6 | spring.datasource.driver:com.mysql.jdbc.Driver 7 | spring.datasource.url:jdbc:mysql://localhost:3306/test 8 | spring.datasource.username:root 9 | spring.datasource.password: 10 | 11 | # Hibernate 12 | #hibernate.dialect:org.hibernate.dialect.H2Dialect 13 | hibernate.dialect:org.hibernate.dialect.MySQL5Dialect 14 | hibernate.show_sql:true 15 | hibernate.hbm2ddl.auto:update 16 | entitymanager.packagesToScan:com.springtutorials.Entity 17 | 18 | #spring.jpa.hibernate.ddl-auto:update 19 | server.contextPath=/ -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/resources/templates/403.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 403 6 | 7 | 8 | 9 |

403 : Access Denied!

10 | 11 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/resources/templates/includes/components.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-thymeleaf-CRUD/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 |


18 |

19 | 20 | -------------------------------------------------------------------------------- /spring-boot-websocket/src/main/java/com/mainul35/websocket/Greeting.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.websocket; 2 | 3 | public class Greeting { 4 | private String content; 5 | 6 | public Greeting() { 7 | } 8 | 9 | public Greeting(String content) { 10 | this.content = content; 11 | } 12 | 13 | public String getContent() { 14 | return content; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-websocket/src/main/java/com/mainul35/websocket/GreetingController.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.websocket; 2 | 3 | import org.springframework.messaging.handler.annotation.MessageMapping; 4 | import org.springframework.messaging.handler.annotation.SendTo; 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.util.HtmlUtils; 7 | 8 | @Controller 9 | public class GreetingController { 10 | 11 | 12 | @MessageMapping("/hello") 13 | @SendTo("/topic/greetings") 14 | public Greeting greeting(HelloMessage message) throws Exception { 15 | Thread.sleep(1000); // simulated delay 16 | return new Greeting("Hello, " + HtmlUtils.htmlEscape(message.getName()) + "!"); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /spring-boot-websocket/src/main/java/com/mainul35/websocket/HelloMessage.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.websocket; 2 | 3 | public class HelloMessage { 4 | private String name; 5 | 6 | public HelloMessage() { 7 | } 8 | 9 | public HelloMessage(String name) { 10 | this.name = name; 11 | } 12 | 13 | public String getName() { 14 | return name; 15 | } 16 | 17 | public void setName(String name) { 18 | this.name = name; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /spring-boot-websocket/src/main/java/com/mainul35/websocket/WebSocketMain.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.websocket; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class WebSocketMain { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(WebSocketMain.class, args); 11 | } 12 | } -------------------------------------------------------------------------------- /spring-cloud-jwt-security/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | /target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | 5 | ### STS ### 6 | .apt_generated 7 | .classpath 8 | .factorypath 9 | .project 10 | .settings 11 | .springBeans 12 | .sts4-cache 13 | 14 | ### IntelliJ IDEA ### 15 | .idea 16 | *.iws 17 | *.iml 18 | *.ipr 19 | 20 | ### NetBeans ### 21 | /nbproject/private/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ 26 | /build/ 27 | 28 | ### VS Code ### 29 | .vscode/ 30 | -------------------------------------------------------------------------------- /spring-cloud-jwt-security/Readme.md: -------------------------------------------------------------------------------- 1 | To understand this project, please read the blog https://auth0.com/blog/implementing-jwt-authentication-on-spring-boot/ 2 | 3 | The project source had some problems which has been fixed in my codebase. 4 | 5 | The Spring cloud parts has been added by myself. -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/main/java/com/mainul35/config/security/SecurityConstants.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.config.security; 2 | 3 | public class SecurityConstants { 4 | public static final String SECRET = "SecretKeyToGenJWTs"; 5 | public static final long EXPIRATION_TIME = 864_000_000; // 10 days 6 | public static final String TOKEN_PREFIX = "Bearer "; 7 | public static final String HEADER_STRING = "Authorization"; 8 | public static final String SIGN_UP_URL = "/member/sign-up"; 9 | } -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/main/java/com/mainul35/domain/Role.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.domain; 2 | 3 | import lombok.EqualsAndHashCode; 4 | import lombok.Getter; 5 | import lombok.Setter; 6 | import org.springframework.data.mongodb.core.mapping.Document; 7 | import org.springframework.security.core.GrantedAuthority; 8 | 9 | @Getter 10 | @Setter 11 | @EqualsAndHashCode 12 | @Document 13 | public class Role { 14 | String id; 15 | String roleName; 16 | 17 | public String getAuthority() { 18 | return this.roleName; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/main/java/com/mainul35/domain/Task.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.domain; 2 | 3 | import org.springframework.data.mongodb.core.mapping.Document; 4 | 5 | @Document 6 | public class Task { 7 | private String id; 8 | private String description; 9 | 10 | protected Task() { } 11 | 12 | public Task(String description) { 13 | this.description = description; 14 | } 15 | 16 | public String getId() { 17 | return id; 18 | } 19 | 20 | public String getDescription() { 21 | return description; 22 | } 23 | 24 | public void setDescription(String description) { 25 | this.description = description; 26 | } 27 | } -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/main/java/com/mainul35/repository/MemberRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.repository; 2 | 3 | import com.mainul35.domain.Member; 4 | import org.springframework.data.mongodb.repository.MongoRepository; 5 | import org.springframework.data.repository.CrudRepository; 6 | import org.springframework.stereotype.Repository; 7 | 8 | @Repository 9 | public interface MemberRepository extends MongoRepository { 10 | 11 | Member findByUsername(String username); 12 | } 13 | -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/main/java/com/mainul35/repository/RoleRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.repository; 2 | 3 | import com.mainul35.domain.Role; 4 | import org.springframework.data.repository.CrudRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface RoleRepository extends CrudRepository { 9 | } 10 | -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/main/java/com/mainul35/repository/TaskRepository.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.repository; 2 | 3 | import com.mainul35.domain.Task; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.data.mongodb.repository.MongoRepository; 6 | 7 | import java.util.Optional; 8 | 9 | public interface TaskRepository extends MongoRepository { 10 | } -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.application.name=auth-service 2 | server.port=8900 3 | eureka.client.service-url.default-zone=http://localhost:8761/eureka 4 | 5 | spring.data.mongodb.database=authdb 6 | spring.data.mongodb.port=27017 7 | spring.data.mongodb.host=localhost -------------------------------------------------------------------------------- /spring-cloud-jwt-security/src/test/java/com/mainul35/DiscoveryServerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.mainul35; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class DiscoveryServerApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/main/java/com/springtutorials/Dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Dao; 2 | 3 | import java.util.List; 4 | 5 | 6 | import com.springtutorials.Model.User; 7 | 8 | public interface UserDao { 9 | 10 | public void saveOrUpdate(User user); 11 | 12 | public boolean delete(Integer id); 13 | 14 | public User get(Integer id); 15 | 16 | public List getAll(); 17 | 18 | User getUserByUserName(String username); 19 | } 20 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/main/java/com/springtutorials/Model/Role.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Model; 2 | 3 | 4 | import org.springframework.security.core.GrantedAuthority; 5 | 6 | public class Role implements GrantedAuthority{ 7 | 8 | private String authorityName; 9 | 10 | @Override 11 | public String getAuthority() { 12 | return this.authorityName; 13 | } 14 | 15 | public void setAuthority(String authorityName){ 16 | this.authorityName = authorityName; 17 | } 18 | 19 | @Override 20 | public String toString() { 21 | return "Role [authorityName=" + authorityName + ", getAuthority()=" + getAuthority() + ", getClass()=" 22 | + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]"; 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/main/webapp/WEB-INF/pages/css.jsp: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/main/webapp/WEB-INF/pages/header.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib prefix="sec" 2 | uri="http://www.springframework.org/security/tags"%> 3 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/main/webapp/WEB-INF/pages/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | ${message } 11 | 12 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/main/webapp/WEB-INF/pages/js.jsp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/main/webapp/resources/css/main.css: -------------------------------------------------------------------------------- 1 | @CHARSET "ISO-8859-1"; -------------------------------------------------------------------------------- /spring-mvc-form-based-security-with-database/src/test/java/TwistedNumber.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class TwistedNumber { 4 | 5 | public static void main(String[] args) { 6 | Scanner sc = new Scanner(System.in); 7 | int num = sc.nextInt(); 8 | int start = 0; 9 | int end = 0; 10 | for (int x = 0; x <= (num / 5); x++) { 11 | if (x % 2 == 0) { 12 | 13 | for (; start < num;) { 14 | ++start; 15 | System.out.print(start + " "); 16 | if(start%5==0){ 17 | break; 18 | } 19 | } 20 | end = (start+=5) getAll(); 17 | 18 | User getUserByUserName(String username); 19 | } 20 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-xml/src/main/java/com/springtutorials/Model/Role.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Model; 2 | 3 | 4 | import org.springframework.security.core.GrantedAuthority; 5 | 6 | public class Role implements GrantedAuthority{ 7 | 8 | private String authorityName; 9 | 10 | @Override 11 | public String getAuthority() { 12 | return this.authorityName; 13 | } 14 | 15 | public void setAuthority(String authorityName){ 16 | this.authorityName = authorityName; 17 | } 18 | 19 | @Override 20 | public String toString() { 21 | return "Role [authorityName=" + authorityName + ", getAuthority()=" + getAuthority() + ", getClass()=" 22 | + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]"; 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-xml/src/main/webapp/WEB-INF/pages/css.jsp: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-xml/src/main/webapp/WEB-INF/pages/header.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib prefix="sec" 2 | uri="http://www.springframework.org/security/tags"%> 3 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-xml/src/main/webapp/WEB-INF/pages/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | ${message } 11 | 12 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-xml/src/main/webapp/WEB-INF/pages/js.jsp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-mvc-form-based-security-xml/src/main/webapp/resources/css/main.css: -------------------------------------------------------------------------------- 1 | @CHARSET "ISO-8859-1"; -------------------------------------------------------------------------------- /spring-mvc-form-based-security-xml/src/test/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/spring-mvc-form-based-security-xml/src/test/resources/application.properties -------------------------------------------------------------------------------- /spring-mvc-jdbc-basic-security-xml/src/main/java/com/springtutorials/Dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Dao; 2 | 3 | import java.util.List; 4 | 5 | 6 | import com.springtutorials.Model.User; 7 | 8 | public interface UserDao { 9 | 10 | public void saveOrUpdate(User user); 11 | 12 | public boolean delete(Integer id); 13 | 14 | public User get(Integer id); 15 | 16 | public List getAll(); 17 | 18 | User getUserByUserName(String username); 19 | } 20 | -------------------------------------------------------------------------------- /spring-mvc-jdbc-basic-security-xml/src/main/java/com/springtutorials/Model/Role.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Model; 2 | 3 | 4 | import org.springframework.security.core.GrantedAuthority; 5 | 6 | public class Role implements GrantedAuthority{ 7 | 8 | private String authorityName; 9 | 10 | @Override 11 | public String getAuthority() { 12 | return this.authorityName; 13 | } 14 | 15 | public void setAuthority(String authorityName){ 16 | this.authorityName = authorityName; 17 | } 18 | 19 | @Override 20 | public String toString() { 21 | return "Role [authorityName=" + authorityName + ", getAuthority()=" + getAuthority() + ", getClass()=" 22 | + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]"; 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /spring-mvc-jdbc-basic-security-xml/src/main/webapp/WEB-INF/dispatcher-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-mvc-jdbc-basic-security-xml/src/main/webapp/WEB-INF/pages/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | ${message } 11 | 12 | -------------------------------------------------------------------------------- /spring-mvc-jdbc-basic-security-xml/src/test/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/spring-mvc-jdbc-basic-security-xml/src/test/resources/application.properties -------------------------------------------------------------------------------- /spring-tutorials-jdbcTemplate/src/main/java/com/springtutorials/Dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.Dao; 2 | 3 | import java.util.List; 4 | 5 | 6 | import com.springtutorials.Model.User; 7 | 8 | public interface UserDao { 9 | 10 | public void saveOrUpdate(User user); 11 | 12 | public boolean delete(Integer id); 13 | 14 | public User get(Integer id); 15 | 16 | public List getAll(); 17 | } 18 | -------------------------------------------------------------------------------- /spring-tutorials-jdbcTemplate/src/main/webapp/WEB-INF/dispatcher-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-tutorials-jdbcTemplate/src/main/webapp/WEB-INF/pages/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | ${message } 11 | 12 | -------------------------------------------------------------------------------- /spring-tutorials-jdbcTemplate/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | dispatcher 5 | org.springframework.web.servlet.DispatcherServlet 6 | 1 7 | 8 | 9 | dispatcher 10 | / 11 | 12 | -------------------------------------------------------------------------------- /spring-tutorials-jdbcTemplate/src/test/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/spring-tutorials-jdbcTemplate/src/test/resources/application.properties -------------------------------------------------------------------------------- /spring-tutorials-webmvc/src/main/java/com/springtutorials/controller/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.springtutorials.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | import org.springframework.web.servlet.ModelAndView; 7 | 8 | @Controller 9 | public class HomeController { 10 | 11 | //One way to do it is using the Model object 12 | @RequestMapping("/") 13 | public String index(Model model){ 14 | model.addAttribute("message", "A Hello World Spring MVC message Using Model Object"); 15 | return "index"; 16 | } 17 | 18 | //Another way to do is using the ModelAndView 19 | 20 | @RequestMapping("/hello") 21 | public ModelAndView helloWorld() { 22 | String message = "Another hello world Using ModelAndView Object"; 23 | return new ModelAndView("index", "message", message); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /spring-tutorials-webmvc/src/main/webapp/WEB-INF/dispatcher-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-tutorials-webmvc/src/main/webapp/WEB-INF/pages/index.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 | ${message } 11 | 12 | -------------------------------------------------------------------------------- /spring-tutorials-webmvc/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | dispatcher 9 | org.springframework.web.servlet.DispatcherServlet 10 | 1 11 | 12 | 13 | dispatcher 14 | / 15 | 16 | -------------------------------------------------------------------------------- /spring6-jakartaee--hello-world-poc/src/main/java/com/mainul35/configuration/RootConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.configuration; 2 | 3 | import org.springframework.context.annotation.ComponentScan; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | @Configuration 7 | @ComponentScan(basePackages = {"com.mainul35.service"}) 8 | public class RootConfig { 9 | 10 | } -------------------------------------------------------------------------------- /spring6-jakartaee--hello-world-poc/src/main/java/com/mainul35/configuration/WebMvcConfig.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.configuration; 2 | 3 | import org.springframework.context.annotation.ComponentScan; 4 | import org.springframework.web.servlet.config.annotation.EnableWebMvc; 5 | import org.springframework.web.servlet.config.annotation.ViewResolverRegistry; 6 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 7 | 8 | @EnableWebMvc 9 | @ComponentScan(basePackages = {"com.mainul35.controllers"}) 10 | public class WebMvcConfig implements WebMvcConfigurer { 11 | 12 | 13 | @Override 14 | public void configureViewResolvers(ViewResolverRegistry registry) { 15 | registry.jsp("/WEB-INF/views/", ".jsp"); 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /spring6-jakartaee--hello-world-poc/src/main/java/com/mainul35/controllers/HelloController.java: -------------------------------------------------------------------------------- 1 | package com.mainul35.controllers; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.GetMapping; 6 | 7 | @Controller("/") 8 | public class HelloController { 9 | 10 | @GetMapping 11 | public String sayHello(Model model) { 12 | model.addAttribute("message", "Basic Web app developed with JakartaEE and Spring 6"); 13 | return "hello"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /spring6-jakartaee--hello-world-poc/src/main/webapp/WEB-INF/views/hello.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Created by IntelliJ IDEA. 3 | User: Syed Hasan 4 | Date: 15/11/2022 5 | Time: 11:57 PM 6 | To change this template use File | Settings | File Templates. 7 | --%> 8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 9 | <%--<%@ taglib uri = "http://jakarta.sun.com/jsp/jstl/core" prefix = "c" %>--%> 10 | <%--<%@ taglib prefix="fmt" uri="http://jakarta.sun.com/jstl/fmt"%>--%> 11 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> 12 | 13 | 14 | Hello World 15 | 16 | 17 |

Hello from ${message}

18 | 19 | -------------------------------------------------------------------------------- /tomcat10/bin/bootstrap.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/bin/bootstrap.jar -------------------------------------------------------------------------------- /tomcat10/bin/commons-daemon-native.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/bin/commons-daemon-native.tar.gz -------------------------------------------------------------------------------- /tomcat10/bin/commons-daemon.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/bin/commons-daemon.jar -------------------------------------------------------------------------------- /tomcat10/bin/tomcat-juli.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/bin/tomcat-juli.jar -------------------------------------------------------------------------------- /tomcat10/bin/tomcat-native.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/bin/tomcat-native.tar.gz -------------------------------------------------------------------------------- /tomcat10/certs/mainul35.dev.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/certs/mainul35.dev.jks -------------------------------------------------------------------------------- /tomcat10/conf/.server.xml.swp: -------------------------------------------------------------------------------- 1 | b0nano 6.2,<mainul35mainul35server.xmlU -------------------------------------------------------------------------------- /tomcat10/lib/annotations-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/annotations-api.jar -------------------------------------------------------------------------------- /tomcat10/lib/catalina-ant.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/catalina-ant.jar -------------------------------------------------------------------------------- /tomcat10/lib/catalina-ha.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/catalina-ha.jar -------------------------------------------------------------------------------- /tomcat10/lib/catalina-ssi.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/catalina-ssi.jar -------------------------------------------------------------------------------- /tomcat10/lib/catalina-storeconfig.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/catalina-storeconfig.jar -------------------------------------------------------------------------------- /tomcat10/lib/catalina-tribes.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/catalina-tribes.jar -------------------------------------------------------------------------------- /tomcat10/lib/catalina.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/catalina.jar -------------------------------------------------------------------------------- /tomcat10/lib/ecj-4.27.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/ecj-4.27.jar -------------------------------------------------------------------------------- /tomcat10/lib/el-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/el-api.jar -------------------------------------------------------------------------------- /tomcat10/lib/jakartaee-migration-1.0.6-shaded.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/jakartaee-migration-1.0.6-shaded.jar -------------------------------------------------------------------------------- /tomcat10/lib/jasper-el.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/jasper-el.jar -------------------------------------------------------------------------------- /tomcat10/lib/jasper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/jasper.jar -------------------------------------------------------------------------------- /tomcat10/lib/jaspic-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/jaspic-api.jar -------------------------------------------------------------------------------- /tomcat10/lib/jsp-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/jsp-api.jar -------------------------------------------------------------------------------- /tomcat10/lib/servlet-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/servlet-api.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-api.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-coyote.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-coyote.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-dbcp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-dbcp.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-cs.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-cs.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-de.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-de.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-es.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-es.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-fr.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-fr.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-ja.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-ja.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-ko.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-ko.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-pt-BR.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-pt-BR.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-ru.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-ru.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-i18n-zh-CN.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-i18n-zh-CN.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-jdbc.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-jdbc.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-jni.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-jni.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-util-scan.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-util-scan.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-util.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-util.jar -------------------------------------------------------------------------------- /tomcat10/lib/tomcat-websocket.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/tomcat-websocket.jar -------------------------------------------------------------------------------- /tomcat10/lib/websocket-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/websocket-api.jar -------------------------------------------------------------------------------- /tomcat10/lib/websocket-client-api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/lib/websocket-client-api.jar -------------------------------------------------------------------------------- /tomcat10/temp/safeToDelete.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/temp/safeToDelete.tmp -------------------------------------------------------------------------------- /tomcat10/webapps/ROOT.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/ROOT.war -------------------------------------------------------------------------------- /tomcat10/webapps/ROOT/bg-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/ROOT/bg-button.png -------------------------------------------------------------------------------- /tomcat10/webapps/ROOT/bg-middle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/ROOT/bg-middle.png -------------------------------------------------------------------------------- /tomcat10/webapps/ROOT/bg-nav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/ROOT/bg-nav.png -------------------------------------------------------------------------------- /tomcat10/webapps/ROOT/bg-upper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/ROOT/bg-upper.png -------------------------------------------------------------------------------- /tomcat10/webapps/ROOT/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/ROOT/favicon.ico -------------------------------------------------------------------------------- /tomcat10/webapps/docs/appdev/sample/docs/README.txt: -------------------------------------------------------------------------------- 1 | Licensed to the Apache Software Foundation (ASF) under one or more 2 | contributor license agreements. See the NOTICE file distributed with 3 | this work for additional information regarding copyright ownership. 4 | The ASF licenses this file to You under the Apache License, Version 2.0 5 | (the "License"); you may not use this file except in compliance with 6 | the License. You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | 16 | This is a dummy README file for the sample 17 | web application. 18 | -------------------------------------------------------------------------------- /tomcat10/webapps/docs/appdev/sample/sample.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/appdev/sample/sample.war -------------------------------------------------------------------------------- /tomcat10/webapps/docs/appdev/sample/web/images/tomcat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/appdev/sample/web/images/tomcat.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/architecture/requestProcess/authentication-process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/architecture/requestProcess/authentication-process.png -------------------------------------------------------------------------------- /tomcat10/webapps/docs/architecture/requestProcess/request-process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/architecture/requestProcess/request-process.png -------------------------------------------------------------------------------- /tomcat10/webapps/docs/architecture/startup/serverStartup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/architecture/startup/serverStartup.pdf -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/add.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/code.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/cors-flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/cors-flowchart.png -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/design.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/design.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/docs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/docs.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/fix.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/fix.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/fonts/OpenSans400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/fonts/OpenSans400.woff -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/fonts/OpenSans400italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/fonts/OpenSans400italic.woff -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/fonts/OpenSans600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/fonts/OpenSans600.woff -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/fonts/OpenSans600italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/fonts/OpenSans600italic.woff -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/fonts/OpenSans700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/fonts/OpenSans700.woff -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/fonts/OpenSans700italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/fonts/OpenSans700italic.woff -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/tomcat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/tomcat.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/tomcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/tomcat.png -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/update.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/update.gif -------------------------------------------------------------------------------- /tomcat10/webapps/docs/images/void.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/docs/images/void.gif -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/CookieExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/CookieExample.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/HelloWorldExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/HelloWorldExample.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/LocalStrings_pt_BR.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | requestparams.title=Exemplo de Par\u00e2metros de Requisi\u00e7\u00e3o 17 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/RequestHeaderExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/RequestHeaderExample.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/RequestInfoExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/RequestInfoExample.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/RequestParamExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/RequestParamExample.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/ServletToJsp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/ServletToJsp.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/SessionExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/SessionExample.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Async0$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Async0$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Async0.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Async0.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Async1$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Async1$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Async1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Async1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Async2$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Async2$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Async2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Async2.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Async3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Async3.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/AsyncStockContextListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/AsyncStockContextListener.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Stockticker$Stock.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Stockticker$Stock.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Stockticker$TickListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Stockticker$TickListener.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/async/Stockticker.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/async/Stockticker.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/cal/Entries.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/cal/Entries.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/cal/Entry.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/cal/Entry.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/cal/JspCalendar.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/cal/JspCalendar.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/cal/TableBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/cal/TableBean.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/dates/JspCalendar.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/dates/JspCalendar.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/error/Smart.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/error/Smart.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/examples/FooTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/examples/FooTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/examples/LogTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/examples/LogTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/examples/ValuesTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/examples/ValuesTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/http2/SimpleImagePush.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/listeners/ContextListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/listeners/ContextListener.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/listeners/SessionListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/listeners/SessionListener.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter$CounterListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter$CounterListener.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/nonblocking/ByteCounter.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter$NumberWriterListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter$NumberWriterListener.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/nonblocking/NumberWriter.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/sessions/DummyCart.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/sessions/DummyCart.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers$TrailerFieldSupplier.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers$TrailerFieldSupplier.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/trailers/ResponseTrailers.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/util/CookieFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/util/CookieFilter.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/util/HTMLFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/util/HTMLFilter.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/validators/DebugValidator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/validators/DebugValidator.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Client$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Client$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage$ParseException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage$ParseException.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$2.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$2.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$MessageType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$MessageType.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$Player.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$Player.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation$CompletedFuture.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation$CompletedFuture.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoAsyncAnnotation.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerBinary.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerBinary.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerText.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandlerText.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoStreamAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/EchoStreamAnnotation.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/echo/servers.json: -------------------------------------------------------------------------------- 1 | { 2 | "options": {"failByDrop": false}, 3 | "outdir": "./reports/servers", 4 | 5 | "servers": [ 6 | {"agent": "Basic", 7 | "url": "ws://localhost:8080/examples/websocket/echoAnnotation", 8 | "options": {"version": 18}}, 9 | {"agent": "Stream", 10 | "url": "ws://localhost:8080/examples/websocket/echoStreamAnnotation", 11 | "options": {"version": 18}}, 12 | {"agent": "Async", 13 | "url": "ws://localhost:8080/examples/websocket/echoAsyncAnnotation", 14 | "options": {"version": 18}} 15 | ], 16 | 17 | "cases": ["*"], 18 | "exclude-cases": [], 19 | "exclude-agent-cases": {} 20 | } 21 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Direction.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Direction.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Location$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Location$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Location.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Location.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Snake.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/Snake.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer$1.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.class -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/lib/taglibs-standard-impl-1.2.5-migrated-0.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/lib/taglibs-standard-impl-1.2.5-migrated-0.0.1.jar -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/lib/taglibs-standard-spec-1.2.5-migrated-0.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/WEB-INF/lib/taglibs-standard-spec-1.2.5-migrated-0.0.1.jar -------------------------------------------------------------------------------- /tomcat10/webapps/examples/WEB-INF/tags/helloWorld.tag: -------------------------------------------------------------------------------- 1 | 17 | Hello, world! 18 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/forward/one.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | 18 | 19 | 20 | 21 | 22 | VM Memory usage < 50%. 23 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/forward/two.html: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | VM Memory usage > 50%. 23 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/images/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/jsp/images/code.gif -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/images/execute.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/jsp/images/execute.gif -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/images/return.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/jsp/images/return.gif -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/include/foo.html: -------------------------------------------------------------------------------- 1 | 17 | To get the current time in ms 18 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/include/foo.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | 17 | --%><%= System.currentTimeMillis() %> 18 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/jsp2/jspx/textRotate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/jsp/jsp2/jspx/textRotate.jpg -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/jsp2/misc/coda.jspf: -------------------------------------------------------------------------------- 1 | 17 |
18 |
19 | This banner included with <include-coda> 20 |
21 |
22 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/jsp2/misc/prelude.jspf: -------------------------------------------------------------------------------- 1 | 17 |
18 |
19 | This banner included with <include-prelude> 20 |
21 |
22 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html: -------------------------------------------------------------------------------- 1 | Source Code
<!--
 2 |  Licensed to the Apache Software Foundation (ASF) under one or more
 3 |   contributor license agreements.  See the NOTICE file distributed with
 4 |   this work for additional information regarding copyright ownership.
 5 |   The ASF licenses this file to You under the Apache License, Version 2.0
 6 |   (the "License"); you may not use this file except in compliance with
 7 |   the License.  You may obtain a copy of the License at
 8 | 
 9 |       http://www.apache.org/licenses/LICENSE-2.0
10 | 
11 |   Unless required by applicable law or agreed to in writing, software
12 |   distributed under the License is distributed on an "AS IS" BASIS,
13 |   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 |   See the License for the specific language governing permissions and
15 |   limitations under the License.
16 | -->
17 | Hello, world!
18 | 
-------------------------------------------------------------------------------- /tomcat10/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /tomcat10/webapps/examples/servlets/images/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/servlets/images/code.gif -------------------------------------------------------------------------------- /tomcat10/webapps/examples/servlets/images/execute.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/servlets/images/execute.gif -------------------------------------------------------------------------------- /tomcat10/webapps/examples/servlets/images/return.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/webapps/examples/servlets/images/return.gif -------------------------------------------------------------------------------- /tomcat10/webapps/host-manager/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | <%@ page session="false" trimDirectiveWhitespaces="true" %> 18 | <% response.sendRedirect(request.getContextPath() + "/html"); %> -------------------------------------------------------------------------------- /tomcat10/webapps/manager/index.jsp: -------------------------------------------------------------------------------- 1 | <%-- 2 | Licensed to the Apache Software Foundation (ASF) under one or more 3 | contributor license agreements. See the NOTICE file distributed with 4 | this work for additional information regarding copyright ownership. 5 | The ASF licenses this file to You under the Apache License, Version 2.0 6 | (the "License"); you may not use this file except in compliance with 7 | the License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --%> 17 | <%@ page session="false" trimDirectiveWhitespaces="true" %> 18 | <% response.sendRedirect(request.getContextPath() + "/html"); %> -------------------------------------------------------------------------------- /tomcat10/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainul35/Spring-Spring-Boot-Tutorial-Projects/a2253ae463171338f2a3119ae32bb83f53af15a1/tomcat10/work/Catalina/localhost/ROOT/org/apache/jsp/index_jsp.class --------------------------------------------------------------------------------