http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml b/attic/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml index fc14786..9335e6c 100755 --- a/attic/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml +++ b/attic/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml @@ -1,43 +1,43 @@ -<?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. - ---> -<service id="proxy-service" - class="flex.messaging.services.HTTPProxyService"> - - <properties> - <connection-manager> - <max-total-connections>100</max-total-connections> - <default-max-connections-per-host>2</default-max-connections-per-host> - </connection-manager> - <allow-lax-ssl>true</allow-lax-ssl> - </properties> - - <adapters> - <adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/> - <adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - - <destination id="DefaultHTTP"> - </destination> - -</service> +<?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. + +--> +<service id="proxy-service" + class="flex.messaging.services.HTTPProxyService"> + + <properties> + <connection-manager> + <max-total-connections>100</max-total-connections> + <default-max-connections-per-host>2</default-max-connections-per-host> + </connection-manager> + <allow-lax-ssl>true</allow-lax-ssl> + </properties> + + <adapters> + <adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/> + <adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/> + </adapters> + + <default-channels> + <channel ref="my-amf"/> + </default-channels> + + <destination id="DefaultHTTP"> + </destination> + +</service>
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml b/attic/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml index ae2de71..88a4a1f 100755 --- a/attic/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml +++ b/attic/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml @@ -1,31 +1,31 @@ -<?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. - ---> -<service id="remoting-service" - class="flex.messaging.services.RemotingService"> - - <adapters> - <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - +<?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. + +--> +<service id="remoting-service" + class="flex.messaging.services.RemotingService"> + + <adapters> + <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> + </adapters> + + <default-channels> + <channel ref="my-amf"/> + </default-channels> + </service> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/WEB-INF/flex/services-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/WEB-INF/flex/services-config.xml b/attic/apps/blazeds-spring/WEB-INF/flex/services-config.xml index 6fe3e6f..289fbfe 100755 --- a/attic/apps/blazeds-spring/WEB-INF/flex/services-config.xml +++ b/attic/apps/blazeds-spring/WEB-INF/flex/services-config.xml @@ -1,117 +1,117 @@ -<?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. - ---> -<services-config> - - <services> - <service-include file-path="remoting-config.xml" /> - <service-include file-path="proxy-config.xml" /> - <service-include file-path="messaging-config.xml" /> - </services> - - <security> - <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> - <!-- Uncomment the correct app server - <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"/> - <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> - <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> - <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> - --> - - <!-- - <security-constraint id="basic-read-access"> - <auth-method>Basic</auth-method> - <roles> - <role>guests</role> - <role>accountants</role> - <role>employees</role> - <role>managers</role> - </roles> - </security-constraint> - --> - </security> - - <channels> - - <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - - <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> - <properties> - <polling-enabled>true</polling-enabled> - <polling-interval-seconds>4</polling-interval-seconds> - </properties> - </channel-definition> - - <!-- - <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - --> - </channels> - - <logging> - <target class="flex.messaging.log.ConsoleTarget" level="Error"> - <properties> - <prefix>[BlazeDS] </prefix> - <includeDate>false</includeDate> - <includeTime>false</includeTime> - <includeLevel>false</includeLevel> - <includeCategory>false</includeCategory> - </properties> - <filters> - <pattern>Endpoint.*</pattern> - <pattern>Service.*</pattern> - <pattern>Configuration</pattern> - </filters> - </target> - </logging> - - <system> - <redeploy> - <enabled>false</enabled> - <!-- - <watch-interval>20</watch-interval> - <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> - <touch-file>{context.root}/WEB-INF/web.xml</touch-file> - --> - </redeploy> - </system> - -</services-config> +<?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. + +--> +<services-config> + + <services> + <service-include file-path="remoting-config.xml" /> + <service-include file-path="proxy-config.xml" /> + <service-include file-path="messaging-config.xml" /> + </services> + + <security> + <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> + <!-- Uncomment the correct app server + <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"/> + <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> + <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> + <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> + --> + + <!-- + <security-constraint id="basic-read-access"> + <auth-method>Basic</auth-method> + <roles> + <role>guests</role> + <role>accountants</role> + <role>employees</role> + <role>managers</role> + </roles> + </security-constraint> + --> + </security> + + <channels> + + <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> + </channel-definition> + + <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> + <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> + <properties> + <add-no-cache-headers>false</add-no-cache-headers> + </properties> + </channel-definition> + + <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> + <properties> + <polling-enabled>true</polling-enabled> + <polling-interval-seconds>4</polling-interval-seconds> + </properties> + </channel-definition> + + <!-- + <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> + </channel-definition> + + <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> + <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> + <properties> + <add-no-cache-headers>false</add-no-cache-headers> + </properties> + </channel-definition> + --> + </channels> + + <logging> + <target class="flex.messaging.log.ConsoleTarget" level="Error"> + <properties> + <prefix>[BlazeDS] </prefix> + <includeDate>false</includeDate> + <includeTime>false</includeTime> + <includeLevel>false</includeLevel> + <includeCategory>false</includeCategory> + </properties> + <filters> + <pattern>Endpoint.*</pattern> + <pattern>Service.*</pattern> + <pattern>Configuration</pattern> + </filters> + </target> + </logging> + + <system> + <redeploy> + <enabled>false</enabled> + <!-- + <watch-interval>20</watch-interval> + <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> + <touch-file>{context.root}/WEB-INF/web.xml</touch-file> + --> + </redeploy> + </system> + +</services-config> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/WEB-INF/spring/app-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/WEB-INF/spring/app-config.xml b/attic/apps/blazeds-spring/WEB-INF/spring/app-config.xml index 0fcc409..b78ba74 100755 --- a/attic/apps/blazeds-spring/WEB-INF/spring/app-config.xml +++ b/attic/apps/blazeds-spring/WEB-INF/spring/app-config.xml @@ -1,29 +1,29 @@ -<?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. - ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:security="http://www.springframework.org/schema/security" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:context="http://www.springframework.org/schema/context" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd - http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd - http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> - +<?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. + +--> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:security="http://www.springframework.org/schema/security" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:context="http://www.springframework.org/schema/context" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> + </beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml b/attic/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml index 102da0f..5cbe9ab 100755 --- a/attic/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml +++ b/attic/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml @@ -1,25 +1,25 @@ -<?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. - ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> - - +<?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. + +--> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> + + </beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/WEB-INF/spring/security-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/WEB-INF/spring/security-config.xml b/attic/apps/blazeds-spring/WEB-INF/spring/security-config.xml index ffde5a5..06edb10 100755 --- a/attic/apps/blazeds-spring/WEB-INF/spring/security-config.xml +++ b/attic/apps/blazeds-spring/WEB-INF/spring/security-config.xml @@ -1,41 +1,41 @@ -<?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. - ---> -<beans:beans xmlns="http://www.springframework.org/schema/security" - xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd - http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd"> - - <http entry-point-ref="entryPoint"> - <anonymous enabled="false"/> - </http> - - <beans:bean id="entryPoint" class="org.springframework.security.web.authentication.Http403ForbiddenEntryPoint"/> - - <authentication-manager> - <authentication-provider> - <user-service> - <user name="john" password="john" authorities="ROLE_USER" /> - <user name="admin" password="admin" authorities="ROLE_USER, ROLE_ADMIN" /> - <user name="guest" password="guest" authorities="ROLE_GUEST" /> - </user-service> - </authentication-provider> - </authentication-manager> - +<?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. + +--> +<beans:beans xmlns="http://www.springframework.org/schema/security" + xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd + http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd"> + + <http entry-point-ref="entryPoint"> + <anonymous enabled="false"/> + </http> + + <beans:bean id="entryPoint" class="org.springframework.security.web.authentication.Http403ForbiddenEntryPoint"/> + + <authentication-manager> + <authentication-provider> + <user-service> + <user name="john" password="john" authorities="ROLE_USER" /> + <user name="admin" password="admin" authorities="ROLE_USER, ROLE_ADMIN" /> + <user name="guest" password="guest" authorities="ROLE_GUEST" /> + </user-service> + </authentication-provider> + </authentication-manager> + </beans:beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/WEB-INF/web.xml b/attic/apps/blazeds-spring/WEB-INF/web.xml index e24cde9..ec5c772 100755 --- a/attic/apps/blazeds-spring/WEB-INF/web.xml +++ b/attic/apps/blazeds-spring/WEB-INF/web.xml @@ -1,102 +1,102 @@ -<?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. - ---> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> -<web-app> - - <display-name>BlazeDS Spring Integration Application</display-name> - <description>BlazeDS Spring Integration Application</description> - - <context-param> - <param-name>contextConfigLocation</param-name> - <param-value> - /WEB-INF/spring/*-config.xml - </param-value> - </context-param> - - <filter> - <filter-name>springSecurityFilterChain</filter-name> - <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> - </filter> - - <filter-mapping> - <filter-name>springSecurityFilterChain</filter-name> - <url-pattern>/*</url-pattern> - </filter-mapping> - - <!-- Http Flex Session attribute and binding listener support --> - <listener> - <listener-class>flex.messaging.HttpFlexSession</listener-class> - </listener> - - <listener> - <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> - </listener> - - <!-- Spring Dispatcher Servlet --> - <servlet> - <servlet-name>flex</servlet-name> - <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - -<!-- begin rds - <servlet> - <servlet-name>RDSDispatchServlet</servlet-name> - <display-name>RDSDispatchServlet</display-name> - <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class> - <init-param> - <param-name>useAppserverSecurity</param-name> - <param-value>true</param-value> - </init-param> - <init-param> - <param-name>messageBrokerId</param-name> - <param-value>_messageBroker</param-value> - </init-param> - <load-on-startup>10</load-on-startup> - </servlet> - - <servlet-mapping id="RDS_DISPATCH_MAPPING"> - <servlet-name>RDSDispatchServlet</servlet-name> - <url-pattern>/CFIDE/main/ide.cfm</url-pattern> - </servlet-mapping> -end rds --> - - <servlet-mapping> - <servlet-name>flex</servlet-name> - <url-pattern>/messagebroker/*</url-pattern> - </servlet-mapping> - - <welcome-file-list> - <welcome-file>index.html</welcome-file> - <welcome-file>index.htm</welcome-file> - </welcome-file-list> - - <!-- for WebSphere deployment, please uncomment --> - <!-- - <resource-ref> - <description>Flex Messaging WorkManager</description> - <res-ref-name>wm/MessagingWorkManager</res-ref-name> - <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type> - <res-auth>Container</res-auth> - <res-sharing-scope>Shareable</res-sharing-scope> - </resource-ref> - --> - -</web-app> +<?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. + +--> +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> +<web-app> + + <display-name>BlazeDS Spring Integration Application</display-name> + <description>BlazeDS Spring Integration Application</description> + + <context-param> + <param-name>contextConfigLocation</param-name> + <param-value> + /WEB-INF/spring/*-config.xml + </param-value> + </context-param> + + <filter> + <filter-name>springSecurityFilterChain</filter-name> + <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> + </filter> + + <filter-mapping> + <filter-name>springSecurityFilterChain</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + + <!-- Http Flex Session attribute and binding listener support --> + <listener> + <listener-class>flex.messaging.HttpFlexSession</listener-class> + </listener> + + <listener> + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> + </listener> + + <!-- Spring Dispatcher Servlet --> + <servlet> + <servlet-name>flex</servlet-name> + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> + <load-on-startup>1</load-on-startup> + </servlet> + +<!-- begin rds + <servlet> + <servlet-name>RDSDispatchServlet</servlet-name> + <display-name>RDSDispatchServlet</display-name> + <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class> + <init-param> + <param-name>useAppserverSecurity</param-name> + <param-value>true</param-value> + </init-param> + <init-param> + <param-name>messageBrokerId</param-name> + <param-value>_messageBroker</param-value> + </init-param> + <load-on-startup>10</load-on-startup> + </servlet> + + <servlet-mapping id="RDS_DISPATCH_MAPPING"> + <servlet-name>RDSDispatchServlet</servlet-name> + <url-pattern>/CFIDE/main/ide.cfm</url-pattern> + </servlet-mapping> +end rds --> + + <servlet-mapping> + <servlet-name>flex</servlet-name> + <url-pattern>/messagebroker/*</url-pattern> + </servlet-mapping> + + <welcome-file-list> + <welcome-file>index.html</welcome-file> + <welcome-file>index.htm</welcome-file> + </welcome-file-list> + + <!-- for WebSphere deployment, please uncomment --> + <!-- + <resource-ref> + <description>Flex Messaging WorkManager</description> + <res-ref-name>wm/MessagingWorkManager</res-ref-name> + <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type> + <res-auth>Container</res-auth> + <res-sharing-scope>Shareable</res-sharing-scope> + </resource-ref> + --> + +</web-app> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/build.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/build.xml b/attic/apps/blazeds-spring/build.xml index f89d78f..dc3b1c4 100755 --- a/attic/apps/blazeds-spring/build.xml +++ b/attic/apps/blazeds-spring/build.xml @@ -1,97 +1,97 @@ -<?xml version="1.0"?> -<!-- - - 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 name="blazeds-spring.war/build.xml" default="main" basedir="../.."> - - <property file="${basedir}/build.properties" /> - <property name="blazeds-spring.war" value="${basedir}/apps/blazeds-spring" /> - <property name="dist.dir" value="${basedir}/dist" /> - <property name="src.dir" value="${blazeds-spring.war}/WEB-INF/src"/> - <property name="classes.dir" value="${blazeds-spring.war}/WEB-INF/classes"/> - - <path id="classpath"> - <fileset dir="${blazeds-spring.war}/WEB-INF/lib" includes="**/*.jar" /> - </path> - - <target name="main" depends="clean,compile" /> - - <target name="prepare"> - <mkdir dir="${blazeds-spring.war}/WEB-INF/src" /> - <mkdir dir="${blazeds-spring.war}/WEB-INF/lib" /> - <mkdir dir="${blazeds-spring.war}/WEB-INF/classes" /> - </target> - - <target name="run-depend" if="src.depend"> - <echo message="Removing class files that changed and dependent class files." /> - <depend cache="${classes.dir}" srcdir="${src.dir}" destdir="${classes.dir}" /> - </target> - - <target name="copy-resources"> - <copy todir="${blazeds-spring.war}/WEB-INF/lib"> - <fileset dir="${basedir}/lib" includes="${webapp.ce.lib}" /> - <fileset dir="${basedir}/lib/spring" includes="**/*" /> - <fileset dir="${basedir}/lib/aspectj" includes="**/*" /> - </copy> - <copy todir="${classes.dir}"> - <fileset dir="${basedir}/lib" includes="${webapp.classes}" /> - </copy> - - <propertyfile file="${blazeds-spring.war}/WEB-INF/flex/version.properties"> - <entry key="build" value="${manifest.Implementation-Version}.${build.number}"/> - <entry key="minimumSDKVersion" value="${min.sdk.version}"/> - </propertyfile> - - </target> - - <target name="compile" depends="prepare,run-depend,copy-resources" description="compile"> - <javac source="1.4" debug="${src.debug}" destdir="${classes.dir}" srcdir="${src.dir}" classpathref="classpath" /> - </target> - - <target name="package" description=" Creates distribution war file"> - <mkdir dir="${dist.dir}" /> - <war file="${dist.dir}/blazeds-spring.war" webxml="${blazeds-spring.war}/WEB-INF/web.xml"> - <manifest> - <attribute name="Sealed" value="${manifest.sealed}" /> - <attribute name="Implementation-Title" value="${manifest.Implementation-Title} - BlazeDS Spring Integration Application" /> - <attribute name="Implementation-Version" value="${manifest.Implementation-Version}.${build.number}" /> - <attribute name="Implementation-Vendor" value="${manifest.Implementation-Vendor}" /> - </manifest> - <fileset dir="${blazeds-spring.war}"> - <exclude name="build.xml" /> - <exclude name="WEB-INF/src/**/*.java" /> - <exclude name="WEB-INF/jsp/**/*" /> - <exclude name="WEB-INF/sessions/**/*" /> - <!-- This is included in the war task already --> - <exclude name="WEB-INF/web.xml" /> - </fileset> - </war> - </target> - - <target name="clean" description="--> Removes jars and classes"> - <delete quiet="true"> - <fileset dir="${blazeds-spring.war}/WEB-INF/lib" includes="**/*" /> - </delete> - <delete quiet="true"> - <fileset dir="${classes.dir}" includes="**/*.class"/> - </delete> - <delete quiet="true" file="${dist.dir}/blazeds-spring.war" /> - </target> - +<?xml version="1.0"?> +<!-- + + 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 name="blazeds-spring.war/build.xml" default="main" basedir="../.."> + + <property file="${basedir}/build.properties" /> + <property name="blazeds-spring.war" value="${basedir}/apps/blazeds-spring" /> + <property name="dist.dir" value="${basedir}/dist" /> + <property name="src.dir" value="${blazeds-spring.war}/WEB-INF/src"/> + <property name="classes.dir" value="${blazeds-spring.war}/WEB-INF/classes"/> + + <path id="classpath"> + <fileset dir="${blazeds-spring.war}/WEB-INF/lib" includes="**/*.jar" /> + </path> + + <target name="main" depends="clean,compile" /> + + <target name="prepare"> + <mkdir dir="${blazeds-spring.war}/WEB-INF/src" /> + <mkdir dir="${blazeds-spring.war}/WEB-INF/lib" /> + <mkdir dir="${blazeds-spring.war}/WEB-INF/classes" /> + </target> + + <target name="run-depend" if="src.depend"> + <echo message="Removing class files that changed and dependent class files." /> + <depend cache="${classes.dir}" srcdir="${src.dir}" destdir="${classes.dir}" /> + </target> + + <target name="copy-resources"> + <copy todir="${blazeds-spring.war}/WEB-INF/lib"> + <fileset dir="${basedir}/lib" includes="${webapp.ce.lib}" /> + <fileset dir="${basedir}/lib/spring" includes="**/*" /> + <fileset dir="${basedir}/lib/aspectj" includes="**/*" /> + </copy> + <copy todir="${classes.dir}"> + <fileset dir="${basedir}/lib" includes="${webapp.classes}" /> + </copy> + + <propertyfile file="${blazeds-spring.war}/WEB-INF/flex/version.properties"> + <entry key="build" value="${manifest.Implementation-Version}.${build.number}"/> + <entry key="minimumSDKVersion" value="${min.sdk.version}"/> + </propertyfile> + + </target> + + <target name="compile" depends="prepare,run-depend,copy-resources" description="compile"> + <javac source="1.4" debug="${src.debug}" destdir="${classes.dir}" srcdir="${src.dir}" classpathref="classpath" /> + </target> + + <target name="package" description=" Creates distribution war file"> + <mkdir dir="${dist.dir}" /> + <war file="${dist.dir}/blazeds-spring.war" webxml="${blazeds-spring.war}/WEB-INF/web.xml"> + <manifest> + <attribute name="Sealed" value="${manifest.sealed}" /> + <attribute name="Implementation-Title" value="${manifest.Implementation-Title} - BlazeDS Spring Integration Application" /> + <attribute name="Implementation-Version" value="${manifest.Implementation-Version}.${build.number}" /> + <attribute name="Implementation-Vendor" value="${manifest.Implementation-Vendor}" /> + </manifest> + <fileset dir="${blazeds-spring.war}"> + <exclude name="build.xml" /> + <exclude name="WEB-INF/src/**/*.java" /> + <exclude name="WEB-INF/jsp/**/*" /> + <exclude name="WEB-INF/sessions/**/*" /> + <!-- This is included in the war task already --> + <exclude name="WEB-INF/web.xml" /> + </fileset> + </war> + </target> + + <target name="clean" description="--> Removes jars and classes"> + <delete quiet="true"> + <fileset dir="${blazeds-spring.war}/WEB-INF/lib" includes="**/*" /> + </delete> + <delete quiet="true"> + <fileset dir="${classes.dir}" includes="**/*.class"/> + </delete> + <delete quiet="true" file="${dist.dir}/blazeds-spring.war" /> + </target> + </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds-spring/index.htm ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds-spring/index.htm b/attic/apps/blazeds-spring/index.htm index 6bd1e96..8ce9112 100755 --- a/attic/apps/blazeds-spring/index.htm +++ b/attic/apps/blazeds-spring/index.htm @@ -1,50 +1,50 @@ -<!-- - 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. ---> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title>Welcome to BlazeDS</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<style> -body, pre { font-family:Tahoma,Helvetica,sans-serif; font-size:10pt; } -div.indent { margin-left: 20;} -span.reference { font-weight: bold } -span.header {white-space:nowrap } -span.title {font-size:12pt; color:blue} -span.highlight { background-color: #FFFFB7 } -table.code { font-family: courier; font-size: 9pt;} -span.fade { color:#666666; font-size:11px } -</style> -</head> -<body> -<span class="title">Welcome to BlazeDS</span> -<br> - <br> -This is an empty BlazeDS application that serves as a template for creating your custom BlazeDS Spring application. -<!-- -<br> <br> -If you're looking for sample Flex applications, check with the system administrator for the URL where the samples are deployed. ---> -<br> - <br> -Visit the <a href="http://opensource.adobe.com/wiki/display/blazeds/BlazeDS">product page</a> for documentation and further information. -</body> -</html> - - - - +<!-- + 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. +--> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>Welcome to BlazeDS</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<style> +body, pre { font-family:Tahoma,Helvetica,sans-serif; font-size:10pt; } +div.indent { margin-left: 20;} +span.reference { font-weight: bold } +span.header {white-space:nowrap } +span.title {font-size:12pt; color:blue} +span.highlight { background-color: #FFFFB7 } +table.code { font-family: courier; font-size: 9pt;} +span.fade { color:#666666; font-size:11px } +</style> +</head> +<body> +<span class="title">Welcome to BlazeDS</span> +<br> + <br> +This is an empty BlazeDS application that serves as a template for creating your custom BlazeDS Spring application. +<!-- +<br> <br> +If you're looking for sample Flex applications, check with the system administrator for the URL where the samples are deployed. +--> +<br> + <br> +Visit the <a href="http://opensource.adobe.com/wiki/display/blazeds/BlazeDS">product page</a> for documentation and further information. +</body> +</html> + + + + http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds/WEB-INF/classes/commons-logging.properties ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds/WEB-INF/classes/commons-logging.properties b/attic/apps/blazeds/WEB-INF/classes/commons-logging.properties index b8a3e1f..46c3be4 100755 --- a/attic/apps/blazeds/WEB-INF/classes/commons-logging.properties +++ b/attic/apps/blazeds/WEB-INF/classes/commons-logging.properties @@ -1,19 +1,19 @@ -# 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. - -# suppress logging for 3rd-party libraries using commons-logging -# Flex logging is not configured here. It is configured through in the logging section of flex-config.xml -org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl +# 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. + +# suppress logging for 3rd-party libraries using commons-logging +# Flex logging is not configured here. It is configured through in the logging section of flex-config.xml +org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds/WEB-INF/flex/messaging-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds/WEB-INF/flex/messaging-config.xml b/attic/apps/blazeds/WEB-INF/flex/messaging-config.xml index 3357c06..34f4d3f 100755 --- a/attic/apps/blazeds/WEB-INF/flex/messaging-config.xml +++ b/attic/apps/blazeds/WEB-INF/flex/messaging-config.xml @@ -1,32 +1,32 @@ -<?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. - ---> -<service id="message-service" - class="flex.messaging.services.MessageService"> - - <adapters> - <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" /> - <!-- <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/> --> - </adapters> - - <default-channels> - <channel ref="my-polling-amf"/> - </default-channels> - -</service> +<?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. + +--> +<service id="message-service" + class="flex.messaging.services.MessageService"> + + <adapters> + <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" /> + <!-- <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/> --> + </adapters> + + <default-channels> + <channel ref="my-polling-amf"/> + </default-channels> + +</service> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds/WEB-INF/flex/proxy-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds/WEB-INF/flex/proxy-config.xml b/attic/apps/blazeds/WEB-INF/flex/proxy-config.xml index fc14786..9335e6c 100755 --- a/attic/apps/blazeds/WEB-INF/flex/proxy-config.xml +++ b/attic/apps/blazeds/WEB-INF/flex/proxy-config.xml @@ -1,43 +1,43 @@ -<?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. - ---> -<service id="proxy-service" - class="flex.messaging.services.HTTPProxyService"> - - <properties> - <connection-manager> - <max-total-connections>100</max-total-connections> - <default-max-connections-per-host>2</default-max-connections-per-host> - </connection-manager> - <allow-lax-ssl>true</allow-lax-ssl> - </properties> - - <adapters> - <adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/> - <adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - - <destination id="DefaultHTTP"> - </destination> - -</service> +<?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. + +--> +<service id="proxy-service" + class="flex.messaging.services.HTTPProxyService"> + + <properties> + <connection-manager> + <max-total-connections>100</max-total-connections> + <default-max-connections-per-host>2</default-max-connections-per-host> + </connection-manager> + <allow-lax-ssl>true</allow-lax-ssl> + </properties> + + <adapters> + <adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/> + <adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/> + </adapters> + + <default-channels> + <channel ref="my-amf"/> + </default-channels> + + <destination id="DefaultHTTP"> + </destination> + +</service> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds/WEB-INF/flex/remoting-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds/WEB-INF/flex/remoting-config.xml b/attic/apps/blazeds/WEB-INF/flex/remoting-config.xml index ae2de71..88a4a1f 100755 --- a/attic/apps/blazeds/WEB-INF/flex/remoting-config.xml +++ b/attic/apps/blazeds/WEB-INF/flex/remoting-config.xml @@ -1,31 +1,31 @@ -<?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. - ---> -<service id="remoting-service" - class="flex.messaging.services.RemotingService"> - - <adapters> - <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - +<?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. + +--> +<service id="remoting-service" + class="flex.messaging.services.RemotingService"> + + <adapters> + <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> + </adapters> + + <default-channels> + <channel ref="my-amf"/> + </default-channels> + </service> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds/WEB-INF/flex/services-config.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds/WEB-INF/flex/services-config.xml b/attic/apps/blazeds/WEB-INF/flex/services-config.xml index 6fe3e6f..289fbfe 100755 --- a/attic/apps/blazeds/WEB-INF/flex/services-config.xml +++ b/attic/apps/blazeds/WEB-INF/flex/services-config.xml @@ -1,117 +1,117 @@ -<?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. - ---> -<services-config> - - <services> - <service-include file-path="remoting-config.xml" /> - <service-include file-path="proxy-config.xml" /> - <service-include file-path="messaging-config.xml" /> - </services> - - <security> - <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> - <!-- Uncomment the correct app server - <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"/> - <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> - <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> - <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> - --> - - <!-- - <security-constraint id="basic-read-access"> - <auth-method>Basic</auth-method> - <roles> - <role>guests</role> - <role>accountants</role> - <role>employees</role> - <role>managers</role> - </roles> - </security-constraint> - --> - </security> - - <channels> - - <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - - <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> - <properties> - <polling-enabled>true</polling-enabled> - <polling-interval-seconds>4</polling-interval-seconds> - </properties> - </channel-definition> - - <!-- - <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - --> - </channels> - - <logging> - <target class="flex.messaging.log.ConsoleTarget" level="Error"> - <properties> - <prefix>[BlazeDS] </prefix> - <includeDate>false</includeDate> - <includeTime>false</includeTime> - <includeLevel>false</includeLevel> - <includeCategory>false</includeCategory> - </properties> - <filters> - <pattern>Endpoint.*</pattern> - <pattern>Service.*</pattern> - <pattern>Configuration</pattern> - </filters> - </target> - </logging> - - <system> - <redeploy> - <enabled>false</enabled> - <!-- - <watch-interval>20</watch-interval> - <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> - <touch-file>{context.root}/WEB-INF/web.xml</touch-file> - --> - </redeploy> - </system> - -</services-config> +<?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. + +--> +<services-config> + + <services> + <service-include file-path="remoting-config.xml" /> + <service-include file-path="proxy-config.xml" /> + <service-include file-path="messaging-config.xml" /> + </services> + + <security> + <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> + <!-- Uncomment the correct app server + <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"/> + <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> + <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> + <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> + --> + + <!-- + <security-constraint id="basic-read-access"> + <auth-method>Basic</auth-method> + <roles> + <role>guests</role> + <role>accountants</role> + <role>employees</role> + <role>managers</role> + </roles> + </security-constraint> + --> + </security> + + <channels> + + <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> + </channel-definition> + + <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> + <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> + <properties> + <add-no-cache-headers>false</add-no-cache-headers> + </properties> + </channel-definition> + + <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> + <properties> + <polling-enabled>true</polling-enabled> + <polling-interval-seconds>4</polling-interval-seconds> + </properties> + </channel-definition> + + <!-- + <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> + </channel-definition> + + <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> + <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> + <properties> + <add-no-cache-headers>false</add-no-cache-headers> + </properties> + </channel-definition> + --> + </channels> + + <logging> + <target class="flex.messaging.log.ConsoleTarget" level="Error"> + <properties> + <prefix>[BlazeDS] </prefix> + <includeDate>false</includeDate> + <includeTime>false</includeTime> + <includeLevel>false</includeLevel> + <includeCategory>false</includeCategory> + </properties> + <filters> + <pattern>Endpoint.*</pattern> + <pattern>Service.*</pattern> + <pattern>Configuration</pattern> + </filters> + </target> + </logging> + + <system> + <redeploy> + <enabled>false</enabled> + <!-- + <watch-interval>20</watch-interval> + <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> + <touch-file>{context.root}/WEB-INF/web.xml</touch-file> + --> + </redeploy> + </system> + +</services-config> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/blazeds/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/attic/apps/blazeds/WEB-INF/web.xml b/attic/apps/blazeds/WEB-INF/web.xml index 7919919..9bf2f4a 100755 --- a/attic/apps/blazeds/WEB-INF/web.xml +++ b/attic/apps/blazeds/WEB-INF/web.xml @@ -1,82 +1,82 @@ -<?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. - ---> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> -<web-app> - - <display-name>BlazeDS</display-name> - <description>BlazeDS Application</description> - - <!-- Http Flex Session attribute and binding listener support --> - <listener> - <listener-class>flex.messaging.HttpFlexSession</listener-class> - </listener> - - <!-- MessageBroker Servlet --> - <servlet> - <servlet-name>MessageBrokerServlet</servlet-name> - <display-name>MessageBrokerServlet</display-name> - <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class> - <init-param> - <param-name>services.configuration.file</param-name> - <param-value>/WEB-INF/flex/services-config.xml</param-value> - </init-param> - <load-on-startup>1</load-on-startup> - </servlet> - -<!-- begin rds - <servlet> - <servlet-name>RDSDispatchServlet</servlet-name> - <display-name>RDSDispatchServlet</display-name> - <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class> - <init-param> - <param-name>useAppserverSecurity</param-name> - <param-value>true</param-value> - </init-param> - <load-on-startup>10</load-on-startup> - </servlet> - - <servlet-mapping id="RDS_DISPATCH_MAPPING"> - <servlet-name>RDSDispatchServlet</servlet-name> - <url-pattern>/CFIDE/main/ide.cfm</url-pattern> - </servlet-mapping> -end rds --> - - <servlet-mapping> - <servlet-name>MessageBrokerServlet</servlet-name> - <url-pattern>/messagebroker/*</url-pattern> - </servlet-mapping> - - <welcome-file-list> - <welcome-file>index.html</welcome-file> - <welcome-file>index.htm</welcome-file> - </welcome-file-list> - - <!-- for WebSphere deployment, please uncomment --> - <!-- - <resource-ref> - <description>Flex Messaging WorkManager</description> - <res-ref-name>wm/MessagingWorkManager</res-ref-name> - <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type> - <res-auth>Container</res-auth> - <res-sharing-scope>Shareable</res-sharing-scope> - </resource-ref> - --> - -</web-app> +<?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. + +--> +<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> +<web-app> + + <display-name>BlazeDS</display-name> + <description>BlazeDS Application</description> + + <!-- Http Flex Session attribute and binding listener support --> + <listener> + <listener-class>flex.messaging.HttpFlexSession</listener-class> + </listener> + + <!-- MessageBroker Servlet --> + <servlet> + <servlet-name>MessageBrokerServlet</servlet-name> + <display-name>MessageBrokerServlet</display-name> + <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class> + <init-param> + <param-name>services.configuration.file</param-name> + <param-value>/WEB-INF/flex/services-config.xml</param-value> + </init-param> + <load-on-startup>1</load-on-startup> + </servlet> + +<!-- begin rds + <servlet> + <servlet-name>RDSDispatchServlet</servlet-name> + <display-name>RDSDispatchServlet</display-name> + <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class> + <init-param> + <param-name>useAppserverSecurity</param-name> + <param-value>true</param-value> + </init-param> + <load-on-startup>10</load-on-startup> + </servlet> + + <servlet-mapping id="RDS_DISPATCH_MAPPING"> + <servlet-name>RDSDispatchServlet</servlet-name> + <url-pattern>/CFIDE/main/ide.cfm</url-pattern> + </servlet-mapping> +end rds --> + + <servlet-mapping> + <servlet-name>MessageBrokerServlet</servlet-name> + <url-pattern>/messagebroker/*</url-pattern> + </servlet-mapping> + + <welcome-file-list> + <welcome-file>index.html</welcome-file> + <welcome-file>index.htm</welcome-file> + </welcome-file-list> + + <!-- for WebSphere deployment, please uncomment --> + <!-- + <resource-ref> + <description>Flex Messaging WorkManager</description> + <res-ref-name>wm/MessagingWorkManager</res-ref-name> + <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type> + <res-auth>Container</res-auth> + <res-sharing-scope>Shareable</res-sharing-scope> + </resource-ref> + --> + +</web-app>
