cxf git commit: Adding more comprehensive IssuedToken policy systests
Repository: cxf Updated Branches: refs/heads/master fb6867e0f - 27ae3418d Adding more comprehensive IssuedToken policy systests Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/27ae3418 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/27ae3418 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/27ae3418 Branch: refs/heads/master Commit: 27ae3418d46d25593bb5b8759a830e256bbbf0a4 Parents: fb6867e Author: Colm O hEigeartaigh cohei...@apache.org Authored: Mon Dec 15 15:20:05 2014 + Committer: Colm O hEigeartaigh cohei...@apache.org Committed: Mon Dec 15 15:20:30 2014 + -- .../apache/cxf/systest/sts/template/Server.java | 46 +++ .../cxf/systest/sts/template/StaxServer.java| 46 +++ .../cxf/systest/sts/template/TemplateTest.java | 371 +++ .../cxf/systest/sts/template/DoubleIt.wsdl | 222 +++ .../sts/template/DoubleItNoTemplate.wsdl| 218 +++ .../sts/template/DoubleItNoTemplate2.wsdl | 218 +++ .../cxf/systest/sts/template/cxf-client.xml | 50 +++ .../cxf/systest/sts/template/cxf-service.xml| 49 +++ .../systest/sts/template/cxf-stax-service.xml | 51 +++ 9 files changed, 1271 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cxf/blob/27ae3418/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java -- diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java new file mode 100644 index 000..bc39447 --- /dev/null +++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java @@ -0,0 +1,46 @@ +/** + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ +package org.apache.cxf.systest.sts.template; + +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() { + +} + +protected void run() { +URL busFile = Server.class.getResource(cxf-service.xml); +Bus busLocal = new SpringBusFactory().createBus(busFile); +BusFactory.setDefaultBus(busLocal); +setBus(busLocal); + +try { +new Server(); +} catch (Exception e) { +e.printStackTrace(); +} +} +} http://git-wip-us.apache.org/repos/asf/cxf/blob/27ae3418/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java -- diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java new file mode 100644 index 000..18818af --- /dev/null +++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java @@ -0,0 +1,46 @@ +/** + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ +package org.apache.cxf.systest.sts.template;
cxf git commit: Adding more comprehensive IssuedToken policy systests
Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 7cc912790 - 6057b95ed Adding more comprehensive IssuedToken policy systests Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/6057b95e Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/6057b95e Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/6057b95e Branch: refs/heads/3.0.x-fixes Commit: 6057b95ed42f39b30d273c6b0611b535b2047dce Parents: 7cc9127 Author: Colm O hEigeartaigh cohei...@apache.org Authored: Mon Dec 15 15:20:05 2014 + Committer: Colm O hEigeartaigh cohei...@apache.org Committed: Mon Dec 15 15:22:13 2014 + -- .../apache/cxf/systest/sts/template/Server.java | 46 +++ .../cxf/systest/sts/template/StaxServer.java| 46 +++ .../cxf/systest/sts/template/TemplateTest.java | 371 +++ .../cxf/systest/sts/template/DoubleIt.wsdl | 222 +++ .../sts/template/DoubleItNoTemplate.wsdl| 218 +++ .../sts/template/DoubleItNoTemplate2.wsdl | 218 +++ .../cxf/systest/sts/template/cxf-client.xml | 50 +++ .../cxf/systest/sts/template/cxf-service.xml| 49 +++ .../systest/sts/template/cxf-stax-service.xml | 51 +++ 9 files changed, 1271 insertions(+) -- http://git-wip-us.apache.org/repos/asf/cxf/blob/6057b95e/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java -- diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java new file mode 100644 index 000..bc39447 --- /dev/null +++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/Server.java @@ -0,0 +1,46 @@ +/** + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ +package org.apache.cxf.systest.sts.template; + +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() { + +} + +protected void run() { +URL busFile = Server.class.getResource(cxf-service.xml); +Bus busLocal = new SpringBusFactory().createBus(busFile); +BusFactory.setDefaultBus(busLocal); +setBus(busLocal); + +try { +new Server(); +} catch (Exception e) { +e.printStackTrace(); +} +} +} http://git-wip-us.apache.org/repos/asf/cxf/blob/6057b95e/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java -- diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java new file mode 100644 index 000..18818af --- /dev/null +++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/template/StaxServer.java @@ -0,0 +1,46 @@ +/** + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ +package