diff options
author | Instrumental <jcgmisc@stl.gathman.org> | 2018-04-18 10:52:42 -0500 |
---|---|---|
committer | Instrumental <jcgmisc@stl.gathman.org> | 2018-04-18 10:52:52 -0500 |
commit | 087706284431e63ea77b934859a47beeb59e4592 (patch) | |
tree | f96525f12d0a243f35739d6b909ae892068945bf /auth/auth-service | |
parent | 3c0e04b9064ff069f5e594a5023c2f18ba487e80 (diff) |
Support Multiple Realms for DefaultOrg
Issue-ID: AAF-254
Change-Id: I89a9b1ceaa304861debd4c7dd21879e0b1fc902a
Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
Diffstat (limited to 'auth/auth-service')
-rw-r--r-- | auth/auth-service/src/main/java/org/onap/aaf/auth/service/validation/ServiceValidator.java | 2 |
1 files changed, 1 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 446bf46d..a6bbbb0b 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 @@ -153,7 +153,7 @@ public class ServiceValidator extends Validator { str = str.substring(0,idx); } - if(cd.id.endsWith(org.getRealm())) { + if(org.supportsRealm(cd.id)) { if(isNew && (str=org.isValidID(trans, str)).length()>0) { msg(cd.id,str); } |