diff options
-rw-r--r-- | rest-services/model/src/main/java/org/onap/dcaegen2/services/sdk/model/streams/AafCredentials.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rest-services/model/src/main/java/org/onap/dcaegen2/services/sdk/model/streams/AafCredentials.java b/rest-services/model/src/main/java/org/onap/dcaegen2/services/sdk/model/streams/AafCredentials.java index 565efa10..b7da39a2 100644 --- a/rest-services/model/src/main/java/org/onap/dcaegen2/services/sdk/model/streams/AafCredentials.java +++ b/rest-services/model/src/main/java/org/onap/dcaegen2/services/sdk/model/streams/AafCredentials.java @@ -33,12 +33,15 @@ import org.jetbrains.annotations.Nullable; * @since 1.1.4 */ @Value.Immutable +@Value.Style(redactedMask = "***") @Gson.TypeAdapters public interface AafCredentials { + @Value.Redacted @SerializedName(value = "username", alternate = "aaf_username") @Nullable String username(); + @Value.Redacted @SerializedName(value = "password", alternate = "aaf_password") @Nullable String password(); } |