Skip to content

Commit 75e54b2

Browse files
committed
MC-30191: Properly fixed the serialization
1 parent 977d5fc commit 75e54b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/org/openstack4j/openstack/identity/v3/domain/KeystoneAuth.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public KeystoneAuth(String userId, String password) {
5151
public KeystoneAuth(String user, String password, Identifier domain, AuthScope scope) {
5252
this.identity = AuthIdentity.createCredentialType(user, password, domain);
5353
this.scope = scope;
54+
this.type = Type.CREDENTIALS;
5455
}
5556

5657
public KeystoneAuth(AuthScope scope, Type type) {
@@ -62,6 +63,7 @@ protected KeystoneAuth(Type type) {
6263
this.type = type;
6364
}
6465

66+
@JsonIgnore
6567
public Type getType() {
6668
return type;
6769
}

0 commit comments

Comments
 (0)