- Published on
Long time no see, Java!
- Authors
- Name
- ansidev
- @ansidev
Long time no see, Java!
It has been 2 years since I came back to Java programming and there are many changes!
After 2 weeks, there are many notes I want to share with you:
Oracle JDK is not free of charge anymore for production.
You can consider some of alternative solutions:
Solution for Circular Dependencies Problem
Problem
Encoded password does not look like BCrypt
.- Why? StackOverflow topic.
- My solution:
String hashedPassword = user.getPassword(); StringBuilder sb = new StringBuilder(hashedPassword); sb.setCharAt(2, 'a'); final String patchedHashedPassword = sb.toString(); Boolean isMatchedPassword = passwordEncoder.matches(password, patchedHashedPassword);
Problem while parsing OAuth2 JSON nested response.
- Why? GitHub Issue.
- My Solution (based on solution from an answer): OAuth2 Access Token Nested Json Response Http Message Converter.
(To be continued...)