logo

Long time no see, Java!

Posted on
Authors

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.

    String hashedPassword = user.getPassword();
    StringBuilder sb = new StringBuilder(hashedPassword);
    sb.setCharAt(2, 'a');
    final String patchedHashedPassword = sb.toString();
    Boolean isMatchedPassword = passwordEncoder.matches(password, patchedHashedPassword);
    
    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.

(To be continued…)