Commit 395cf987 authored by cdanger's avatar cdanger

- Fixed broken authzforce-ce-core-XXX-tests artifact (missing classes)

- Renamed LocalPdpBasedAuthzInterceptor* test classes to
EmbeddedPdpBasedAuthzInterceptor*
- Added null check in MapFunctionFactory for checking if sub-function
return type parameter is null (wrong)
parent fa453be9
......@@ -58,7 +58,7 @@
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
......@@ -128,7 +128,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<onlyAnalyze>org.ow2.authzforce.*</onlyAnalyze>
<onlyAnalyze>org.ow2.authzforce.*</onlyAnalyze>
<excludeFilterFile>findbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
<executions>
......@@ -292,8 +292,8 @@
<includes>
<include>org.ow2.authzforce.core.test.xsd</include>
<include>org/ow2/authzforce/core/xmlns/test/**</include>
<include>org/ow2/authzforce/core/test/custom/**</include>
<include>org/ow2/authzforce/core/test/utils/**</include>
<include>org/ow2/authzforce/core/pdp/impl/test/custom/**</include>
<include>org/ow2/authzforce/core/pdp/impl/test/utils/**</include>
<include>META-INF/**</include>
</includes>
</configuration>
......
......@@ -51,13 +51,11 @@ public final class ImmutableFunctionRegistry implements FunctionRegistry
* @param genericFunctionFactories
* (optional) generic function factories
*/
public ImmutableFunctionRegistry(Set<Function<?>> nonGenericFunctions,
Set<GenericHigherOrderFunctionFactory> genericFunctionFactories)
public ImmutableFunctionRegistry(final Set<Function<?>> nonGenericFunctions, final Set<GenericHigherOrderFunctionFactory> genericFunctionFactories)
{
this.nonGenericFunctionRegistry = new ImmutablePdpExtensionRegistry<>(Function.class, nonGenericFunctions);
this.genericHigherOrderFunctionFactoryRegistry = genericFunctionFactories == null ? null
: new ImmutablePdpExtensionRegistry<>(GenericHigherOrderFunctionFactory.class,
genericFunctionFactories);
this.genericHigherOrderFunctionFactoryRegistry = genericFunctionFactories == null ? null : new ImmutablePdpExtensionRegistry<>(GenericHigherOrderFunctionFactory.class,
genericFunctionFactories);
}
/*
......@@ -66,7 +64,7 @@ public final class ImmutableFunctionRegistry implements FunctionRegistry
* @see org.ow2.authzforce.core.pdp.impl.func.FunctionRegistry#getFunction(java.lang.String)
*/
@Override
public Function<?> getFunction(String functionId)
public Function<?> getFunction(final String functionId)
{
return nonGenericFunctionRegistry.getExtension(functionId);
}
......@@ -74,12 +72,10 @@ public final class ImmutableFunctionRegistry implements FunctionRegistry
/*
* (non-Javadoc)
*
* @see org.ow2.authzforce.core.pdp.impl.func.FunctionRegistry#getFunction(java.lang.String,
* org.ow2.authzforce.core.pdp.api.value.DatatypeFactory)
* @see org.ow2.authzforce.core.pdp.impl.func.FunctionRegistry#getFunction(java.lang.String, org.ow2.authzforce.core.pdp.api.value.DatatypeFactory)
*/
@Override
public <SUB_RETURN_T extends AttributeValue> Function<?> getFunction(String functionId,
DatatypeFactory<SUB_RETURN_T> subFunctionReturnTypeFactory)
public <SUB_RETURN_T extends AttributeValue> Function<?> getFunction(final String functionId, final DatatypeFactory<SUB_RETURN_T> subFunctionReturnTypeFactory)
{
final Function<?> nonGenericFunc = nonGenericFunctionRegistry.getExtension(functionId);
if (nonGenericFunc != null)
......@@ -92,8 +88,16 @@ public final class ImmutableFunctionRegistry implements FunctionRegistry
return null;
}
final GenericHigherOrderFunctionFactory funcFactory = genericHigherOrderFunctionFactoryRegistry
.getExtension(functionId);
final GenericHigherOrderFunctionFactory funcFactory = genericHigherOrderFunctionFactoryRegistry.getExtension(functionId);
/*
* FIXME: faire la test suite qui met en evidence le bug d'abord en non regression -> modifier OW2#25 (avec wrong id for any-of combined with sub function in a ApplyExpression) et ensuite
* corriger
*/
// if (funcFactory == null)
// {
// return null;
// }
return funcFactory.getInstance(subFunctionReturnTypeFactory);
}
......
......@@ -45,6 +45,8 @@ import org.ow2.authzforce.core.pdp.impl.func.StandardHigherOrderBagFunctions.One
*/
final class MapFunctionFactory extends GenericHigherOrderFunctionFactory
{
private static final IllegalArgumentException NULL_SUB_FUNCTION_RETURN_TYPE_ARG_EXCEPTION = new IllegalArgumentException(
"Cannot create generic function with null subFunctionReturnTypeFactory (sub-function return type factory) arg");
/**
*
......@@ -54,29 +56,24 @@ final class MapFunctionFactory extends GenericHigherOrderFunctionFactory
* subfunction return type
*
*/
private static final class MapFunction<SUB_RETURN_T extends AttributeValue>
extends OneBagOnlyHigherOrderFunction<Bag<SUB_RETURN_T>, SUB_RETURN_T>
private static final class MapFunction<SUB_RETURN_T extends AttributeValue> extends OneBagOnlyHigherOrderFunction<Bag<SUB_RETURN_T>, SUB_RETURN_T>
{
private static final class Call<SUB_RETURN extends AttributeValue>
extends OneBagOnlyHigherOrderFunction.Call<Bag<SUB_RETURN>, SUB_RETURN>
private static final class Call<SUB_RETURN extends AttributeValue> extends OneBagOnlyHigherOrderFunction.Call<Bag<SUB_RETURN>, SUB_RETURN>
{
private final Datatype<SUB_RETURN> returnBagElementType;
private final String indeterminateSubFuncEvalMessagePrefix;
private Call(final String functionId, final Datatype<Bag<SUB_RETURN>> returnType,
final FirstOrderFunction<SUB_RETURN> subFunction, final List<Expression<?>> primitiveInputs,
private Call(final String functionId, final Datatype<Bag<SUB_RETURN>> returnType, final FirstOrderFunction<SUB_RETURN> subFunction, final List<Expression<?>> primitiveInputs,
final Expression<?> lastInputBag)
{
super(functionId, returnType, subFunction, primitiveInputs, lastInputBag);
this.returnBagElementType = subFunction.getReturnType();
this.indeterminateSubFuncEvalMessagePrefix = "Function " + functionId
+ ": Error calling sub-function (first argument) with last arg=";
this.indeterminateSubFuncEvalMessagePrefix = "Function " + functionId + ": Error calling sub-function (first argument) with last arg=";
}
@Override
protected Bag<SUB_RETURN> evaluate(final Bag<?> lastArgBag, final EvaluationContext context)
throws IndeterminateEvaluationException
protected Bag<SUB_RETURN> evaluate(final Bag<?> lastArgBag, final EvaluationContext context) throws IndeterminateEvaluationException
{
final Collection<SUB_RETURN> results = new ArrayDeque<>(lastArgBag.size());
for (final AttributeValue lastArgBagVal : lastArgBag)
......@@ -88,8 +85,7 @@ final class MapFunctionFactory extends GenericHigherOrderFunctionFactory
}
catch (final IndeterminateEvaluationException e)
{
throw new IndeterminateEvaluationException(
indeterminateSubFuncEvalMessagePrefix + lastArgBagVal, e.getStatusCode(), e);
throw new IndeterminateEvaluationException(indeterminateSubFuncEvalMessagePrefix + lastArgBagVal, e.getStatusCode(), e);
}
results.add(subResult);
......@@ -111,8 +107,7 @@ final class MapFunctionFactory extends GenericHigherOrderFunctionFactory
}
@Override
protected OneBagOnlyHigherOrderFunction.Call<Bag<SUB_RETURN_T>, SUB_RETURN_T> newFunctionCall(
final FirstOrderFunction<SUB_RETURN_T> subFunc, final List<Expression<?>> primitiveInputs,
protected OneBagOnlyHigherOrderFunction.Call<Bag<SUB_RETURN_T>, SUB_RETURN_T> newFunctionCall(final FirstOrderFunction<SUB_RETURN_T> subFunc, final List<Expression<?>> primitiveInputs,
final Expression<?> lastInputBag)
{
return new Call<>(this.getId(), this.getReturnType(), subFunc, primitiveInputs, lastInputBag);
......@@ -134,9 +129,13 @@ final class MapFunctionFactory extends GenericHigherOrderFunctionFactory
}
@Override
public <SUB_RETURN extends AttributeValue> HigherOrderBagFunction<?, SUB_RETURN> getInstance(
final DatatypeFactory<SUB_RETURN> subFunctionReturnTypeFactory)
public <SUB_RETURN extends AttributeValue> HigherOrderBagFunction<?, SUB_RETURN> getInstance(final DatatypeFactory<SUB_RETURN> subFunctionReturnTypeFactory)
{
if (subFunctionReturnTypeFactory == null)
{
throw NULL_SUB_FUNCTION_RETURN_TYPE_ARG_EXCEPTION;
}
return new MapFunction<>(functionId, subFunctionReturnTypeFactory.getBagDatatype());
}
......
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* Copyright (C) 2012-2017 Thales Services SAS.
*
* http://www.apache.org/licenses/LICENSE-2.0
* This file is part of AuthZForce CE.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* AuthZForce CE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AuthZForce CE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with AuthZForce CE. If not, see <http://www.gnu.org/licenses/>.
*/
package org.apache.coheigea.cxf.sts.xacml.common;
......@@ -26,24 +26,43 @@ import javax.security.auth.callback.UnsupportedCallbackException;
import org.apache.wss4j.common.ext.WSPasswordCallback;
public class CommonCallbackHandler implements CallbackHandler {
public class CommonCallbackHandler implements CallbackHandler
{
public void handle(Callback[] callbacks) throws IOException,
UnsupportedCallbackException {
for (int i = 0; i < callbacks.length; i++) {
if (callbacks[i] instanceof WSPasswordCallback) { // CXF
WSPasswordCallback pc = (WSPasswordCallback) callbacks[i];
if ("alice".equals(pc.getIdentifier())) {
pc.setPassword("security");
break;
} else if ("bob".equals(pc.getIdentifier())) {
pc.setPassword("security");
break;
} else if ("mystskey".equals(pc.getIdentifier())) {
pc.setPassword("stskpass");
break;
}
}
}
}
@Override
public void handle(final Callback[] callbacks) throws IOException, UnsupportedCallbackException
{
for (final Callback callback : callbacks)
{
if (callback instanceof WSPasswordCallback)
{ // CXF
final WSPasswordCallback pc = (WSPasswordCallback) callback;
if ("myclientkey".equals(pc.getIdentifier()))
{
pc.setPassword("ckpass");
break;
}
else if ("myservicekey".equals(pc.getIdentifier()))
{
pc.setPassword("skpass");
break;
}
else if ("alice".equals(pc.getIdentifier()))
{
pc.setPassword("security");
break;
}
else if ("bob".equals(pc.getIdentifier()))
{
pc.setPassword("security");
break;
}
else if ("mystskey".equals(pc.getIdentifier()))
{
pc.setPassword("stskpass");
break;
}
}
}
}
}
......@@ -28,7 +28,6 @@ import org.ow2.authzforce.core.pdp.impl.test.conformance.ConformanceV3FromV2Opti
import org.ow2.authzforce.core.pdp.impl.test.conformance.ConformanceV3Others;
import org.ow2.authzforce.core.pdp.impl.test.custom.CustomPdpTest;
import org.ow2.authzforce.core.pdp.impl.test.custom.TestPdpGetStaticApplicablePolicies;
import org.ow2.authzforce.core.pdp.impl.test.cxf.LocalPdpAuthorizationTest;
import org.ow2.authzforce.core.pdp.impl.test.func.BagFunctionsTest;
import org.ow2.authzforce.core.pdp.impl.test.func.DateTimeArithmeticFunctionsTest;
import org.ow2.authzforce.core.pdp.impl.test.func.EqualityFunctionsTest;
......@@ -43,6 +42,7 @@ import org.ow2.authzforce.core.pdp.impl.test.func.SetFunctionsTest;
import org.ow2.authzforce.core.pdp.impl.test.func.SpecialMatchFunctionsTest;
import org.ow2.authzforce.core.pdp.impl.test.func.StringConversionFunctionsTest;
import org.ow2.authzforce.core.pdp.impl.test.func.StringFunctionsTest;
import org.ow2.authzforce.core.pdp.impl.test.pep.cxf.EmbeddedPdpBasedAuthzInterceptorTest;
import org.ow2.authzforce.core.pdp.impl.test.value.AnyURIAttributeTest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......@@ -60,7 +60,7 @@ import org.slf4j.LoggerFactory;
@SuiteClasses(value = { EqualityFunctionsTest.class, NumericArithmeticFunctionsTest.class, StringConversionFunctionsTest.class, NumericConversionFunctionsTest.class, LogicalFunctionsTest.class,
NumericComparisonFunctionsTest.class, DateTimeArithmeticFunctionsTest.class, NonNumericComparisonFunctionsTest.class, StringFunctionsTest.class, BagFunctionsTest.class,
SetFunctionsTest.class, HigherOrderFunctionsTest.class, RegExpBasedFunctionsTest.class, SpecialMatchFunctionsTest.class, ConformanceV3FromV2Mandatory.class, ConformanceV3FromV2Optional.class,
ConformanceV3Others.class, CustomPdpTest.class, TestPdpGetStaticApplicablePolicies.class, NonRegression.class, LocalPdpAuthorizationTest.class })
ConformanceV3Others.class, CustomPdpTest.class, TestPdpGetStaticApplicablePolicies.class, NonRegression.class, EmbeddedPdpBasedAuthzInterceptorTest.class })
public class MainTest
{
/**
......
......@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with AuthZForce CE. If not, see <http://www.gnu.org/licenses/>.
*/
package org.ow2.authzforce.core.pdp.impl.test.cxf;
package org.ow2.authzforce.core.pdp.impl.test.pep.cxf;
import static org.ow2.authzforce.core.pdp.api.value.StandardDatatypes.ANYURI_FACTORY;
import static org.ow2.authzforce.core.pdp.api.value.StandardDatatypes.STRING_FACTORY;
......@@ -66,13 +66,12 @@ import org.slf4j.LoggerFactory;
* For a SOAP Service, the resource-id Attribute refers to the "{serviceNamespace}serviceName#{operationNamespace}operationName" String (shortened to "{serviceNamespace}serviceName#operationName" if
* the namespaces are identical). The "{serviceNamespace}serviceName", "{operationNamespace}operationName" and resource URI are also sent to simplify processing at the PDP side.
*
* For a REST service the request URL is the resource. You can also configure the ability to send the truncated request URI instead for a SOAP or REST service. The current DateTime is also sent in an
* Environment, however this can be disabled via configuration.
* For a REST service the request URL is the resource. You can also configure the ability to send the truncated request URI instead for a SOAP or REST service.
*/
public class LocalPdpBasedAuthzInterceptor extends AbstractPhaseInterceptor<Message>
public class EmbeddedPdpBasedAuthzInterceptor extends AbstractPhaseInterceptor<Message>
{
private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(LocalPdpBasedAuthzInterceptor.class);
private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(EmbeddedPdpBasedAuthzInterceptor.class);
private static final String defaultSOAPAction = "execute";
......@@ -84,7 +83,7 @@ public class LocalPdpBasedAuthzInterceptor extends AbstractPhaseInterceptor<Mess
* @param pdp
* XACML PDP
*/
public LocalPdpBasedAuthzInterceptor(final BasePdpEngine pdp)
public EmbeddedPdpBasedAuthzInterceptor(final BasePdpEngine pdp)
{
super(Phase.PRE_INVOKE);
this.pdp = pdp;
......
......@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with AuthZForce CE. If not, see <http://www.gnu.org/licenses/>.
*/
package org.ow2.authzforce.core.pdp.impl.test.cxf;
package org.ow2.authzforce.core.pdp.impl.test.pep.cxf;
import java.net.URL;
......@@ -39,7 +39,7 @@ import org.junit.BeforeClass;
* using a username/password, and gets a signed holder-of-key SAML Assertion in return. This is presented to the service, who verifies proof-of-possession + the signature of the STS on the assertion.
* The CXF endpoint extracts roles from the Assertion + populates the security context. Note that the CXF endpoint requires a "role" Claim via the security policy.
*
* The CXF Endpoint has configured the {@link LocalPdpBasedAuthzInterceptor}, which creates a XACML 3.0 request for dispatch to the (co-located) PDP, and then enforces the PDP's decision.
* The CXF Endpoint has configured the {@link EmbeddedPdpBasedAuthzInterceptor}, which creates a XACML 3.0 request for dispatch to the (co-located) PDP, and then enforces the PDP's decision.
*
* <p>
* Detailed description:
......@@ -66,7 +66,7 @@ import org.junit.BeforeClass;
* service "{http://www.example.org/contract/DoubleIt}DoubleItService#DoubleIt".
* </p>
*/
public class LocalPdpAuthorizationTest extends AbstractBusClientServerTestBase
public class EmbeddedPdpBasedAuthzInterceptorTest extends AbstractBusClientServerTestBase
{
private static final String NAMESPACE = "http://www.example.org/contract/DoubleIt";
......@@ -93,13 +93,13 @@ public class LocalPdpAuthorizationTest extends AbstractBusClientServerTestBase
{
final SpringBusFactory bf = new SpringBusFactory();
final URL busFile = LocalPdpAuthorizationTest.class.getResource("cxf-client.xml");
final URL busFile = EmbeddedPdpBasedAuthzInterceptorTest.class.getResource("cxf-client.xml");
final Bus bus = bf.createBus(busFile.toString());
SpringBusFactory.setDefaultBus(bus);
SpringBusFactory.setThreadDefaultBus(bus);
final URL wsdl = LocalPdpAuthorizationTest.class.getResource("DoubleItSecure.wsdl");
final URL wsdl = EmbeddedPdpBasedAuthzInterceptorTest.class.getResource("DoubleItSecure.wsdl");
final Service service = Service.create(wsdl, SERVICE_QNAME);
final QName portQName = new QName(NAMESPACE, "DoubleItTransportPort");
final DoubleItPortType transportPort = service.getPort(portQName, DoubleItPortType.class);
......@@ -118,13 +118,13 @@ public class LocalPdpAuthorizationTest extends AbstractBusClientServerTestBase
{
final SpringBusFactory bf = new SpringBusFactory();
final URL busFile = LocalPdpAuthorizationTest.class.getResource("cxf-client.xml");
final URL busFile = EmbeddedPdpBasedAuthzInterceptorTest.class.getResource("cxf-client.xml");
final Bus bus = bf.createBus(busFile.toString());
SpringBusFactory.setDefaultBus(bus);
SpringBusFactory.setThreadDefaultBus(bus);
final URL wsdl = LocalPdpAuthorizationTest.class.getResource("DoubleItSecure.wsdl");
final URL wsdl = EmbeddedPdpBasedAuthzInterceptorTest.class.getResource("DoubleItSecure.wsdl");
final Service service = Service.create(wsdl, SERVICE_QNAME);
final QName portQName = new QName(NAMESPACE, "DoubleItTransportPort");
final DoubleItPortType transportPort = service.getPort(portQName, DoubleItPortType.class);
......
/**
* Copyright (C) 2012-2017 Thales Services SAS.
*
* This file is part of AuthZForce CE.
*
* AuthZForce CE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* AuthZForce CE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with AuthZForce CE. If not, see <http://www.gnu.org/licenses/>.
*/
package org.ow2.authzforce.core.pdp.impl.test.pep.cxf;
import java.net.URL;
import org.apache.cxf.Bus;
import org.apache.cxf.BusFactory;
import org.apache.cxf.bus.spring.SpringBusFactory;
import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
public class Server extends AbstractBusTestServerBase
{
public Server()
{
}
@Override
protected void run()
{
final URL busFile = Server.class.getResource("cxf-doubleit-service.xml");
final Bus busLocal = new SpringBusFactory().createBus(busFile);
BusFactory.setDefaultBus(busLocal);
setBus(busLocal);
try
{
new Server();
}
catch (final Exception e)
{
e.printStackTrace();
}
}
}
......@@ -4,7 +4,7 @@
<Policy PolicyId="P1" Version="1.0" RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:ordered-permit-overrides">
<Target />
<Rule RuleId="R1" Effect="Permit">
<Description>ule using unknown Function as Match function: urn:oasis:names:tc:xacml:2.0:function:string-equal instead of urn:oasis:names:tc:xacml:1.0:function:string-equal</Description>
<Description>Rule using unknown Function as Match function: urn:oasis:names:tc:xacml:2.0:function:string-equal instead of urn:oasis:names:tc:xacml:1.0:function:string-equal</Description>
<Target />
<Condition>
<Apply FunctionId="urn:oasis:names:tc:xacml:2.0:function:string-equal">
......
......@@ -52,7 +52,7 @@ http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/confi
<jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportPort" createdFromAPI="true">
<jaxws:properties>
<entry key="security.sts.client" value-ref="stsClient"/>
<entry key="security.callback-handler" value="org.ow2.authzforce.core.pdp.impl.test.cxf.CommonCallbackHandler"/>
<entry key="security.callback-handler" value="org.apache.coheigea.cxf.sts.xacml.common.CommonCallbackHandler"/>
</jaxws:properties>
</jaxws:client>
......
......@@ -46,9 +46,9 @@
</cxf:bus>
<bean id="pdp" class="org.ow2.authzforce.core.pdp.impl.BasePdpEngine" factory-method="getInstance">
<constructor-arg value="classpath:org/ow2/authzforce/core/pdp/impl/test/cxf/pdp.xml" />
<constructor-arg value="classpath:org/ow2/authzforce/core/pdp/impl/test/pep/cxf/pdp.xml" />
</bean>
<bean class="org.ow2.authzforce.core.pdp.impl.test.cxf.LocalPdpBasedAuthzInterceptor" id="XACMLInterceptor">
<bean class="org.ow2.authzforce.core.pdp.impl.test.pep.cxf.EmbeddedPdpBasedAuthzInterceptor" id="XACMLInterceptor">
<constructor-arg ref="pdp"/>
</bean>
......@@ -58,9 +58,8 @@
serviceName="s:DoubleItService"
depends-on="ClientAuthHttpsSettings"
address="https://localhost:${testutil.ports.Server}/doubleit/services/doubleittransportxacml3"
wsdlLocation="org/ow2/authzforce/core/pdp/impl/test/cxf/DoubleItSecure.wsdl"
xmlns:s="http://www.example.org/contract/DoubleIt">
wsdlLocation="org/ow2/authzforce/core/pdp/impl/test/pep/cxf/DoubleItSecure.wsdl"
xmlns:s="http://www.example.org/contract/DoubleIt">
<jaxws:properties>
<entry key="security.signature.properties" value="stsServiceKeystore.properties"/>
</jaxws:properties>
......
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