├── Filedemo ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── filedemo │ │ │ ├── FiledemoApplication.java │ │ │ └── web │ │ │ └── FileController.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── upload.html │ │ └── uploadstatus.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── filedemo │ └── FiledemoApplicationTests.java ├── FiledemoDb ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── filedemo │ │ │ ├── FiledemoApplication.java │ │ │ ├── domain │ │ │ ├── FileModel.java │ │ │ └── FileModelRepository.java │ │ │ └── web │ │ │ └── FileController.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── filelist.html │ │ ├── upload.html │ │ └── uploadstatus.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── filedemo │ └── FiledemoApplicationTests.java ├── HelloForm ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── HelloFormApplication.java │ │ │ ├── domain │ │ │ └── Message.java │ │ │ └── web │ │ │ └── MessageController.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── hello.html │ │ └── result.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── HelloFormApplicationTests.java ├── HelloFormValidation ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── HelloFormApplication.java │ │ │ ├── domain │ │ │ └── Message.java │ │ │ └── web │ │ │ └── MessageController.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── hello.html │ │ └── result.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── HelloFormApplicationTests.java ├── HelloRest ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── RestdemoApplication.java │ │ │ ├── domain │ │ │ └── Message.java │ │ │ └── web │ │ │ └── MessageController.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── RestdemoApplicationTests.java ├── HelloTest ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── HellotestApplication.java │ │ │ └── web │ │ │ └── HelloController.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ ├── HellotestApplicationTests.java │ └── WebLayerTest.java ├── LICENSE ├── README.md ├── SecureStudentList ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ ├── WebSecurityConfig.java │ │ │ ├── domain │ │ │ ├── Department.java │ │ │ ├── DepartmentRepository.java │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ │ │ └── web │ │ │ └── StudentController.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── bootstrap.min.css │ │ └── templates │ │ ├── addstudent.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── BookListApplicationTests.java ├── SecureStudentListUser ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ ├── WebSecurityConfig.java │ │ │ ├── domain │ │ │ ├── AppUser.java │ │ │ ├── AppUserRepository.java │ │ │ ├── Department.java │ │ │ ├── DepartmentRepository.java │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ │ │ └── web │ │ │ ├── StudentController.java │ │ │ └── UserDetailServiceImpl.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── bootstrap.min.css │ │ └── templates │ │ ├── addstudent.html │ │ ├── login.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── BookListApplicationTests.java ├── SecurityDemo ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── SecuritydemoApplication.java │ │ │ ├── WebSecurityConfig.java │ │ │ └── web │ │ │ └── DemoController.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── hello.html │ │ ├── home.html │ │ └── login.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── SecuritydemoApplicationTests.java ├── StudentJpaTest ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ ├── WebSecurityConfig.java │ │ │ ├── domain │ │ │ ├── AppUser.java │ │ │ ├── AppUserRepository.java │ │ │ ├── Department.java │ │ │ ├── DepartmentRepository.java │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ │ │ └── web │ │ │ ├── StudentController.java │ │ │ └── UserDetailServiceImpl.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── bootstrap.min.css │ │ └── templates │ │ ├── addstudent.html │ │ ├── login.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ ├── StudentListApplicationTests.java │ └── StudentRepositoryTest.java ├── StudentList ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ └── domain │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── BookListApplicationTests.java ├── StudentListCrud ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ ├── domain │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ │ │ └── web │ │ │ └── StudentController.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── bootstrap.min.css │ │ └── templates │ │ ├── addstudent.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ ├── BookListApplicationTests.java │ └── StudentListApplicationTests.java ├── StudentListGraphQL ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── README.txt ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ ├── domain │ │ │ ├── Department.java │ │ │ ├── DepartmentRepository.java │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ │ │ └── web │ │ │ ├── Mutation.java │ │ │ ├── Query.java │ │ │ └── StudentController.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── bootstrap.min.css │ │ ├── studentlist.graphqls │ │ └── templates │ │ ├── addstudent.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── BookListApplicationTests.java ├── StudentListJDBC ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── demo │ │ │ ├── DatabasedemoApplication.java │ │ │ ├── domain │ │ │ ├── Student.java │ │ │ ├── StudentDAO.java │ │ │ ├── StudentDAOImpl.java │ │ │ └── StudentRowMapper.java │ │ │ └── web │ │ │ └── StudentController.java │ └── resources │ │ ├── application.properties │ │ ├── schema.sql │ │ └── templates │ │ ├── addstudent.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── demo │ └── DatabasedemoApplicationTests.java ├── StudentListOneToMany ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ ├── domain │ │ │ ├── Department.java │ │ │ ├── DepartmentRepository.java │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ │ │ └── web │ │ │ └── StudentController.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── bootstrap.min.css │ │ └── templates │ │ ├── addstudent.html │ │ ├── editstudent.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── BookListApplicationTests.java ├── StudentListRest ├── .gitignore ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── fi │ │ │ └── haagahelia │ │ │ └── course │ │ │ ├── StudentListApplication.java │ │ │ ├── domain │ │ │ ├── Department.java │ │ │ ├── DepartmentRepository.java │ │ │ ├── Student.java │ │ │ └── StudentRepository.java │ │ │ └── web │ │ │ └── StudentController.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── bootstrap.min.css │ │ └── templates │ │ ├── addstudent.html │ │ └── studentlist.html │ └── test │ └── java │ └── fi │ └── haagahelia │ └── course │ └── BookListApplicationTests.java └── StudentListSignup ├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── fi │ │ └── haagahelia │ │ └── course │ │ ├── StudentListSignUpApplication.java │ │ ├── WebSecurityConfig.java │ │ ├── domain │ │ ├── AppUser.java │ │ ├── AppUserRepository.java │ │ ├── Department.java │ │ ├── DepartmentRepository.java │ │ ├── SignupForm.java │ │ ├── Student.java │ │ └── StudentRepository.java │ │ └── web │ │ ├── StudentController.java │ │ ├── UserController.java │ │ └── UserDetailServiceImpl.java └── resources │ ├── application.properties │ ├── static │ └── css │ │ └── bootstrap.min.css │ └── templates │ ├── addstudent.html │ ├── login.html │ ├── signup.html │ └── studentlist.html └── test └── java └── fi └── haagahelia └── course ├── StudentListApplicationTests.java └── StudentRepositoryTest.java /Filedemo/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /Filedemo/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /Filedemo/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /Filedemo/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/mvnw -------------------------------------------------------------------------------- /Filedemo/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/mvnw.cmd -------------------------------------------------------------------------------- /Filedemo/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/pom.xml -------------------------------------------------------------------------------- /Filedemo/src/main/java/fi/haagahelia/filedemo/FiledemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/src/main/java/fi/haagahelia/filedemo/FiledemoApplication.java -------------------------------------------------------------------------------- /Filedemo/src/main/java/fi/haagahelia/filedemo/web/FileController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/src/main/java/fi/haagahelia/filedemo/web/FileController.java -------------------------------------------------------------------------------- /Filedemo/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/src/main/resources/application.properties -------------------------------------------------------------------------------- /Filedemo/src/main/resources/templates/upload.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/src/main/resources/templates/upload.html -------------------------------------------------------------------------------- /Filedemo/src/main/resources/templates/uploadstatus.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/src/main/resources/templates/uploadstatus.html -------------------------------------------------------------------------------- /Filedemo/src/test/java/fi/haagahelia/filedemo/FiledemoApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/Filedemo/src/test/java/fi/haagahelia/filedemo/FiledemoApplicationTests.java -------------------------------------------------------------------------------- /FiledemoDb/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /FiledemoDb/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /FiledemoDb/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /FiledemoDb/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/mvnw -------------------------------------------------------------------------------- /FiledemoDb/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/mvnw.cmd -------------------------------------------------------------------------------- /FiledemoDb/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/pom.xml -------------------------------------------------------------------------------- /FiledemoDb/src/main/java/fi/haagahelia/filedemo/FiledemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/java/fi/haagahelia/filedemo/FiledemoApplication.java -------------------------------------------------------------------------------- /FiledemoDb/src/main/java/fi/haagahelia/filedemo/domain/FileModel.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/java/fi/haagahelia/filedemo/domain/FileModel.java -------------------------------------------------------------------------------- /FiledemoDb/src/main/java/fi/haagahelia/filedemo/domain/FileModelRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/java/fi/haagahelia/filedemo/domain/FileModelRepository.java -------------------------------------------------------------------------------- /FiledemoDb/src/main/java/fi/haagahelia/filedemo/web/FileController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/java/fi/haagahelia/filedemo/web/FileController.java -------------------------------------------------------------------------------- /FiledemoDb/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/resources/application.properties -------------------------------------------------------------------------------- /FiledemoDb/src/main/resources/templates/filelist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/resources/templates/filelist.html -------------------------------------------------------------------------------- /FiledemoDb/src/main/resources/templates/upload.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/resources/templates/upload.html -------------------------------------------------------------------------------- /FiledemoDb/src/main/resources/templates/uploadstatus.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/main/resources/templates/uploadstatus.html -------------------------------------------------------------------------------- /FiledemoDb/src/test/java/fi/haagahelia/filedemo/FiledemoApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/FiledemoDb/src/test/java/fi/haagahelia/filedemo/FiledemoApplicationTests.java -------------------------------------------------------------------------------- /HelloForm/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /HelloForm/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /HelloForm/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /HelloForm/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/mvnw -------------------------------------------------------------------------------- /HelloForm/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/mvnw.cmd -------------------------------------------------------------------------------- /HelloForm/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/pom.xml -------------------------------------------------------------------------------- /HelloForm/src/main/java/fi/haagahelia/course/HelloFormApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/src/main/java/fi/haagahelia/course/HelloFormApplication.java -------------------------------------------------------------------------------- /HelloForm/src/main/java/fi/haagahelia/course/domain/Message.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/src/main/java/fi/haagahelia/course/domain/Message.java -------------------------------------------------------------------------------- /HelloForm/src/main/java/fi/haagahelia/course/web/MessageController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/src/main/java/fi/haagahelia/course/web/MessageController.java -------------------------------------------------------------------------------- /HelloForm/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelloForm/src/main/resources/templates/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/src/main/resources/templates/hello.html -------------------------------------------------------------------------------- /HelloForm/src/main/resources/templates/result.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/src/main/resources/templates/result.html -------------------------------------------------------------------------------- /HelloForm/src/test/java/fi/haagahelia/course/HelloFormApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloForm/src/test/java/fi/haagahelia/course/HelloFormApplicationTests.java -------------------------------------------------------------------------------- /HelloFormValidation/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /HelloFormValidation/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /HelloFormValidation/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /HelloFormValidation/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/mvnw -------------------------------------------------------------------------------- /HelloFormValidation/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/mvnw.cmd -------------------------------------------------------------------------------- /HelloFormValidation/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/pom.xml -------------------------------------------------------------------------------- /HelloFormValidation/src/main/java/fi/haagahelia/course/HelloFormApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/src/main/java/fi/haagahelia/course/HelloFormApplication.java -------------------------------------------------------------------------------- /HelloFormValidation/src/main/java/fi/haagahelia/course/domain/Message.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/src/main/java/fi/haagahelia/course/domain/Message.java -------------------------------------------------------------------------------- /HelloFormValidation/src/main/java/fi/haagahelia/course/web/MessageController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/src/main/java/fi/haagahelia/course/web/MessageController.java -------------------------------------------------------------------------------- /HelloFormValidation/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelloFormValidation/src/main/resources/templates/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/src/main/resources/templates/hello.html -------------------------------------------------------------------------------- /HelloFormValidation/src/main/resources/templates/result.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/src/main/resources/templates/result.html -------------------------------------------------------------------------------- /HelloFormValidation/src/test/java/fi/haagahelia/course/HelloFormApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloFormValidation/src/test/java/fi/haagahelia/course/HelloFormApplicationTests.java -------------------------------------------------------------------------------- /HelloRest/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /HelloRest/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /HelloRest/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /HelloRest/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/mvnw -------------------------------------------------------------------------------- /HelloRest/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/mvnw.cmd -------------------------------------------------------------------------------- /HelloRest/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/pom.xml -------------------------------------------------------------------------------- /HelloRest/src/main/java/fi/haagahelia/course/RestdemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/src/main/java/fi/haagahelia/course/RestdemoApplication.java -------------------------------------------------------------------------------- /HelloRest/src/main/java/fi/haagahelia/course/domain/Message.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/src/main/java/fi/haagahelia/course/domain/Message.java -------------------------------------------------------------------------------- /HelloRest/src/main/java/fi/haagahelia/course/web/MessageController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/src/main/java/fi/haagahelia/course/web/MessageController.java -------------------------------------------------------------------------------- /HelloRest/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:h2:mem:testdb 2 | -------------------------------------------------------------------------------- /HelloRest/src/test/java/com/example/demo/RestdemoApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloRest/src/test/java/com/example/demo/RestdemoApplicationTests.java -------------------------------------------------------------------------------- /HelloTest/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /HelloTest/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /HelloTest/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /HelloTest/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/mvnw -------------------------------------------------------------------------------- /HelloTest/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/mvnw.cmd -------------------------------------------------------------------------------- /HelloTest/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/pom.xml -------------------------------------------------------------------------------- /HelloTest/src/main/java/fi/haagahelia/course/HellotestApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/src/main/java/fi/haagahelia/course/HellotestApplication.java -------------------------------------------------------------------------------- /HelloTest/src/main/java/fi/haagahelia/course/web/HelloController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/src/main/java/fi/haagahelia/course/web/HelloController.java -------------------------------------------------------------------------------- /HelloTest/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelloTest/src/test/java/fi/haagahelia/course/HellotestApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/src/test/java/fi/haagahelia/course/HellotestApplicationTests.java -------------------------------------------------------------------------------- /HelloTest/src/test/java/fi/haagahelia/course/WebLayerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/HelloTest/src/test/java/fi/haagahelia/course/WebLayerTest.java -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/README.md -------------------------------------------------------------------------------- /SecureStudentList/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /SecureStudentList/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /SecureStudentList/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /SecureStudentList/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/mvnw -------------------------------------------------------------------------------- /SecureStudentList/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/mvnw.cmd -------------------------------------------------------------------------------- /SecureStudentList/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/pom.xml -------------------------------------------------------------------------------- /SecureStudentList/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /SecureStudentList/src/main/java/fi/haagahelia/course/WebSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/java/fi/haagahelia/course/WebSecurityConfig.java -------------------------------------------------------------------------------- /SecureStudentList/src/main/java/fi/haagahelia/course/domain/Department.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/java/fi/haagahelia/course/domain/Department.java -------------------------------------------------------------------------------- /SecureStudentList/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java -------------------------------------------------------------------------------- /SecureStudentList/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /SecureStudentList/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /SecureStudentList/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /SecureStudentList/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/resources/application.properties -------------------------------------------------------------------------------- /SecureStudentList/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /SecureStudentList/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /SecureStudentList/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /SecureStudentList/src/test/java/fi/haagahelia/course/BookListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentList/src/test/java/fi/haagahelia/course/BookListApplicationTests.java -------------------------------------------------------------------------------- /SecureStudentListUser/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /SecureStudentListUser/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /SecureStudentListUser/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /SecureStudentListUser/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/mvnw -------------------------------------------------------------------------------- /SecureStudentListUser/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/mvnw.cmd -------------------------------------------------------------------------------- /SecureStudentListUser/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/pom.xml -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/WebSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/WebSecurityConfig.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/AppUser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/AppUser.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/AppUserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/AppUserRepository.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/Department.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/Department.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/java/fi/haagahelia/course/web/UserDetailServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/java/fi/haagahelia/course/web/UserDetailServiceImpl.java -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/resources/application.properties -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/resources/templates/login.html -------------------------------------------------------------------------------- /SecureStudentListUser/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /SecureStudentListUser/src/test/java/fi/haagahelia/course/BookListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecureStudentListUser/src/test/java/fi/haagahelia/course/BookListApplicationTests.java -------------------------------------------------------------------------------- /SecurityDemo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/.gitignore -------------------------------------------------------------------------------- /SecurityDemo/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /SecurityDemo/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /SecurityDemo/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/mvnw -------------------------------------------------------------------------------- /SecurityDemo/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/mvnw.cmd -------------------------------------------------------------------------------- /SecurityDemo/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/pom.xml -------------------------------------------------------------------------------- /SecurityDemo/src/main/java/fi/haagahelia/course/SecuritydemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/src/main/java/fi/haagahelia/course/SecuritydemoApplication.java -------------------------------------------------------------------------------- /SecurityDemo/src/main/java/fi/haagahelia/course/WebSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/src/main/java/fi/haagahelia/course/WebSecurityConfig.java -------------------------------------------------------------------------------- /SecurityDemo/src/main/java/fi/haagahelia/course/web/DemoController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/src/main/java/fi/haagahelia/course/web/DemoController.java -------------------------------------------------------------------------------- /SecurityDemo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:h2:mem:testdb 2 | -------------------------------------------------------------------------------- /SecurityDemo/src/main/resources/templates/hello.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/src/main/resources/templates/hello.html -------------------------------------------------------------------------------- /SecurityDemo/src/main/resources/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/src/main/resources/templates/home.html -------------------------------------------------------------------------------- /SecurityDemo/src/main/resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/src/main/resources/templates/login.html -------------------------------------------------------------------------------- /SecurityDemo/src/test/java/fi/haagahelia/course/SecuritydemoApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/SecurityDemo/src/test/java/fi/haagahelia/course/SecuritydemoApplicationTests.java -------------------------------------------------------------------------------- /StudentJpaTest/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /StudentJpaTest/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentJpaTest/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentJpaTest/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/mvnw -------------------------------------------------------------------------------- /StudentJpaTest/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/mvnw.cmd -------------------------------------------------------------------------------- /StudentJpaTest/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/pom.xml -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/WebSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/WebSecurityConfig.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/domain/AppUser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/domain/AppUser.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/domain/AppUserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/domain/AppUserRepository.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/domain/Department.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/domain/Department.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/java/fi/haagahelia/course/web/UserDetailServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/java/fi/haagahelia/course/web/UserDetailServiceImpl.java -------------------------------------------------------------------------------- /StudentJpaTest/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentJpaTest/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /StudentJpaTest/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /StudentJpaTest/src/main/resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/resources/templates/login.html -------------------------------------------------------------------------------- /StudentJpaTest/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /StudentJpaTest/src/test/java/fi/haagahelia/course/StudentListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/test/java/fi/haagahelia/course/StudentListApplicationTests.java -------------------------------------------------------------------------------- /StudentJpaTest/src/test/java/fi/haagahelia/course/StudentRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentJpaTest/src/test/java/fi/haagahelia/course/StudentRepositoryTest.java -------------------------------------------------------------------------------- /StudentList/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /StudentList/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentList/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentList/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/mvnw -------------------------------------------------------------------------------- /StudentList/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/mvnw.cmd -------------------------------------------------------------------------------- /StudentList/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/pom.xml -------------------------------------------------------------------------------- /StudentList/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /StudentList/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /StudentList/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /StudentList/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentList/src/test/java/fi/haagahelia/course/BookListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentList/src/test/java/fi/haagahelia/course/BookListApplicationTests.java -------------------------------------------------------------------------------- /StudentListCrud/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/.gitignore -------------------------------------------------------------------------------- /StudentListCrud/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentListCrud/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentListCrud/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/mvnw -------------------------------------------------------------------------------- /StudentListCrud/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/mvnw.cmd -------------------------------------------------------------------------------- /StudentListCrud/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/pom.xml -------------------------------------------------------------------------------- /StudentListCrud/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /StudentListCrud/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /StudentListCrud/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /StudentListCrud/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /StudentListCrud/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentListCrud/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /StudentListCrud/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /StudentListCrud/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /StudentListCrud/src/test/java/fi/haagahelia/course/BookListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/test/java/fi/haagahelia/course/BookListApplicationTests.java -------------------------------------------------------------------------------- /StudentListCrud/src/test/java/fi/haagahelia/course/StudentListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListCrud/src/test/java/fi/haagahelia/course/StudentListApplicationTests.java -------------------------------------------------------------------------------- /StudentListGraphQL/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /StudentListGraphQL/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentListGraphQL/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentListGraphQL/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/README.txt -------------------------------------------------------------------------------- /StudentListGraphQL/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/mvnw -------------------------------------------------------------------------------- /StudentListGraphQL/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/mvnw.cmd -------------------------------------------------------------------------------- /StudentListGraphQL/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/pom.xml -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/Department.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/Department.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/web/Mutation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/web/Mutation.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/web/Query.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/web/Query.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/resources/studentlist.graphqls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/resources/studentlist.graphqls -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /StudentListGraphQL/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /StudentListGraphQL/src/test/java/fi/haagahelia/course/BookListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListGraphQL/src/test/java/fi/haagahelia/course/BookListApplicationTests.java -------------------------------------------------------------------------------- /StudentListJDBC/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /StudentListJDBC/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentListJDBC/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentListJDBC/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/mvnw -------------------------------------------------------------------------------- /StudentListJDBC/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/mvnw.cmd -------------------------------------------------------------------------------- /StudentListJDBC/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/pom.xml -------------------------------------------------------------------------------- /StudentListJDBC/src/main/java/fi/haagahelia/demo/DatabasedemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/java/fi/haagahelia/demo/DatabasedemoApplication.java -------------------------------------------------------------------------------- /StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/Student.java -------------------------------------------------------------------------------- /StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/StudentDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/StudentDAO.java -------------------------------------------------------------------------------- /StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/StudentDAOImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/StudentDAOImpl.java -------------------------------------------------------------------------------- /StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/StudentRowMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/java/fi/haagahelia/demo/domain/StudentRowMapper.java -------------------------------------------------------------------------------- /StudentListJDBC/src/main/java/fi/haagahelia/demo/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/java/fi/haagahelia/demo/web/StudentController.java -------------------------------------------------------------------------------- /StudentListJDBC/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentListJDBC/src/main/resources/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/resources/schema.sql -------------------------------------------------------------------------------- /StudentListJDBC/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /StudentListJDBC/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /StudentListJDBC/src/test/java/fi/haagahelia/demo/DatabasedemoApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListJDBC/src/test/java/fi/haagahelia/demo/DatabasedemoApplicationTests.java -------------------------------------------------------------------------------- /StudentListOneToMany/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /StudentListOneToMany/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentListOneToMany/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentListOneToMany/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/mvnw -------------------------------------------------------------------------------- /StudentListOneToMany/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/mvnw.cmd -------------------------------------------------------------------------------- /StudentListOneToMany/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/pom.xml -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/Department.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/Department.java -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/resources/templates/editstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/resources/templates/editstudent.html -------------------------------------------------------------------------------- /StudentListOneToMany/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /StudentListOneToMany/src/test/java/fi/haagahelia/course/BookListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListOneToMany/src/test/java/fi/haagahelia/course/BookListApplicationTests.java -------------------------------------------------------------------------------- /StudentListRest/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /StudentListRest/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentListRest/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentListRest/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/mvnw -------------------------------------------------------------------------------- /StudentListRest/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/mvnw.cmd -------------------------------------------------------------------------------- /StudentListRest/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/pom.xml -------------------------------------------------------------------------------- /StudentListRest/src/main/java/fi/haagahelia/course/StudentListApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/java/fi/haagahelia/course/StudentListApplication.java -------------------------------------------------------------------------------- /StudentListRest/src/main/java/fi/haagahelia/course/domain/Department.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/java/fi/haagahelia/course/domain/Department.java -------------------------------------------------------------------------------- /StudentListRest/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java -------------------------------------------------------------------------------- /StudentListRest/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /StudentListRest/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /StudentListRest/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /StudentListRest/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentListRest/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /StudentListRest/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /StudentListRest/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /StudentListRest/src/test/java/fi/haagahelia/course/BookListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListRest/src/test/java/fi/haagahelia/course/BookListApplicationTests.java -------------------------------------------------------------------------------- /StudentListSignup/.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse 2 | .classpath 3 | .project 4 | .settings/ 5 | 6 | # Maven 7 | log/ 8 | target/ -------------------------------------------------------------------------------- /StudentListSignup/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /StudentListSignup/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /StudentListSignup/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/mvnw -------------------------------------------------------------------------------- /StudentListSignup/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/mvnw.cmd -------------------------------------------------------------------------------- /StudentListSignup/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/pom.xml -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/StudentListSignUpApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/StudentListSignUpApplication.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/WebSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/WebSecurityConfig.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/domain/AppUser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/domain/AppUser.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/domain/AppUserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/domain/AppUserRepository.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/domain/Department.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/domain/Department.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/domain/DepartmentRepository.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/domain/SignupForm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/domain/SignupForm.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/domain/Student.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/domain/StudentRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/domain/StudentRepository.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/web/StudentController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/web/StudentController.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/web/UserController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/web/UserController.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/java/fi/haagahelia/course/web/UserDetailServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/java/fi/haagahelia/course/web/UserDetailServiceImpl.java -------------------------------------------------------------------------------- /StudentListSignup/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/resources/application.properties -------------------------------------------------------------------------------- /StudentListSignup/src/main/resources/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/resources/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /StudentListSignup/src/main/resources/templates/addstudent.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/resources/templates/addstudent.html -------------------------------------------------------------------------------- /StudentListSignup/src/main/resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/resources/templates/login.html -------------------------------------------------------------------------------- /StudentListSignup/src/main/resources/templates/signup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/resources/templates/signup.html -------------------------------------------------------------------------------- /StudentListSignup/src/main/resources/templates/studentlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/main/resources/templates/studentlist.html -------------------------------------------------------------------------------- /StudentListSignup/src/test/java/fi/haagahelia/course/StudentListApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/test/java/fi/haagahelia/course/StudentListApplicationTests.java -------------------------------------------------------------------------------- /StudentListSignup/src/test/java/fi/haagahelia/course/StudentRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/juhahinkula/ServerProgramming/HEAD/StudentListSignup/src/test/java/fi/haagahelia/course/StudentRepositoryTest.java --------------------------------------------------------------------------------