ソースを参照

Typo in Base64StringKeyGenerator exception message

Signed-off-by: James Howe <675056+OrangeDog@users.noreply.github.com>
James Howe 4 ヶ月 前
コミット
8d7f6acab6

+ 1 - 1
crypto/src/main/java/org/springframework/security/crypto/keygen/Base64StringKeyGenerator.java

@@ -68,7 +68,7 @@ public class Base64StringKeyGenerator implements StringKeyGenerator {
 			throw new IllegalArgumentException("encode cannot be null");
 		}
 		if (keyLength < DEFAULT_KEY_LENGTH) {
-			throw new IllegalArgumentException("keyLength must be greater than or equal to" + DEFAULT_KEY_LENGTH);
+			throw new IllegalArgumentException("keyLength must be greater than or equal to " + DEFAULT_KEY_LENGTH);
 		}
 		this.encoder = encoder;
 		this.keyGenerator = KeyGenerators.secureRandom(keyLength);