mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
🐛 Fixing a bug. gateway config injection fail
This commit is contained in:
parent
4af0b1aa89
commit
235273fed1
@ -53,7 +53,7 @@ public class PasswordDecoderFilter extends AbstractGatewayFilterFactory {
|
||||
|
||||
private static final String KEY_ALGORITHM = "AES";
|
||||
|
||||
private GatewayConfigProperties configProperties;
|
||||
private final GatewayConfigProperties configProperties;
|
||||
|
||||
private static String decryptAES(String data, String pass) {
|
||||
AES aes = new AES(Mode.CBC, Padding.NoPadding, new SecretKeySpec(pass.getBytes(), KEY_ALGORITHM),
|
||||
|
Loading…
Reference in New Issue
Block a user