diff --git a/pom.xml b/pom.xml index 9b5f46045c79a52fc26185ee2e126643f48523ef..73b2e9d50b00d6a1637325b409cfe30bb10587d0 100644 --- a/pom.xml +++ b/pom.xml @@ -135,12 +135,6 @@ </repositories> <dependencies> - <dependency> - <groupId>de.thm.arsnova</groupId> - <artifactId>arsnova-light-js</artifactId> - <version>1.0.0-SNAPSHOT</version> - <type>war</type> - </dependency> <dependency> <groupId>de.thm.arsnova</groupId> <artifactId>arsnova-st2-js-ecollab</artifactId> @@ -318,13 +312,6 @@ <artifactId>connector-client</artifactId> <version>0.14.0-SNAPSHOT</version> </dependency> - - <!-- Needed to allow cross origin requests to the API --> - <dependency> - <groupId>de.thm.utils</groupId> - <artifactId>http-utils</artifactId> - <version>0.1.0-SNAPSHOT</version> - </dependency> </dependencies> <build> <plugins> diff --git a/src/main/webapp/WEB-INF/spring/spring-main.xml b/src/main/webapp/WEB-INF/spring/spring-main.xml index b8d4d66922f379714fbb88fec7b003b957687a49..505764fa434f09623a0079772e2673b037ae017d 100644 --- a/src/main/webapp/WEB-INF/spring/spring-main.xml +++ b/src/main/webapp/WEB-INF/spring/spring-main.xml @@ -54,11 +54,9 @@ <!-- Example of connector client configuration --> <!-- Uncomment bean definition to activate connector --> - <bean id="connectorClient" scope="singleton" class="de.thm.arsnova.connector.client.ConnectorClientImpl"> + <!-- bean id="connectorClient" scope="singleton" class="de.thm.arsnova.connector.client.ConnectorClientImpl"> <property name="serviceLocation" value="${connector.uri}"></property> <property name="username" value="${connector.username}"></property> <property name="password" value="${connector.password}"></property> - </bean> - - <http:access-control allow-origin="*" allow-methods="GET" /> + </bean --> </beans>