tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r662475 - in /incubator/tuscany/java/sca/itest/policy-security-jsr250: ./ src/ src/main/ src/main/java/ src/main/java/helloworld/ src/main/resources/ src/test/ src/test/java/ src/test/java/org/ src/test/java/org/apache/ src/test/java/org/ap...
Date Mon, 02 Jun 2008 16:20:04 GMT
Author: lresende
Date: Mon Jun  2 09:20:03 2008
New Revision: 662475

URL: http://svn.apache.org/viewvc?rev=662475&view=rev
Log:
iTests for JSR-250 annotations

Added:
    incubator/tuscany/java/sca/itest/policy-security-jsr250/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml   (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/META-INF/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldImpl.class
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldService.class
  (with props)
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/tuscany/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/tuscany/sca/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/tuscany/sca/itest/
    incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.class
  (with props)

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml (added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml Mon Jun  2 09:20:03 2008
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * 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.    
+-->
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.tuscany.sca</groupId>
+        <artifactId>tuscany-itest</artifactId>
+        <version>2.0-incubating-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    <artifactId>itest-policy-security-jsr250</artifactId>
+    <name>Apache Tuscany SCA Policy Framework Integration Tests</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-host-embedded</artifactId>
+            <version>2.0-incubating-SNAPSHOT</version>
+            <scope>compile</scope>            
+        </dependency>
+        
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-implementation-java-runtime</artifactId>
+            <version>2.0-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-policy-security-jsr250</artifactId>
+            <version>2.0-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-ws-axis2</artifactId>
+            <version>2.0-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-host-tomcat</artifactId>
+            <version>2.0-incubating-SNAPSHOT</version>
+            <scope>runtime</scope>
+        </dependency>   
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.2</version>
+        </dependency>
+
+
+    </dependencies>
+</project>

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java
(added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java
Mon Jun  2 09:20:03 2008
@@ -0,0 +1,51 @@
+/*
+ * 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 helloworld;
+
+import javax.annotation.security.DenyAll;
+import javax.annotation.security.PermitAll;
+import javax.annotation.security.RunAs;
+import javax.annotation.security.RolesAllowed;
+
+/**
+ * This class implements the HelloWorld service.
+ */
+@RunAs("Administrator")
+public class HelloWorldImpl implements HelloWorldService {
+
+    public String getGreetings(String name) {
+        return "Hello " + name;
+    }
+
+    @DenyAll()
+    public String getGreetingsDenyAll(String name) {
+        return "Hello " + name;
+    }
+
+    @PermitAll
+    public String getGreetingsPermitAll(String name) {
+        return "Hello " + name;
+    }
+
+    @RolesAllowed("Administrator")
+    public String getGreetingsRolesAllowed(String name) {
+        return "Hello " + name;
+    }
+
+}

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java
(added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java
Mon Jun  2 09:20:03 2008
@@ -0,0 +1,38 @@
+/*
+ * 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 helloworld;
+
+import org.osoa.sca.annotations.Remotable;
+
+/**
+ * This is the business interface of the HelloWorld greetings service.
+ */
+@Remotable
+public interface HelloWorldService {
+
+    public String getGreetings(String name);
+    
+    public String getGreetingsRolesAllowed(String name);
+    
+    public String getGreetingsPermitAll(String name);
+    
+    public String getGreetingsDenyAll(String name);
+    
+    
+}

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/java/helloworld/HelloWorldService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml
(added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml
Mon Jun  2 09:20:03 2008
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+    * 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.    
+-->
+<definitions xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+             targetNamespace="http://itest/policy"
+    		 xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" 
+    		 xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+             xmlns:ip="http://itest/policy" >
+
+    <policySet name="allowed_users" appliesTo="sca:implementation.java">
+    	<permitAll/>
+    </policySet>
+</definitions>
\ No newline at end of file

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/definitions.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite
(added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite
Mon Jun  2 09:20:03 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * 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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+           targetNamespace="http://itest/policy"
+           xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+           xmlns:ip="http://itest/policy"
+           name="Helloworld">
+
+    <component name="HelloWorldServiceComponent">
+        <implementation.java class="helloworld.HelloWorldImpl" policySets="ip:allowed_users"/>
+        <service name="HelloWorldService">
+        	<interface.java interface="helloworld.HelloWorldService"/>
+        </service>
+    </component>
+</composite>

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/main/resources/helloworld.composite
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java
(added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java
Mon Jun  2 09:20:03 2008
@@ -0,0 +1,54 @@
+/*
+ * 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.tuscany.sca.itest;
+
+import helloworld.HelloWorldService;
+
+import org.apache.tuscany.sca.host.embedded.SCADomain;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+public class PolicySecurityJSR250TestCase {
+    private static SCADomain domain;
+    private static HelloWorldService service;
+
+    @Test
+    public void testPolicies() {
+        //TODO
+        String greetings = service.getGreetings("Luciano");
+        System.out.println(">>>" + greetings);
+    }
+
+    @BeforeClass
+    public static void init() throws Exception {
+        try {
+            domain = SCADomain.newInstance("helloworld.composite");
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+        service = domain.getService(HelloWorldService.class, "HelloWorldServiceComponent");
+    }
+
+    @AfterClass
+    public static void destroy() throws Exception {
+        domain.close();
+    }
+}

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/src/test/java/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml
(added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml
Mon Jun  2 09:20:03 2008
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+    * 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.    
+-->
+<definitions xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+             targetNamespace="http://itest/policy"
+    		 xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" 
+    		 xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+             xmlns:ip="http://itest/policy" >
+
+    <policySet name="allowed_users" appliesTo="sca:implementation.java">
+    	<permitAll/>
+    </policySet>
+</definitions>
\ No newline at end of file

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/definitions.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite?rev=662475&view=auto
==============================================================================
--- incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite
(added)
+++ incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite
Mon Jun  2 09:20:03 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * 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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+           targetNamespace="http://itest/policy"
+           xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
+           xmlns:ip="http://itest/policy"
+           name="Helloworld">
+
+    <component name="HelloWorldServiceComponent">
+        <implementation.java class="helloworld.HelloWorldImpl" policySets="ip:allowed_users"/>
+        <service name="HelloWorldService">
+        	<interface.java interface="helloworld.HelloWorldService"/>
+        </service>
+    </component>
+</composite>

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld.composite
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldImpl.class
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldImpl.class?rev=662475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldService.class
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldService.class?rev=662475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/classes/helloworld/HelloWorldService.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.class
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.class?rev=662475&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/java/sca/itest/policy-security-jsr250/target/test-classes/org/apache/tuscany/sca/itest/PolicySecurityJSR250TestCase.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message