Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
coldfusion.service.mxml 

Ldap  - AS3 CF

Packagecoldfusion.service.mxml
Classepublic class Ldap
HéritageLdap Inheritance BasicService Inheritance InternalConfig Inheritance Object

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

The proxy class for ldap services exposed by ColdFusion.



Propriétés publiques
 PropriétéDéfini par
 Inheritedaction : String
Action string for the service.
BasicService
  attributes : String
For queries: comma-delimited list of attributes to return.
Ldap
 InheritedcfContextRoot : String
Context root of the ColdFusion server.
InternalConfig
 InheritedcfPort : int
Port where the ColdFusion server is running.
InternalConfig
 InheritedcfServer : String
Name or IP address of the ColdFusion server.
InternalConfig
 Inheritedconstructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet.
Object
  delimiter : String
Separator between attribute name-value pairs.
Ldap
 Inheriteddestination : String
Specifies the destination for the remoting call.
InternalConfig
  dn : String
Distinguished name, for update action, for example, "cn=BobJensen,o=AceIndustry,c=US"
Ldap
  filter : String
Search criteria for action="query".
Ldap
  maxrows : String
Maximum number of entries for LDAP queries.
Ldap
  modifyType : String
How to process an attribute in a multivalue list: add: appends it to any attributes. delete: deletes it from the set of attributes. replace: replaces it with specified attributes.
Ldap
  password : String
Password that corresponds to user name.
Ldap
  port : String
Port.
Ldap
  rebind : String
yes: attempts to rebind referral callback and reissue query by referred address using original credentials. no: referred connections are anonymous.
Ldap
  referral : String
Integer.
Ldap
  scope : String
Scope of search, from entry specified in start attribute for action="Query" .
Ldap
  secure : Boolean
Specifies the security to employ, and the required information.
Ldap
 InheritedsecureHttp : Boolean
Boolean value that specifies if secure HTTP is used: yes: uses secure HTTP no: does not use secure HTTP
InternalConfig
  separator : String
Delimiter to separate attribute values of multi-value attributes.
Ldap
  server : String
Host name or IP address of LDAP server.
Ldap
 InheritedservicePassword : String
Password to access ColdFusion services.
InternalConfig
 InheritedserviceUserName : String
Username to access ColdFusion services.
InternalConfig
  sort : String
Attribute(s) by which to sort query results.
Ldap
  sortControl : String
nocase: case-insensitive sort asc: ascending (a to z) case-sensitive sort. desc: descending (z to a) case-sensitive sort.
Ldap
  start : String
Distinguished name of entry to be used to start a search.
Ldap
  startRow : String
Used with action="query".
Ldap
  timeout : String
Maximum length of time, in milliseconds, to wait for LDAP processing.
Ldap
  userName : String
User ID.
Ldap
Méthodes publiques
 MéthodeDéfini par
  
Creates an instance of the Ldap class.
Ldap
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
BasicService
 Inherited
Dispatches an event into the event flow.
BasicService
  
Sends information to the ColdFusion service based on the action and the attributes that the user sets.
Ldap
 Inherited
Returns the RemoteObject instance used by the proxy classes to make the remote object call.
BasicService
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
BasicService
 Inherited
Indique si la propriété spécifiée d’un objet est définie.
Object
 Inherited
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre.
Object
 Inherited
Indique si la propriété spécifiée existe et est énumérable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
BasicService
 Inherited
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle.
Object
 Inherited
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur.
Object
 Inherited
Renvoie la représentation sous forme de chaîne de l’objet spécifié.
Object
 Inherited
Renvoie la valeur primitive de l’objet spécifié.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
BasicService
Méthodes protégées
 MéthodeDéfini par
  
[override] This is the overriden function of the default implementation is BasicService.
Ldap
Evénements
 Evénement Synthèse Défini par
 InheritedDispatched when a ColdFusion service call fails.BasicService
 InheritedDispatched when a ColdFusion service call returns successfully.BasicService
