├── .gitattributes ├── .gitignore ├── LICENSE ├── README.en.md ├── README.md ├── backend ├── .gitignore ├── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── src │ └── main │ ├── java │ └── com │ │ └── alexatiks │ │ ├── Application.java │ │ ├── config │ │ └── WebSecurityConfiguration.java │ │ ├── controller │ │ └── TestController.java │ │ └── security │ │ ├── JWTAuthenticationFilter.java │ │ ├── JWTLoginFilter.java │ │ └── TokenAuthenticationHelper.java │ └── resources │ └── application.properties ├── frontend ├── .browserslistrc ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ └── index.html ├── src │ ├── App.vue │ ├── components │ │ ├── Home.vue │ │ ├── NotFound.vue │ │ ├── Secured.vue │ │ └── SignIn.vue │ ├── event-bus.js │ ├── main.js │ ├── plugins │ │ └── vuetify.js │ ├── router │ │ └── index.js │ └── store │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js └── vue.config.js └── screenshots ├── jwt-spring-security-0.png ├── jwt-spring-security-1.png └── jwt-spring-security-2.png /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-vendored -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | node_modules/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/README.en.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/README.md -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/build.gradle -------------------------------------------------------------------------------- /backend/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /backend/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /backend/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/gradlew -------------------------------------------------------------------------------- /backend/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/gradlew.bat -------------------------------------------------------------------------------- /backend/src/main/java/com/alexatiks/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/src/main/java/com/alexatiks/Application.java -------------------------------------------------------------------------------- /backend/src/main/java/com/alexatiks/config/WebSecurityConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/src/main/java/com/alexatiks/config/WebSecurityConfiguration.java -------------------------------------------------------------------------------- /backend/src/main/java/com/alexatiks/controller/TestController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/src/main/java/com/alexatiks/controller/TestController.java -------------------------------------------------------------------------------- /backend/src/main/java/com/alexatiks/security/JWTAuthenticationFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/src/main/java/com/alexatiks/security/JWTAuthenticationFilter.java -------------------------------------------------------------------------------- /backend/src/main/java/com/alexatiks/security/JWTLoginFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/src/main/java/com/alexatiks/security/JWTLoginFilter.java -------------------------------------------------------------------------------- /backend/src/main/java/com/alexatiks/security/TokenAuthenticationHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/backend/src/main/java/com/alexatiks/security/TokenAuthenticationHelper.java -------------------------------------------------------------------------------- /backend/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8091 -------------------------------------------------------------------------------- /frontend/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /frontend/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/.editorconfig -------------------------------------------------------------------------------- /frontend/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/.eslintrc.js -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/App.vue -------------------------------------------------------------------------------- /frontend/src/components/Home.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/components/Home.vue -------------------------------------------------------------------------------- /frontend/src/components/NotFound.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/components/NotFound.vue -------------------------------------------------------------------------------- /frontend/src/components/Secured.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/components/Secured.vue -------------------------------------------------------------------------------- /frontend/src/components/SignIn.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/components/SignIn.vue -------------------------------------------------------------------------------- /frontend/src/event-bus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/event-bus.js -------------------------------------------------------------------------------- /frontend/src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/main.js -------------------------------------------------------------------------------- /frontend/src/plugins/vuetify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/plugins/vuetify.js -------------------------------------------------------------------------------- /frontend/src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/router/index.js -------------------------------------------------------------------------------- /frontend/src/store/actions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/store/actions.js -------------------------------------------------------------------------------- /frontend/src/store/getters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/store/getters.js -------------------------------------------------------------------------------- /frontend/src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/store/index.js -------------------------------------------------------------------------------- /frontend/src/store/mutations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/store/mutations.js -------------------------------------------------------------------------------- /frontend/src/store/state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/src/store/state.js -------------------------------------------------------------------------------- /frontend/vue.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/frontend/vue.config.js -------------------------------------------------------------------------------- /screenshots/jwt-spring-security-0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/screenshots/jwt-spring-security-0.png -------------------------------------------------------------------------------- /screenshots/jwt-spring-security-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/screenshots/jwt-spring-security-1.png -------------------------------------------------------------------------------- /screenshots/jwt-spring-security-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexatiks/spring-security-jwt-csrf/HEAD/screenshots/jwt-spring-security-2.png --------------------------------------------------------------------------------