fix(cognito): restore the SecureRandom import (#2337)

#2139 introduced `new SecureRandom()` in `ensureRefreshTokenSecret`, which
compiled under the file's wildcard `import java.security.*`. #1881 expanded
that wildcard into explicit imports without `SecureRandom`. Both PRs were
green on their own branches; the merged result does not compile, so main has
been failing at `CognitoService.java:2242 cannot find symbol: class
SecureRandom` since #1881 landed.
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-08-15 19:53:30 -04:00
1 parent 33d35b2079
commit 7a2dc53b96
1 file changed
+1
@@ -41,6 +41,7 @@ import java.security.KeyPairGenerator;
import java.security.MessageDigest;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.SecureRandom;
import java.security.Signature;
import java.security.interfaces.RSAPublicKey;
import java.security.spec.PKCS8EncodedKeySpec;