Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Support Multiple Realms for DefaultOrg
[aaf/authz.git]
/
auth
/
auth-service
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
auth
/
service
/
validation
/
ServiceValidator.java
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
446bf46
..
a6bbbb0
100644
(file)
--- 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);
}
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);
}
if(isNew && (str=org.isValidID(trans, str)).length()>0) {
msg(cd.id,str);
}