包 | lc.foundation |
接口 | public interface ISessionManager extends IManager , IEventDispatcher |
实现器 | SessionManager |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
ISessionManager
interface is implemented to expose operations and properties related
to the Document Server session. You implement this interface to authenticate a user and provide
the session that is required for all other server operations.
属性 | 由以下参数定义 | ||
---|---|---|---|
authenticatedUser : User
The authenticated user, after the successful
call using the login or singleSignOn methods. | ISessionManager | ||
buildDate : String [只读]
The build date. | ISessionManager | ||
buildNumber : String [只读]
The build number. | ISessionManager | ||
channelSet : ChannelSet [只读]
A ChannelSet object that is used with Remoting by DataService objects. | ISessionManager | ||
clientUrl : String [只读]
The server address, as a URL, for the client collateral. | ISessionManager | ||
dataserviceChannelSet : ChannelSet [只读]
A ChannelSet object that is appropriate for use with Data Services. | ISessionManager | ||
faultHandler : Function
The default fault handler function. | IManager | ||
loadLocationUrl : String [只读]
The server URL from which the SWF file is loaded. | ISessionManager | ||
remotingChannelSet : ChannelSet [只读]
A ChannelSet object that is appropriate for use with Remoting. | ISessionManager | ||
serverUrl : String [只读]
The server address, as a URL, for the server session. | ISessionManager | ||
userAssertion : String [只读]
The SAML assertion data that can be used to pass authentication to
Data Services. | ISessionManager |
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
将事件调度到事件流中。 | IEventDispatcher | ||
Retrieves a RemoteObject object configured with the authenticated user's
credentials for invoking an operation on the specified Remoting service. | ISessionManager | ||
Retrieves a RemoteObject object configured with the authenticated user's
credentials for invoking an operation on the specified Remoting service. | ISessionManager | ||
Determines whether the default operation is prevented. | IManager | ||
Determines whether the default operation is prevented. | IManager | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | ||
Logs in to the server, authenticating the user. | ISessionManager | ||
Logs off the server, which invalidates the server session. | ISessionManager | ||
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | ||
Determines whether an authenticated session to the Document Server already
exists or can be established without additional information, such as in single sign-on (SSO). | ISessionManager | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
authenticatedUser | 属性 |
authenticatedUser:User
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The authenticated user, after the successful
call using the login
or singleSignOn
methods.
实现
public function get authenticatedUser():User
public function set authenticatedUser(value:User):void
buildDate | 属性 |
buildNumber | 属性 |
channelSet | 属性 |
channelSet:ChannelSet
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A ChannelSet
object that is used with Remoting by DataService objects.
This for internal use only.
实现
public function get channelSet():ChannelSet
clientUrl | 属性 |
dataserviceChannelSet | 属性 |
dataserviceChannelSet:ChannelSet
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 10 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A ChannelSet
object that is appropriate for use with Data Services.
实现
public function get dataserviceChannelSet():ChannelSet
loadLocationUrl | 属性 |
loadLocationUrl:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The server URL from which the SWF file is loaded. The URL does not include the name of the SWF file.
实现
public function get loadLocationUrl():String
remotingChannelSet | 属性 |
remotingChannelSet:ChannelSet
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A ChannelSet
object that is appropriate for use with Remoting.
Generally, using the getRemotingService
method is more convenient.
实现
public function get remotingChannelSet():ChannelSet
相关 API 元素
serverUrl | 属性 |
userAssertion | 属性 |
userAssertion:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The SAML assertion data that can be used to pass authentication to Data Services.
实现
public function get userAssertion():String
getRemotingEndpoint | () | 方法 |
public function getRemotingEndpoint(serviceName:String):RemoteObject
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a RemoteObject
object configured with the authenticated user's
credentials for invoking an operation on the specified Remoting service. Successful
authentication is a prerequisite.
参数
serviceName:String — Specifies the name of the Remoting startpoint.
|
RemoteObject — A ready to use RemoteObject.
|
getRemotingService | () | 方法 |
public function getRemotingService(serviceName:String):RemoteObject
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 10 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a RemoteObject
object configured with the authenticated user's
credentials for invoking an operation on the specified Remoting service. Successful
authentication is a prerequisite.
参数
serviceName:String — Specifies the name of the Remoting startpoint.
|
RemoteObject — A ready to use RemoteObject.
|
login | () | 方法 |
public function login(userid:String, password:String):lc.foundation.util:Token
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Logs in to the server, authenticating the user.
参数
userid:String — Specifies the user profile.
| |
password:String — Specifies the password.
|
lc.foundation.util:Token — A Token object used to set result and fault handlers that execute when the
operation completes.
|
logout | () | 方法 |
public function logout():lc.foundation.util:Token
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Logs off the server, which invalidates the server session.
返回lc.foundation.util:Token — A token used to set result and fault handlers that execute when the
operation completes.
|
singleSignOn | () | 方法 |
public function singleSignOn():lc.foundation.util:Token
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines whether an authenticated session to the Document Server already exists or can be established without additional information, such as in single sign-on (SSO). If an authenticated session is established, the server session is valid and the result handler on the returned token is called. If an authenticated session is not established, the fault handler is called.
返回lc.foundation.util:Token — A token used to set result and fault handlers that execute when the operation completes.
|
Tue Jun 12 2018, 11:04 AM Z