Compare commits
2 Commits
uoa-author
...
master
Author | SHA1 | Date |
---|---|---|
|
e91a0e6af8 | |
|
b84f29c803 |
4
pom.xml
4
pom.xml
|
@ -7,12 +7,12 @@
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>uoa-authorization-library</artifactId>
|
<artifactId>uoa-authorization-library</artifactId>
|
||||||
<version>2.1.4</version>
|
<version>2.1.5-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>uoa-authorization-library</name>
|
<name>uoa-authorization-library</name>
|
||||||
<scm>
|
<scm>
|
||||||
<developerConnection>scm:git:gitea@code-repo.d4science.org:MaDgIK/authorization-library.git</developerConnection>
|
<developerConnection>scm:git:gitea@code-repo.d4science.org:MaDgIK/authorization-library.git</developerConnection>
|
||||||
<tag>uoa-authorization-library-2.1.4</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|
|
@ -24,6 +24,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