Skip to content

Commit e18a168

Browse files
committed
Merge branch '7.10' of github.com:gchq/stroom
1 parent a396ede commit e18a168

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stroom-core-shared/src/main/java/stroom/security/shared/CreateHashedApiKeyRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private CreateHashedApiKeyRequest() {
4949
.builder()
5050
.withOwner(UserRef.builder().build())
5151
.withName("test")
52-
.withHashAlgorithm(HashAlgorithm.BCRYPT));
52+
.withHashAlgorithm(ApiKeyHashAlgorithm.BCRYPT));
5353
}
5454

5555
private CreateHashedApiKeyRequest(final Builder builder) {

stroom-core-shared/src/main/java/stroom/security/shared/HashedApiKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public HashedApiKey(@JsonProperty("id") final Integer id,
8585
private HashedApiKey() {
8686
this(HashedApiKey
8787
.builder()
88-
.withHashAlgorithm(HashAlgorithm.BCRYPT));
88+
.withHashAlgorithm(ApiKeyHashAlgorithm.BCRYPT));
8989
}
9090

9191
private HashedApiKey(final Builder builder) {

0 commit comments

Comments
 (0)