summaryrefslogtreecommitdiffstats
path: root/auth/auth-service/src/main/java
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-05-22 17:12:38 -0500
committerInstrumental <jonathan.gathman@att.com>2018-05-22 17:12:42 -0500
commit2607c2b2cd427616a8f869c809aff19453212f14 (patch)
treea23f8ec3390c87c4dd447b4bb6e72c5e26bb0dd1 /auth/auth-service/src/main/java
parent467b962cbf1c78bf617f2dac70096b61f4af5003 (diff)
Fix Password Add
Issue-ID: AAF-319 Change-Id: I31417b6f57b8d5646c739f14affb2f272d6cd0f2 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-service/src/main/java')
-rw-r--r--auth/auth-service/src/main/java/org/onap/aaf/auth/service/validation/ServiceValidator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/validation/ServiceValidator.java b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/validation/ServiceValidator.java
index a6bbbb0b..61b5338b 100644
--- a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/validation/ServiceValidator.java
+++ b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/validation/ServiceValidator.java
@@ -154,7 +154,8 @@ public class ServiceValidator extends Validator {
}
if(org.supportsRealm(cd.id)) {
- if(isNew && (str=org.isValidID(trans, str)).length()>0) {
+ String resp = org.isValidID(trans, str);
+ if(isNew && (resp!=null && resp.length()>0)) {
msg(cd.id,str);
}
}