Pacote | com.adobe.icc.services.user |
Interface | public interface ISSOManager extends IEventDispatcher |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
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
Propriedade | Definido por | ||
---|---|---|---|
assertionId : String [somente leitura]
Get the assertionId for the logged in user
| ISSOManager | ||
currentUser : User [somente leitura] Current logged in user. | ISSOManager | ||
flexConfig : FlexConfiguration Flex Configuration. | ISSOManager | ||
securityManager : ISecurityManager [somente leitura]
Returns RIA SecurityManager
| ISSOManager |
Método | Definido por | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | IEventDispatcher | ||
Envia um evento para o fluxo de eventos. | IEventDispatcher | ||
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | IEventDispatcher | ||
Loads the user based on the session. | ISSOManager | ||
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 | ||
Remove um ouvinte do objeto 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 | ||
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | IEventDispatcher |
assertionId | propriedade |
currentUser | propriedade |
currentUser:User
[somente leitura] Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Current logged in user.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento currentUserChange
.
Implementação
public function get currentUser():User
flexConfig | propriedade |
flexConfig:FlexConfiguration
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Flex Configuration.
Implementação
public function get flexConfig():FlexConfiguration
public function set flexConfig(value:FlexConfiguration):void
securityManager | propriedade |
securityManager:ISecurityManager
[somente leitura] Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Returns RIA SecurityManager
Implementação
public function get securityManager():ISecurityManager
loadUser | () | método |
public function loadUser():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | 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 | () | método |
public function login(username:String, password:String, domain:String = null):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | 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
Parâmetros
username:String — The username entered to login.
| |
password:String — The password entered to login.
| |
domain:String (default = null ) — The domain entered to login.
|
logout | () | método |
public function logout():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | 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 | () | método |
public function renewSession():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | 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 | () | método |
public function singleSignOn():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | 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
Wed Jun 13 2018, 11:10 AM Z