Data service whitelist tags

This section describes the child tags that are common to the <whitelist> tags in the flex-config.xml file for remote object services, web services, and HTTP services, and the child tags that are specific to each type of service.

For information about whitelists, see Named services and Securing data services.

Common whitelist tags

All <service> and <object> tags can contain the following child tags:

Tag Description
<allow-unnamed-access>

Adds the service to the unnamed whitelist. If you set this property to false, you cannot access the service using the source, wsdl, or url, property of the <mx:RemoteObject>, <mx:WebService>, or <mx:HTTPService> tag, respectively.

<use-custom-authentication>

(Optional) Specifies that the service uses custom authentication instead of basic authentication. Use this when you provide a user name and password from the Flex application instead of a web browser dialog box.

Remote-object-specific whitelist tags

Remote object service <object> tags can contain the following child tags in addition to those described in Common whitelist tags:

Tag Description
<source>

The Java class to use for the service.

<type>

The type of class. Can be stateless-class, or stateful-class. The default type is stateless-class. You can also specify type in the <mx:RemoteObject> tag. If you specify type in both the <object> tag and the <mx:RemoteObject> tag, the values must match.

<use-basic-authentication>

Indicates whether the service uses Basic authentication. For more information, see Securing data services.

Web-service-specific whitelist tags

Web service <service> tags can contain the following child tags in addition to those described in Common whitelist tags:

Tag Description
<endpoint>

Endpoint URLs allowed when using the service.

<run-as>

The user name and password to use when accessing the service.

<wsdl>

WSDL URL for the service.

HTTP-service-specific whitelist tags

HTTP service <service> tags can contain the following child tags in addition to those described in Common whitelist tags:

Tag Description
<url>

The service URL.

<run-as>

The user name and password to use when accessing the service.




  


Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000786.htm