├── README.md ├── angular-11-client ├── .browserslistrc ├── .editorconfig ├── .gitignore ├── README.md ├── angular-11-jwt-authentication-flow.png ├── angular-11-jwt-authentication-overview.png ├── angular.json ├── e2e │ ├── protractor.conf.js │ ├── src │ │ ├── app.e2e-spec.ts │ │ └── app.po.ts │ └── tsconfig.json ├── karma.conf.js ├── package-lock.json ├── package.json ├── src │ ├── app │ │ ├── _helpers │ │ │ └── auth.interceptor.ts │ │ ├── _services │ │ │ ├── auth.service.spec.ts │ │ │ ├── auth.service.ts │ │ │ ├── token-storage.service.spec.ts │ │ │ ├── token-storage.service.ts │ │ │ ├── user.service.spec.ts │ │ │ └── user.service.ts │ │ ├── app-routing.module.ts │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── board-admin │ │ │ ├── board-admin.component.css │ │ │ ├── board-admin.component.html │ │ │ ├── board-admin.component.spec.ts │ │ │ └── board-admin.component.ts │ │ ├── board-moderator │ │ │ ├── board-moderator.component.css │ │ │ ├── board-moderator.component.html │ │ │ ├── board-moderator.component.spec.ts │ │ │ └── board-moderator.component.ts │ │ ├── board-user │ │ │ ├── board-user.component.css │ │ │ ├── board-user.component.html │ │ │ ├── board-user.component.spec.ts │ │ │ └── board-user.component.ts │ │ ├── home │ │ │ ├── home.component.css │ │ │ ├── home.component.html │ │ │ ├── home.component.spec.ts │ │ │ └── home.component.ts │ │ ├── login │ │ │ ├── login.component.css │ │ │ ├── login.component.html │ │ │ ├── login.component.spec.ts │ │ │ └── login.component.ts │ │ ├── profile │ │ │ ├── profile.component.css │ │ │ ├── profile.component.html │ │ │ ├── profile.component.spec.ts │ │ │ └── profile.component.ts │ │ └── register │ │ │ ├── register.component.css │ │ │ ├── register.component.html │ │ │ ├── register.component.spec.ts │ │ │ └── register.component.ts │ ├── assets │ │ └── .gitkeep │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ └── test.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json ├── angular-11-spring-boot-jwt-authentication-authorization-client.png ├── angular-11-spring-boot-jwt-authentication-authorization-failed.png ├── angular-11-spring-boot-jwt-authentication-authorization-flow.png ├── angular-11-spring-boot-jwt-authentication-authorization-server.png ├── angular-11-spring-boot-jwt-authentication-authorization-successful.png ├── angular-11-spring-boot-jwt-authentication-form-validation.png ├── angular-11-spring-boot-jwt-authentication-public-page.png ├── angular-11-spring-boot-jwt-authentication-user-login.png ├── angular-11-spring-boot-jwt-authentication-user-profile.png ├── angular-11-spring-boot-jwt-authentication-user-registration.png ├── angular-11-spring-boot-jwt-authentication-user.png └── spring-boot-server ├── .gitignore ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── README.md ├── mvnw ├── mvnw.cmd ├── pom.xml ├── spring-boot-jwt-authentication-spring-security-architecture.png ├── spring-boot-jwt-authentication-spring-security-flow.png └── src ├── main ├── java │ └── com │ │ └── bezkoder │ │ └── springjwt │ │ ├── SpringBootSecurityJwtApplication.java │ │ ├── controllers │ │ ├── AuthController.java │ │ └── TestController.java │ │ ├── models │ │ ├── ERole.java │ │ ├── Role.java │ │ └── User.java │ │ ├── payload │ │ ├── request │ │ │ ├── LoginRequest.java │ │ │ └── SignupRequest.java │ │ └── response │ │ │ ├── JwtResponse.java │ │ │ └── MessageResponse.java │ │ ├── repository │ │ ├── RoleRepository.java │ │ └── UserRepository.java │ │ └── security │ │ ├── WebSecurityConfig.java │ │ ├── jwt │ │ ├── AuthEntryPointJwt.java │ │ ├── AuthTokenFilter.java │ │ └── JwtUtils.java │ │ └── services │ │ ├── UserDetailsImpl.java │ │ └── UserDetailsServiceImpl.java └── resources │ └── application.properties └── test └── java └── com └── bezkoder └── springjwt └── SpringBootSecurityJwtApplicationTests.java /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/README.md -------------------------------------------------------------------------------- /angular-11-client/.browserslistrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/.browserslistrc -------------------------------------------------------------------------------- /angular-11-client/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/.editorconfig -------------------------------------------------------------------------------- /angular-11-client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/.gitignore -------------------------------------------------------------------------------- /angular-11-client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/README.md -------------------------------------------------------------------------------- /angular-11-client/angular-11-jwt-authentication-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/angular-11-jwt-authentication-flow.png -------------------------------------------------------------------------------- /angular-11-client/angular-11-jwt-authentication-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/angular-11-jwt-authentication-overview.png -------------------------------------------------------------------------------- /angular-11-client/angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/angular.json -------------------------------------------------------------------------------- /angular-11-client/e2e/protractor.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/e2e/protractor.conf.js -------------------------------------------------------------------------------- /angular-11-client/e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/e2e/src/app.e2e-spec.ts -------------------------------------------------------------------------------- /angular-11-client/e2e/src/app.po.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/e2e/src/app.po.ts -------------------------------------------------------------------------------- /angular-11-client/e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/e2e/tsconfig.json -------------------------------------------------------------------------------- /angular-11-client/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/karma.conf.js -------------------------------------------------------------------------------- /angular-11-client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/package-lock.json -------------------------------------------------------------------------------- /angular-11-client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/package.json -------------------------------------------------------------------------------- /angular-11-client/src/app/_helpers/auth.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/_helpers/auth.interceptor.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/_services/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/_services/auth.service.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/_services/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/_services/auth.service.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/_services/token-storage.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/_services/token-storage.service.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/_services/token-storage.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/_services/token-storage.service.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/_services/user.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/_services/user.service.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/_services/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/_services/user.service.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/app-routing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/app-routing.module.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular-11-client/src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/app.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/app.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/app.module.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/board-admin/board-admin.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular-11-client/src/app/board-admin/board-admin.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-admin/board-admin.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/board-admin/board-admin.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-admin/board-admin.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/board-admin/board-admin.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-admin/board-admin.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/board-moderator/board-moderator.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular-11-client/src/app/board-moderator/board-moderator.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-moderator/board-moderator.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/board-moderator/board-moderator.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-moderator/board-moderator.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/board-moderator/board-moderator.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-moderator/board-moderator.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/board-user/board-user.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular-11-client/src/app/board-user/board-user.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-user/board-user.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/board-user/board-user.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-user/board-user.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/board-user/board-user.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/board-user/board-user.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/home/home.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular-11-client/src/app/home/home.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/home/home.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/home/home.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/home/home.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/home/home.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/home/home.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/login/login.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/login/login.component.css -------------------------------------------------------------------------------- /angular-11-client/src/app/login/login.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/login/login.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/login/login.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/login/login.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/login/login.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/login/login.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/profile/profile.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular-11-client/src/app/profile/profile.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/profile/profile.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/profile/profile.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/profile/profile.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/profile/profile.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/profile/profile.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/register/register.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/register/register.component.css -------------------------------------------------------------------------------- /angular-11-client/src/app/register/register.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/register/register.component.html -------------------------------------------------------------------------------- /angular-11-client/src/app/register/register.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/register/register.component.spec.ts -------------------------------------------------------------------------------- /angular-11-client/src/app/register/register.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/app/register/register.component.ts -------------------------------------------------------------------------------- /angular-11-client/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /angular-11-client/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /angular-11-client/src/environments/environment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/environments/environment.ts -------------------------------------------------------------------------------- /angular-11-client/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/favicon.ico -------------------------------------------------------------------------------- /angular-11-client/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/index.html -------------------------------------------------------------------------------- /angular-11-client/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/main.ts -------------------------------------------------------------------------------- /angular-11-client/src/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/polyfills.ts -------------------------------------------------------------------------------- /angular-11-client/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/styles.css -------------------------------------------------------------------------------- /angular-11-client/src/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/src/test.ts -------------------------------------------------------------------------------- /angular-11-client/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/tsconfig.app.json -------------------------------------------------------------------------------- /angular-11-client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/tsconfig.json -------------------------------------------------------------------------------- /angular-11-client/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/tsconfig.spec.json -------------------------------------------------------------------------------- /angular-11-client/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-client/tslint.json -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-authorization-client.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-authorization-client.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-authorization-failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-authorization-failed.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-authorization-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-authorization-flow.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-authorization-server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-authorization-server.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-authorization-successful.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-authorization-successful.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-form-validation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-form-validation.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-public-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-public-page.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-user-login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-user-login.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-user-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-user-profile.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-user-registration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-user-registration.png -------------------------------------------------------------------------------- /angular-11-spring-boot-jwt-authentication-user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/angular-11-spring-boot-jwt-authentication-user.png -------------------------------------------------------------------------------- /spring-boot-server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/.gitignore -------------------------------------------------------------------------------- /spring-boot-server/.mvn/wrapper/MavenWrapperDownloader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/.mvn/wrapper/MavenWrapperDownloader.java -------------------------------------------------------------------------------- /spring-boot-server/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-server/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /spring-boot-server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/README.md -------------------------------------------------------------------------------- /spring-boot-server/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/mvnw -------------------------------------------------------------------------------- /spring-boot-server/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/mvnw.cmd -------------------------------------------------------------------------------- /spring-boot-server/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/pom.xml -------------------------------------------------------------------------------- /spring-boot-server/spring-boot-jwt-authentication-spring-security-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/spring-boot-jwt-authentication-spring-security-architecture.png -------------------------------------------------------------------------------- /spring-boot-server/spring-boot-jwt-authentication-spring-security-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/spring-boot-jwt-authentication-spring-security-flow.png -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/SpringBootSecurityJwtApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/SpringBootSecurityJwtApplication.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/controllers/AuthController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/controllers/AuthController.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/controllers/TestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/controllers/TestController.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/models/ERole.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/models/ERole.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/models/Role.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/models/Role.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/models/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/models/User.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/request/LoginRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/request/LoginRequest.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/request/SignupRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/request/SignupRequest.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/response/JwtResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/response/JwtResponse.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/response/MessageResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/payload/response/MessageResponse.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/repository/RoleRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/repository/RoleRepository.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/repository/UserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/repository/UserRepository.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/security/WebSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/security/WebSecurityConfig.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/security/jwt/AuthEntryPointJwt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/security/jwt/AuthEntryPointJwt.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/security/jwt/AuthTokenFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/security/jwt/AuthTokenFilter.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/security/jwt/JwtUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/security/jwt/JwtUtils.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/security/services/UserDetailsImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/security/services/UserDetailsImpl.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/java/com/bezkoder/springjwt/security/services/UserDetailsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/java/com/bezkoder/springjwt/security/services/UserDetailsServiceImpl.java -------------------------------------------------------------------------------- /spring-boot-server/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/main/resources/application.properties -------------------------------------------------------------------------------- /spring-boot-server/src/test/java/com/bezkoder/springjwt/SpringBootSecurityJwtApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bezkoder/angular-11-spring-boot-jwt-authentication/HEAD/spring-boot-server/src/test/java/com/bezkoder/springjwt/SpringBootSecurityJwtApplicationTests.java --------------------------------------------------------------------------------