Пакет | 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 | свойство |
clientUrl:String
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The server address, as a URL, for the client collateral.
Реализация
public function get clientUrl():String
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 | свойство |
serverUrl:String
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The server address, as a URL, for the server session.
Реализация
public function get serverUrl():String
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:34 AM Z