Skip to content

Commit

Permalink
11.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SupportSDM committed Sep 11, 2024
1 parent 32e04d3 commit 78da2e6
Show file tree
Hide file tree
Showing 6 changed files with 253 additions and 34 deletions.
1 change: 1 addition & 0 deletions com/strongdm/api/ActivityVerb.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public final class ActivityVerb {
public static final String USER_UPDATED = "user updated";
public static final String USER_SIGNUP = "user signup";
public static final String USER_TYPE_CHANGED = "user type changed";
public static final String USER_PASSWORD_CHANGED = "user password changed";
public static final String USER_TEMPORARY_ACCESS_GRANTED = "user temporary access granted";
public static final String USER_TEMPORARY_ACCESS_REVOKED = "user temporary access revoked";
public static final String USER_TEMPORARY_ACCESS_EXPIRED = "user temporary access expired";
Expand Down
1 change: 1 addition & 0 deletions com/strongdm/api/Permission.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public final class Permission {
public static final String USER_DELETE = "user:delete";
public static final String USER_ASSIGN = "user:assign";
public static final String USER_SUSPEND = "user:suspend";
public static final String USER_SET_PASSWORD = "user:set_password";
public static final String DEMO_PROVISIONING_REQUEST_CREATE = "demoprovisioningrequest:create";
public static final String DEMO_PROVISIONING_REQUEST_LIST = "demoprovisioningrequest:list";
public static final String ROLE_LIST = "role:list";
Expand Down
2 changes: 1 addition & 1 deletion com/strongdm/api/SigningCallCredential.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SigningCallCredential extends CallCredentials {
private final String apiAccessKey;
private final String signature;
private static final String API_VERSION = "2024-03-28";
private static final String USER_AGENT = "strongdm-sdk-java/11.9.0";
private static final String USER_AGENT = "strongdm-sdk-java/11.10.0";

protected SigningCallCredential(String apiAccessKey, String signature) {
this.apiAccessKey = apiAccessKey;
Expand Down
16 changes: 16 additions & 0 deletions com/strongdm/api/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,22 @@ public void setManagedBy(String in) {
this.managedBy = in;
}

private String password;
/**
* Password is a write-only field that can be used to set the user's password. Currently only
* supported for update.
*/
public String getPassword() {
return this.password;
}
/**
* Password is a write-only field that can be used to set the user's password. Currently only
* supported for update.
*/
public void setPassword(String in) {
this.password = in;
}

private String permissionLevel;
/** PermissionLevel is the user's permission level e.g. admin, DBA, user. */
public String getPermissionLevel() {
Expand Down
Loading

0 comments on commit 78da2e6

Please sign in to comment.