Package | com.adobe.icc.services.user |
Interface | public interface ISSOManager extends IEventDispatcher |
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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
Propriété | Défini par | ||
---|---|---|---|
assertionId : String [lecture seule]
Get the assertionId for the logged in user
| ISSOManager | ||
currentUser : User [lecture seule] Current logged in user. | ISSOManager | ||
flexConfig : FlexConfiguration Flex Configuration. | ISSOManager | ||
securityManager : ISecurityManager [lecture seule]
Returns RIA SecurityManager
| ISSOManager |
Méthode | Défini par | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement. | IEventDispatcher | ||
Distribue un événement dans le flux d’événements. | IEventDispatcher | ||
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement. | 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 | ||
Supprime un écouteur de l’objet 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 | ||
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié. | IEventDispatcher |
assertionId | propriété |
assertionId:String
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get the assertionId for the logged in user
Implémentation
public function get assertionId():String
currentUser | propriété |
currentUser:User
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Current logged in user.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement currentUserChange
.
Implémentation
public function get currentUser():User
flexConfig | propriété |
flexConfig:FlexConfiguration
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Flex Configuration.
Implémentation
public function get flexConfig():FlexConfiguration
public function set flexConfig(value:FlexConfiguration):void
securityManager | propriété |
securityManager:ISecurityManager
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Returns RIA SecurityManager
Implémentation
public function get securityManager():ISecurityManager
loadUser | () | méthode |
public function loadUser():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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éthode |
public function login(username:String, password:String, domain:String = null):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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
Paramètres
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éthode |
public function logout():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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éthode |
public function renewSession():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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éthode |
public function singleSignOn():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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
Tue Jun 12 2018, 09:30 AM Z