Справочник по ActionScript® 3.0 для платформы Adobe® Flash®
Домашняя страница  |  Скрыть список пакетов и классов |  Пакеты  |  Классы  |  Что нового  |  Указатель  |  Приложения  |  Почему по-английски?
Фильтры: Получение данных с сервера...
Получение данных с сервера...
com.adobe.icc.services.user 

ISSOManager  - AS3 Формирователь активов

Пакетcom.adobe.icc.services.user
Интерфейсpublic interface ISSOManager extends IEventDispatcher

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

The ISSOManager expose operations related to Single Sign On (SSO) in LiveCycle ES environment. The application should register appropriate UserEvent handlers prior to calling any of the following operations



Общедоступные свойства
 СвойствоОпределено
  assertionId : String
[только для чтения] Get the assertionId for the logged in user
ISSOManager
  currentUser : User
[только для чтения] Current logged in user.
ISSOManager
  flexConfig : FlexConfiguration
Flex Configuration.
ISSOManager
  securityManager : ISecurityManager
[только для чтения] Returns RIA SecurityManager
ISSOManager
Общедоступные методы
 МетодОпределено
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии.
IEventDispatcher
 Inherited
Посылает событие в поток событий.
IEventDispatcher
 Inherited
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события.
IEventDispatcher
  
Loads the user based on the session.
ISSOManager
  
login(username:String, password:String, domain:String = null):void
Authenticates the user using username and password.
ISSOManager
  
Terminates the current session and logs out the user.Will lead to one of the following events: UserEvent.LOGOUT_COMPLETE - user session has been terminated
ISSOManager
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Удаляет прослушиватель из объекта EventDispatcher.
IEventDispatcher
  
Renew the session id of current logged in user.
ISSOManager
  
Tries to validate whether the user has an already existing session or not (SSO Scenarios).
ISSOManager
 Inherited
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником.
IEventDispatcher
Сведения о свойстве

assertionId

свойство
assertionId:String  [только для чтения]

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Get the assertionId for the logged in user



Реализация
    public function get assertionId():String

currentUser

свойство 
currentUser:User  [только для чтения]

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Current logged in user.

Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие currentUserChange .



Реализация
    public function get currentUser():User

flexConfig

свойство 
flexConfig:FlexConfiguration

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Flex Configuration.



Реализация
    public function get flexConfig():FlexConfiguration
    public function set flexConfig(value:FlexConfiguration):void

securityManager

свойство 
securityManager:ISecurityManager  [только для чтения]

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 10
Версии среды выполнения: AIR (unsupported), Flash Player 10.2

Returns RIA SecurityManager



Реализация
    public function get securityManager():ISecurityManager
Сведения о методе

loadUser

()метод
public function loadUser():void

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Loads the user based on the session. Will lead to one of the following events:

  • UserEvent.LOAD_USER_COMPLETE - The currentUser property is loaded with information on the user that established the session
  • userLoadError (FaultEvent) - Failed to load user information

login

()метод 
public function login(username:String, password:String, domain:String = null):void

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Authenticates the user using username and password. It may lead to one of the following events

  • UserEvent.AUTHENTICATION_SUCCESS - The authentication is successful and a session is established
  • UserEvent.AUTHENTICATION_FAILED - Authentication has failed

Параметры

username:String — The username entered to login.
 
password:String — The password entered to login.
 
domain:String (default = null) — The domain entered to login.

logout

()метод 
public function logout():void

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Terminates the current session and logs out the user.Will lead to one of the following events:

  • UserEvent.LOGOUT_COMPLETE - user session has been terminated

renewSession

()метод 
public function renewSession():void

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Renew the session id of current logged in user. Will lead to one of the following events:

  • UserEvent.RENEW_SESSION_COMPLETE - user session has been renewed
  • renewSessionError (FaultEvent) - Failed to renew session

singleSignOn

()метод 
public function singleSignOn():void

Язык версии: ActionScript 3.0
Версия продукта: Asset Composer Building Block 9.5
Версии среды выполнения: AIR (unsupported), Flash Player 9, Flash Player 10

Tries to validate whether the user has an already existing session or not (SSO Scenarios). The application may call this method during the initialization. In general this call would lead to one of the following events getting dispatched

  • UserEvent.AUTHENTICATION_SUCCESS - If a SSO session was found and valid
  • UserEvent.AUTHENTICATION_REQUIRED - No SSO session was found and as such authentication is required in the form of username and password.
  • UserEvent.AUTHENTICATION_FAILED - Some error has occured while connecting to the server





[ X ]Почему по-английски?
Содержимое Справочника ActionScript 3.0 отображается на английском языке

Не все части Справочника ActionScript 3.0 переводятся на все языки. Если какой-то текстовый элемент не переведен, он отображается на английском языке. Например, компонент ga.controls.HelpBox не переведен ни на один из языков. Это значит, что в русской версии справки компонент ga.controls.HelpBox будет отображаться на английском языке.