Comments (1)
A little late, but I hope this can help someone else.
Typically the back end of an authentication mechanism stores hashed passwords, in this case "$2a$10$bnC26zz//2cavYoSCrlHdecWF8tkGfPodlHcYwlACBBwJvcEf0p2G" is the hash of the password "test1243". It uses the BCrypt hashing function, and if you look at the PasswordEncoderConfig class it uses an instance of BCryptPasswordEncoder, for which the default strength = 10.
You can verify this by going to an online BCrypt encoder such as this one and use 10 for the number of rounds. Note that for BCrypt, each time, a different hash value of length 60 is generated.
from springboot-security-jwt.
Related Issues (14)
- Strange problem when I update User HOT 2
- JwtSettings should not be annotated with @Configuration
- status 401 HOT 3
- one of X-Authorization or Authorization is extra or they may mistakenly used HOT 3
- AjaxAuthenticationProvider&JwtAuthenticationProvider HOT 1
- How to work with oauth2
- Error creating bean with name 'webSecurityConfig': Unsatisfied dependency expressed through field 'ajaxAuthenticationProvider'... HOT 1
- how to send refreshToken to the token endpoint? HOT 1
- Why Do JwtTokenProcessingFilter's attemptAuthentication invoke twice in "api/me" request? HOT 2
- Use of Joda Time HOT 2
- Why populate SecurityContext after JWT auth success? HOT 2
- Refresh token problem HOT 8
- Adding test cases HOT 1
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 springboot-security-jwt.