Skip to content

Commit 138173f

Browse files
committed
Remove deprecated password-sha256
1 parent ed1a2a9 commit 138173f

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ _Minimum required Java version: 21_
66
* Removed `TotalVaadinFlowWebSecurity` as it's no longer supported
77
* Please note that Stylesheet [may now required being added to `PublicStatelessPathsProvider`](https://vaadin.com/docs/v25/upgrading#themes-and-styling)
88
* Updated Jackson Databind to v3
9+
* `ActuatorUserConfig`: Remove deprecated `passwordSha256` - Use `passwordHash` instead
910
* Migrated demos and tests
1011
* Code cleanup
1112

web-sidecar-actuator/src/main/java/software/xdev/sse/web/sidecar/actuator/config/ActuatorUserConfig.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
import jakarta.validation.constraints.NotBlank;
2222
import jakarta.validation.constraints.NotNull;
2323

24-
import org.slf4j.LoggerFactory;
25-
2624

2725
public class ActuatorUserConfig
2826
{
@@ -45,27 +43,6 @@ public void setUsername(final String username)
4543
this.username = username;
4644
}
4745

48-
/**
49-
* @deprecated Replaced by {@link #getPasswordHash()}
50-
*/
51-
@Deprecated(since = "1.3.0", forRemoval = true)
52-
public String getPasswordSha256()
53-
{
54-
return this.getPasswordHash();
55-
}
56-
57-
/**
58-
* @deprecated Replaced by {@link #setPasswordHash(String)}
59-
*/
60-
@Deprecated(since = "1.3.0", forRemoval = true)
61-
public void setPasswordSha256(final String passwordSha256)
62-
{
63-
LoggerFactory.getLogger(this.getClass())
64-
.error("Detected usage of deprecated property 'passwordSha256' that will be removed soon."
65-
+ " Use 'passwordHash' instead!");
66-
this.setPasswordHash(passwordSha256);
67-
}
68-
6946
public String getPasswordHash()
7047
{
7148
return this.passwordHash;

0 commit comments

Comments
 (0)