Détails de la propriété

attributes

propriété
public var attributes:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

For queries: comma-delimited list of attributes to return. For queries, to get all attributes, specify ".

delimiter

propriété 
public var delimiter:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Separator between attribute name-value pairs. Use this attribute if either of these situations exist:

  • The attributes attribute specifies more than one item.
  • An attribute contains the default delimiter (semicolon), for example: mgrpmsgrejecttext;lang-en

La valeur par défaut est ; (semicolon).

dn

propriété 
public var dn:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Distinguished name, for update action, for example, "cn=BobJensen,o=AceIndustry,c=US"

filter

propriété 
public var filter:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Search criteria for action="query".

La valeur par défaut est "objectclass =.

maxrows

propriété 
public var maxrows:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Maximum number of entries for LDAP queries.

modifyType

propriété 
public var modifyType:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

How to process an attribute in a multivalue list:

  • add: appends it to any attributes.
  • delete: deletes it from the set of attributes.
  • replace: replaces it with specified attributes.

La valeur par défaut est replace .

password

propriété 
public var password:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Password that corresponds to user name. If secure ="CFSSL_BASIC", V2 encrypts the password before transmission.

port

propriété 
public var port:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Port.

La valeur par défaut est 389.

rebind

propriété 
public var rebind:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

  • yes: attempts to rebind referral callback and reissue query by referred address using original credentials.
  • no: referred connections are anonymous.

La valeur par défaut est no.

referral

propriété 
public var referral:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Integer. Number of hops allowed in a referral. A value of 0 disables referred addresses for LDAP; no data is returned.

scope

propriété 
public var scope:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Scope of search, from entry specified in start attribute for action="Query" .

  • oneLevel: entries one level below entry.
  • base: only the entry.
  • subtree: entry and all levels below it.

La valeur par défaut est oneLevel.

secure

propriété 
public var secure:Boolean

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Specifies the security to employ, and the required information. If you specify this attribute, its value must be CFSSL_BASIC, which provides V2 SSL encryption and server authentication.

separator

propriété 
public var separator:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Delimiter to separate attribute values of multi-value attributes. Used by query, add, and modify actions, and by cfldap to output multi-value attributes.

La valeur par défaut est , (comma).

server

propriété 
public var server:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Host name or IP address of LDAP server.

sort

propriété 
public var sort:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Attribute(s) by which to sort query results. Use a comma delimiter.

sortControl

propriété 
public var sortControl:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

  • nocase: case-insensitive sort
  • asc: ascending (a to z) case-sensitive sort.
  • desc: descending (z to a) case-sensitive sort.

La valeur par défaut est asc.

start

propriété 
public var start:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Distinguished name of entry to be used to start a search.

startRow

propriété 
public var startRow:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Used with action="query". First row of LDAP query to insert into a ColdFusion query.

La valeur par défaut est 1.

timeout

propriété 
public var timeout:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Maximum length of time, in milliseconds, to wait for LDAP processing.

La valeur par défaut est 60000.

userName

propriété 
public var userName:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

User ID.

La valeur par défaut est (anonymous).

Détails du constructeur

Ldap

()Constructeur
public function Ldap()

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Creates an instance of the Ldap class.

Détails de la méthode

convertResultInEvent

()méthode
override protected function convertResultInEvent(event:ResultEvent):ColdFusionServiceResultEvent

This is the overriden function of the default implementation is BasicService. This function checks if the result returned is 2d array of serviceelement If it is, it converts it into a 2d array of objects and creates an instance of ColdFusionResultEvent and returns the event.

Paramètres

event:ResultEvent

Valeur renvoyée
ColdFusionServiceResultEvent

execute

()méthode 
public function execute():void

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 10, AIR 1.5

Sends information to the ColdFusion service based on the action and the attributes that the user sets.





[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.