Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support the use of ciphertext passwords in yml. #300

Merged
merged 1 commit into from
May 23, 2024

Conversation

CorvusYe
Copy link
Collaborator

@CorvusYe CorvusYe commented May 23, 2024

Support for #298

Developers can create a custom decoder that implements the interface PasswordDecoder

For example:

@Component
public class Base64PasswordDecoder implements PasswordDecoder {

  @Override
  public String decode(String password) {
    return new String(Base64.getDecoder().decode(password));
  }

}
nebula:
  username: root
  password: bmVidWxh # actual password is: nebula

Tip:

At this stage, it is not supported to use @Value to inject additional attributes.
现阶段 支持使用 @Value 注入额外属性。

PR type:

  • new feat

@CorvusYe CorvusYe merged commit c991bd7 into nebula-contrib:master May 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant