Skip to content

Commit a85f210

Browse files
committed
CAUSEWAY-3988: fixes prev. commit
1 parent c004df1 commit a85f210

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/CausewayModuleCoreRuntimeServices.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public HmacAuthority fallbackHmacAuthority() {
160160
.filter(StringUtils::hasText)
161161
.map(_Bytes::parse)
162162
.filter(secret->{
163-
Assert.isTrue(secret.length>16, ()->"Illegal Argument: "
163+
Assert.isTrue(secret.length>=16, ()->"Illegal Argument: "
164164
+ "env. var. 'causeway_hmac_sha256' underflows required byte count of 16");
165165
log.info("using secret from env. var. 'causeway_hmac_sha256' having length {} bytes", secret.length);
166166
return true;

0 commit comments

Comments
 (0)