Commit 765fee2e authored by cdanger's avatar cdanger

Fixed configuration files after refactoring class names

parent 7471b79e
......@@ -19,6 +19,7 @@
package org.ow2.authzforce.webapp.test.pep.cxf;
import java.net.URL;
import java.net.URLClassLoader;
import javax.xml.namespace.QName;
import javax.xml.ws.BindingProvider;
......@@ -61,18 +62,30 @@ public class RESTfulPdpBasedAuthzInterceptorTest extends AbstractBusClientServer
@org.junit.BeforeClass
public static void startServers() throws Exception
{
/*
* Show classpath
*/
final ClassLoader cl = ClassLoader.getSystemClassLoader();
final URL[] urls = ((URLClassLoader) cl).getURLs();
for (final URL url : urls)
{
System.out.println(url.getFile());
}
assertTrue("DoubleIt WS Server failed to launch",
// run the server in the same process
// set this to false to fork
launchServer(Server.class, true));
// run the server in the same process
// set this to false to fork
launchServer(Server.class, true));
assertTrue("STS Server failed to launch",
// run the server in the same process
// set this to false to fork
launchServer(STSServer.class, true));
// run the server in the same process
// set this to false to fork
launchServer(STSServer.class, true));
assertTrue("PDP Server failed to launch",
// run the server in the same process
// set this to false to fork
launchServer(PdpServer.class, true));
// run the server in the same process
// set this to false to fork
launchServer(PdpServer.class, true));
}
private DoubleItPortType doubleItWsPort = null;
......
......@@ -59,9 +59,9 @@
<constructor-arg name="extensionXsdLocation" value="${jndi_configDir}/authzforce-ext.xsd" />
</bean>
<bean id="domainDAOClientFactoryBean" class="org.ow2.authzforce.rest.service.jaxrs.DomainResourceImpl$Factory" />
<bean id="domainDaoClientFactoryBean" class="org.ow2.authzforce.rest.service.jaxrs.DomainResourceImpl$Factory" />
<bean id="domainsDAOBean" class="org.ow2.authzforce.pap.dao.flatfile.FlatFileBasedDomainsDAO" destroy-method="closeDomains">
<bean id="domainsDaoBean" class="org.ow2.authzforce.pap.dao.flatfile.FlatFileBasedDomainsDao" destroy-method="closeDomains">
<!-- Root directory of domain folders; a domain folder contains all configuration data of a specific domain, and is named after the domain ID encoded with base64url. -->
<constructor-arg name="domainsRoot" value="${jndi_dataDir}/domains" />
<!-- domain template directory for domain creation -->
......@@ -72,11 +72,11 @@
<constructor-arg name="enablePdpOnly" value="${jndi_enablePdpOnly}" />
<constructor-arg name="enableXacmlJsonProfile" value="${jndi_enableXacmlJsonProfile}" />
<constructor-arg name="useRandomAddressBasedUUID" value="#{T(java.lang.Boolean).valueOf(${jndi_useRandomAddressBasedUUID})}" />
<constructor-arg name="domainDAOClientFactory" ref="domainDAOClientFactoryBean" />
<constructor-arg name="domainDaoClientFactory" ref="domainDaoClientFactoryBean" />
</bean>
<bean id="domainsResourceBean" class="org.ow2.authzforce.rest.service.jaxrs.DomainsResourceImpl">
<constructor-arg name="domainsDAO" ref="domainsDAOBean" />
<constructor-arg name="domainsDao" ref="domainsDaoBean" />
<constructor-arg name="authorizedResourceAttribute" value="authorizedResource" />
<constructor-arg name="anyResourceId">
<null />
......@@ -110,11 +110,11 @@
<property name="extraClass" value="#{ T(org.ow2.authzforce.core.pdp.impl.PdpExtensions).getExtensionJaxbClasses().toArray() }" />
<property name="schemaHandler" ref="apiSchemaHandler" />
</bean>
<bean class="org.ow2.authzforce.rest.service.jaxrs.BadRequestExceptionMapper" />
<bean class="org.ow2.authzforce.rest.service.jaxrs.ClientErrorExceptionMapper" />
<bean class="org.ow2.authzforce.rest.service.jaxrs.UnsupportedOperationExceptionMapper" />
<bean class="org.ow2.authzforce.rest.service.jaxrs.ServerErrorExceptionMapper" />
<bean class="org.ow2.authzforce.rest.service.jaxrs.DefaultExceptionMapper" />
<bean class="org.ow2.authzforce.jaxrs.util.BadRequestExceptionMapper" />
<bean class="org.ow2.authzforce.jaxrs.util.ClientErrorExceptionMapper" />
<bean class="org.ow2.authzforce.jaxrs.util.UnsupportedOperationExceptionMapper" />
<bean class="org.ow2.authzforce.jaxrs.util.ServerErrorExceptionMapper" />
<bean class="org.ow2.authzforce.jaxrs.util.DefaultExceptionMapper" />
</jaxrs:providers>
<!-- USE Logging{In,Out}Interceptor FOR DEBUGGING ONLY -->
<!-- <jaxrs:inInterceptors> -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment