Comments (4)
Hey, @rayacode.
Please include a link to the article you're referring to so we can look into this.
from spring-security-registration.
there is no article, i tested on actual debian 12 local vps, by using apache2 as proxy server, and spring boot app(tomcat) of this project behind the apache2 server. there are some changes of mine to the project to fit to what i want, but not related to the issue.
seems like there an issue with the Spring ResourceUtils.getFile() methd, It is trying to access maxmind/GeoLite2-Country.mmdb but it is unable to find it, in modified method, "new ClassPathResource("maxmind/GeoLite2-City.mmdb")" creats resource that represents the maxmind/GeoLite2-City.mmdb file in the classpath, resource.getInputStream() then gets an InputStream that reads from the file the DatabaseReader.Builder constructor is changed to accept an InputStream instead of a File, allowig it to read from the maxmind/GeoLite2-City.mmdb file even when it is inside jar file
from spring-security-registration.
We're considering this article: https://www.baeldung.com/spring-security-restrict-authentication-by-geography
This issue will remain open until we look into this.
from spring-security-registration.
oh i see what you mean by article, i actually didn't read those completely, this repo is nice code template for the security of the web apps, i found it this way not by learning with articles... .
from spring-security-registration.
Related Issues (20)
- Update the code in article spring-security-block-brute-force-authentication-attempts HOT 1
- error in registration process HOT 1
- Broken code in UserService.java HOT 3
- About security : HTTP 2 instead of HTTP 1.1 HOT 1
- MFA keeps failing: totp validation always returns false HOT 2
- When update all POM dependecies? HOT 2
- Login form submits to unexisting action HOT 3
- Runtime error due to rest-assured dependency HOT 3
- Unable to do API test with Rest Assured API framework- Getting below error - Not sure what is the issue HOT 2
- Failing tests HOT 1
- wont run after packaging war
- Make LoggedUser serializable or don't store it in the session. HOT 2
- Unable to resolve JDBC type code for column `roles.users` HOT 2
- MyLogoutSuccessHandler needs (to extend) SimpleUrlLogoutSuccessHandler HOT 1
- A successful login shouldn't reset the attempt counter HOT 2
- Full courses refund
- Spring Boot 3.0 Migration HOT 1
- Application does not run when deployed to web container (Liberty as an example) HOT 1
- unable to start this application with mysql HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-security-registration.