Fix mapType in Authorization Service to handle extra '.'
This commit is contained in:
parent
be1f1bb2bc
commit
84e068a58a
|
@ -23,6 +23,9 @@ public class AuthorizationService {
|
||||||
} else if(type.equals("ri") && communityMap) {
|
} else if(type.equals("ri") && communityMap) {
|
||||||
type = "community";
|
type = "community";
|
||||||
}
|
}
|
||||||
|
while (type.contains(".")) {
|
||||||
|
type = type.replace(".", "_");
|
||||||
|
}
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue