aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2019-04-23 16:50:49 +0200
committerkjaniak <kornel.janiak@nokia.com>2019-04-23 16:51:58 +0200
commit8b74fa5d846106c835abb87260ae78d5bae47c6b (patch)
treea14b92d3fcf343421f7142a64444ff3a85d9e922 /rest-services
parent4ddbd6d544eafd16aeda6a412729f4d77ec581df (diff)
Add masking to AAF user and password
Change-Id: I21d5037394852e8802d84cbbf029fe24646f1793 Issue-ID: DCAEGEN2-1449 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Diffstat (limited to 'rest-services')
-rw-r--r--rest-services/model/src/main/java/org/onap/dcaegen2/services/sdk/model/streams/AafCredentials.java3
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();
}