包 | 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 |
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 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
将事件调度到事件流中。 | IEventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | 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 | ||
从 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 | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
属性详细信息
assertionId | 属性 |
currentUser | 属性 |
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
Tue Jun 12 2018, 11:04 AM Z