Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual page 147

Migrating applications to flex 2
Table of Contents

Advertisement

Migrating services that use Basic authentication
For Basic authentication, you must change the value of the security constraint's
in the web.xml file. This section assumes that you have already migrated the service's
destination, as described in previous sections.
Flex 1.5 syntax
In Flex 1.5, for WebService and HTTPService, you specified the /flashproxy/service_name as
the
, as the following example shows:
url-pattern
<web-app>
...
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Page</web-resource-name>
<url-pattern>/flashproxy/MyService</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>manager</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>manager</role-name>
</security-role>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</web-app>
For RemoteObject, you specified /amfgateway/service_name as the
url-pattern
.
url-pattern
Migrating secure data services
147

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents