套件 | 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, 03:47 PM Z