Loading cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapUserDAO.java +2 −2 Original line number Diff line number Diff line Loading @@ -739,7 +739,7 @@ public class LdapUserDAO extends LdapDAO // cache memberOf values in the user LocalAuthority localAuthority = new LocalAuthority(); URI gmsServiceURI = localAuthority.getServiceURI("gms"); URI gmsServiceURI = localAuthority.getServiceURI("ac"); GroupMemberships gms = new GroupMemberships(gmsServiceURI.toString(), userID); user.appData = gms; // add even if empty Loading Loading @@ -1277,7 +1277,7 @@ public class LdapUserDAO extends LdapDAO { UUID uuid = new UUID(0L, Long.parseLong(numericID)); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); String uriString = umsServiceURI.toString() + "?" + uuid.toString(); URI uri; try Loading cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/web/WhoAmIServlet.java +1 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,7 @@ public class WhoAmIServlet extends HttpServlet final RegistryClient registryClient = getRegistryClient(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); log.debug("ums service uri: " + umsServiceURI); Loading cadcAccessControl-Server/test/src/ca/nrc/cadc/ac/server/web/WhoAmIServletTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ public class WhoAmIServletTest expectLastCall().once(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); // expect(mockRegistry.getServiceURL(URI.create(umsServiceURI.toString() + "#users"), // "http", "/%s?idType=HTTP")). Loading cadcAccessControl-Server/test/src/ca/nrc/cadc/ac/server/web/groups/RemoveUserMemberActionTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class RemoveUserMemberActionTest { User user = new User(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); InternalID internalID = new InternalID(new URI(umsServiceURI.toASCIIString() + "?" + UUID.randomUUID())); ObjectUtil.setField(user, internalID, "id"); Loading Loading @@ -172,7 +172,7 @@ public class RemoveUserMemberActionTest { User user = new User(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); InternalID internalID = new InternalID(new URI(umsServiceURI.toString() + "?" + UUID.randomUUID())); ObjectUtil.setField(user, internalID, "id"); Loading cadcAccessControl/src/ca/nrc/cadc/ac/xml/AbstractReaderWriter.java +1 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ public abstract class AbstractReaderWriter public AbstractReaderWriter() { LocalAuthority localAuthority = new LocalAuthority(); URI serviceURI = localAuthority.getServiceURI("gms"); URI serviceURI = localAuthority.getServiceURI("ac"); gmsServiceURI = serviceURI.toString(); } Loading Loading
cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ldap/LdapUserDAO.java +2 −2 Original line number Diff line number Diff line Loading @@ -739,7 +739,7 @@ public class LdapUserDAO extends LdapDAO // cache memberOf values in the user LocalAuthority localAuthority = new LocalAuthority(); URI gmsServiceURI = localAuthority.getServiceURI("gms"); URI gmsServiceURI = localAuthority.getServiceURI("ac"); GroupMemberships gms = new GroupMemberships(gmsServiceURI.toString(), userID); user.appData = gms; // add even if empty Loading Loading @@ -1277,7 +1277,7 @@ public class LdapUserDAO extends LdapDAO { UUID uuid = new UUID(0L, Long.parseLong(numericID)); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); String uriString = umsServiceURI.toString() + "?" + uuid.toString(); URI uri; try Loading
cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/web/WhoAmIServlet.java +1 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,7 @@ public class WhoAmIServlet extends HttpServlet final RegistryClient registryClient = getRegistryClient(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); log.debug("ums service uri: " + umsServiceURI); Loading
cadcAccessControl-Server/test/src/ca/nrc/cadc/ac/server/web/WhoAmIServletTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ public class WhoAmIServletTest expectLastCall().once(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); // expect(mockRegistry.getServiceURL(URI.create(umsServiceURI.toString() + "#users"), // "http", "/%s?idType=HTTP")). Loading
cadcAccessControl-Server/test/src/ca/nrc/cadc/ac/server/web/groups/RemoveUserMemberActionTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ public class RemoveUserMemberActionTest { User user = new User(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); InternalID internalID = new InternalID(new URI(umsServiceURI.toASCIIString() + "?" + UUID.randomUUID())); ObjectUtil.setField(user, internalID, "id"); Loading Loading @@ -172,7 +172,7 @@ public class RemoveUserMemberActionTest { User user = new User(); LocalAuthority localAuthority = new LocalAuthority(); URI umsServiceURI = localAuthority.getServiceURI("ums"); URI umsServiceURI = localAuthority.getServiceURI("ac"); InternalID internalID = new InternalID(new URI(umsServiceURI.toString() + "?" + UUID.randomUUID())); ObjectUtil.setField(user, internalID, "id"); Loading
cadcAccessControl/src/ca/nrc/cadc/ac/xml/AbstractReaderWriter.java +1 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ public abstract class AbstractReaderWriter public AbstractReaderWriter() { LocalAuthority localAuthority = new LocalAuthority(); URI serviceURI = localAuthority.getServiceURI("gms"); URI serviceURI = localAuthority.getServiceURI("ac"); gmsServiceURI = serviceURI.toString(); } Loading