Skip to content

Commit

Permalink
Merge pull request #542 from camunda-community-hub/feature/change-use…
Browse files Browse the repository at this point in the history
…r-to-username

feat: change user to username
  • Loading branch information
1nb0und authored Dec 5, 2023
2 parents 1a53a29 + a24d8e5 commit 0abc38e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ public Authentication authentication() {
.jwtConfig(jwtConfig)
.build();
}
} else if (commonConfigurationProperties != null && commonConfigurationProperties.getUser() != null) {
} else if (commonConfigurationProperties != null && commonConfigurationProperties.getUsername() != null) {
SimpleConfig simpleConfig = new SimpleConfig();
SimpleCredential common = new SimpleCredential(commonConfigurationProperties.getUser(), commonConfigurationProperties.getPassword());
SimpleCredential common = new SimpleCredential(commonConfigurationProperties.getUsername(), commonConfigurationProperties.getPassword());
simpleConfig.addProduct(Product.OPERATE, common);
simpleConfig.addProduct(Product.CONSOLE, common);
simpleConfig.addProduct(Product.OPTIMIZE, common);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class Client {

private String clientId;
private String clientSecret;
private String user;
private String username;
private String password;
private Boolean enabled;

Expand All @@ -24,12 +24,12 @@ public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}

public String getUser() {
return user;
public String getUsername() {
return username;
}

public void setUser(String user) {
this.user = user;
public void setUsername(String username) {
this.username = username;
}

public String getPassword() {
Expand Down

0 comments on commit 0abc38e

Please sign in to comment.