tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Becker (JIRA)" <tuscany-...@ws.apache.org>
Subject [jira] Created: (TUSCANY-2290) Java 2 Security enablement for Tuscany sample (part 1)
Date Fri, 02 May 2008 19:46:55 GMT
Java 2 Security enablement for Tuscany sample (part 1)
------------------------------------------------------

                 Key: TUSCANY-2290
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2290
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-1.2
         Environment: Windows, Java 1.5
            Reporter: Dan Becker
             Fix For: Java-SCA-Next
         Attachments: TUSCANY-2290.patch

Fix security issues that arise in Tuscany samples when Java 2 security is turned on via 
-java.security.manager  -Djava.security.policy=tuscany.policy -Dpolicy.allowSystemProperty=true

A typical exception might be for sample helloworld sdo ws 
Problems trying to access System properties: java.security.AccessControlException: access
denied (java.util.PropertyPermission java.specification.version read)
java.lang.NoClassDefFoundError
	at org.apache.tuscany.sca.databinding.sdo.SDODataBinding.introspect(SDODataBinding.java:61)
	at org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint$LazyDataBinding.introspect(DefaultDataBindingExtensionPoint.java:191)
	at org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint.introspectType(DefaultDataBindingExtensionPoint.java:246)
	at org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint.introspectType(DefaultDataBindingExtensionPoint.java:202)
	at org.apache.tuscany.sca.core.databinding.processor.DataBindingJavaInterfaceProcessor.processInterface(DataBindingJavaInterfaceProcessor.java:116)
	at org.apache.tuscany.sca.core.databinding.processor.DataBindingJavaInterfaceProcessor.visitInterface(DataBindingJavaInterfaceProcessor.java:58)
	at org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceIntrospectorImpl.introspectInterface(JavaInterfaceIntrospectorImpl.java:113)
	at org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceFactoryImpl.createJavaInterface(JavaInterfaceFactoryImpl.java:48)
	at org.apache.tuscany.sca.implementation.java.introspect.impl.ServiceProcessor.createService(ServiceProcessor.java:159)
	at org.apache.tuscany.sca.implementation.java.introspect.impl.ServiceProcessor.visitClass(ServiceProcessor.java:90)
	at org.apache.tuscany.sca.implementation.java.impl.JavaClassIntrospectorImpl.introspectClass(JavaClassIntrospectorImpl.java:72)
	at org.apache.tuscany.sca.implementation.java.impl.JavaImplementationFactoryImpl.createJavaImplementation(JavaImplementationFactoryImpl.java:53)
	at org.apache.tuscany.sca.implementation.java.xml.JavaImplementationProcessor.resolve(JavaImplementationProcessor.java:152)
	at org.apache.tuscany.sca.implementation.java.xml.JavaImplementationProcessor.resolve(JavaImplementationProcessor.java:63)
...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message