coheigea commented on code in PR #3408:
URL: https://github.com/apache/cxf/pull/3408#discussion_r3881037666
##########
rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/utils/crypto/ModelEncryptionSupport.java:
##########
@@ -46,6 +49,12 @@
*/
public final class ModelEncryptionSupport {
public static final String SEP = "|";
+
+ private static final String DEFAULT_TRANSFORMATION = "AES/GCM/NoPadding";
+ private static final int DEFAULT_IV_SIZE = 12;
+ private static final int DEFAULT_AUTH_TAG_LENGTH = 128;
+ private static final SecureRandom RANDOM = new SecureRandom();
Review Comment:
Thanks @reta , I applied that change and did a little cleanup
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]