套件 | coldfusion.service.mxml |
類別 | public class Ldap |
繼承 | Ldap BasicService InternalConfig Object |
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
屬性 | 定義自 | ||
---|---|---|---|
action : String
Action string for the service. | BasicService | ||
attributes : String
For queries: comma-delimited list of attributes to return. | Ldap | ||
cfContextRoot : String
Context root of the ColdFusion server. | InternalConfig | ||
cfPort : int
Port where the ColdFusion server is running. | InternalConfig | ||
cfServer : String
Name or IP address of the ColdFusion server. | InternalConfig | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
delimiter : String
Separator between attribute name-value pairs. | Ldap | ||
destination : 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 | ||
secureHttp : 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 | ||
servicePassword : String
Password to access ColdFusion services. | InternalConfig | ||
serviceUserName : 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 |
方法 | 定義自 | ||
---|---|---|---|
Ldap()
Creates an instance of the Ldap class. | Ldap | ||
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 | ||
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 | ||
Returns the RemoteObject instance used by the proxy classes to make the
remote object call. | BasicService | ||
Checks whether the EventDispatcher object has any listeners registered
for a specific type of event. | BasicService | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
Removes a listener from the EventDispatcher object. | BasicService | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its
ancestors for the specified event type. | BasicService |
方法 | 定義自 | ||
---|---|---|---|
[覆寫]
This is the overriden function of the default implementation is BasicService. | Ldap |
attributes | 屬性 |
public var attributes:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
For queries: comma-delimited list of attributes to return. For queries, to get all attributes, specify ".
delimiter | 屬性 |
public var delimiter:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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
預設值為 ; (semicolon)。
dn | 屬性 |
public var dn:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Distinguished name, for update action, for example, "cn=BobJensen,o=AceIndustry,c=US"
filter | 屬性 |
public var filter:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Search criteria for action="query".
預設值為 "objectclass =。
maxrows | 屬性 |
public var maxrows:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Maximum number of entries for LDAP queries.
modifyType | 屬性 |
public var modifyType:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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.
預設值為 replace
。
password | 屬性 |
public var password:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Password that corresponds to user name.
If secure ="CFSSL_BASIC"
, V2 encrypts the password before transmission.
port | 屬性 |
public var port:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Port.
預設值為 389。
rebind | 屬性 |
public var rebind:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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.
預設值為 no
。
referral | 屬性 |
public var referral:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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 | 屬性 |
public var scope:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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.
預設值為 oneLevel
。
secure | 屬性 |
public var secure:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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 | 屬性 |
public var separator:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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.
預設值為 , (comma)。
server | 屬性 |
public var server:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Host name or IP address of LDAP server.
sort | 屬性 |
public var sort:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Attribute(s) by which to sort query results. Use a comma delimiter.
sortControl | 屬性 |
public var sortControl:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
nocase
: case-insensitive sortasc
: ascending (a to z) case-sensitive sort.desc
: descending (z to a) case-sensitive sort.
預設值為 asc
。
start | 屬性 |
public var start:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Distinguished name of entry to be used to start a search.
startRow | 屬性 |
public var startRow:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Used with action="query". First row of LDAP query to insert into a ColdFusion query.
預設值為 1。
timeout | 屬性 |
public var timeout:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Maximum length of time, in milliseconds, to wait for LDAP processing.
預設值為 60000。
userName | 屬性 |
public var userName:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
User ID.
預設值為 (anonymous)。
Ldap | () | 建構函式 |
public function Ldap()
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Creates an instance of the Ldap class.
convertResultInEvent | () | 方法 |
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.
參數
event:ResultEvent |
ColdFusionServiceResultEvent |
execute | () | 方法 |
public function execute():void
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Sends information to the ColdFusion service based on the action and the attributes that the user sets.
Tue Jun 12 2018, 03:47 PM Z