包 | 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, 11:04 AM Z