패키지 | lc.foundation |
클래스 | public class SessionManager |
상속 | SessionManager Manager |
구현 | ISessionManager |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
SessionManager
class is the standard implementation of the
ISessionManager
interface. Typically, the
AuthenticatingApplication
object is used, which automatically creates a
SessionManager
object.
If the AuthenticatingApplication
class is not used,
an instantiation of this class can be used to access Document Server.
For information on using this component to customize Workspace, see Customizing the Adobe Digital Enterprise Platform Document Services - Workspace User Interface .
관련 API 요소
속성 | 정의 주체 | ||
---|---|---|---|
authenticatedUser : User
The authenticated user, after the successful
call using the login or singleSignOn methods. | SessionManager | ||
buildDate : String [읽기 전용]
The build date. | SessionManager | ||
buildNumber : String [읽기 전용]
The build number. | SessionManager | ||
channelSet : ChannelSet [읽기 전용]
A ChannelSet object that is used with Remoting by DataService objects. | SessionManager | ||
clientUrl : String [읽기 전용]
The server address, as a URL, for the client collateral. | SessionManager | ||
dataserviceChannelSet : ChannelSet
A ChannelSet object that is appropriate for use with Data Services. | SessionManager | ||
loadLocationUrl : String [읽기 전용]
The server URL from which the SWF file is loaded. | SessionManager | ||
remotingChannelSet : ChannelSet
A ChannelSet object that is appropriate for use with Remoting. | SessionManager | ||
serverUrl : String [읽기 전용]
The server address, as a URL, for the server session. | SessionManager | ||
userAssertion : String
The SAML assertion data that can be used to pass authentication to
Data Services. | SessionManager | ||
userManagerUrl : String [읽기 전용]
The URL for single-sign on and authentication. | SessionManager |
메서드 | 정의 주체 | ||
---|---|---|---|
SessionManager(server:String, session:SessionMap, clientUrl:String = null, userManagerUrl:String = null)
Constructor. | SessionManager | ||
Retrieves a RemoteObject object configured with the authenticated user's
credentials for invoking an operation on the specified Remoting service. | SessionManager | ||
Retrieves a RemoteObject object configured with the authenticated user's
credentials for invoking an operation on the specified Remoting service. | SessionManager | ||
Logs in to the server, authenticating the user. | SessionManager | ||
Logs off the server, which invalidates the server session. | SessionManager | ||
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). | SessionManager |
이벤트 | 요약 | 정의 주체 | ||
---|---|---|---|---|
Dispatched when the authenticated session with the Document Server expires. | SessionManager |
상수 | 정의 주체 | ||
---|---|---|---|
MSG_AUTHENTICATION_EXPIRED : String = "ALC-WKS-007-108" [정적]
A special value that specifies an information message. | SessionManager | ||
SESSION_KEY : String = "lc.foundation.ISessionManager" [정적]
A special value that specifies the manager key name in the SessionMap object. | SessionManager |
상수 | 정의 주체 | ||
---|---|---|---|
MSG_BAD_CREDENTIALS : String = "ALC-WKS-007-001" [정적]
A special value that specifies the user name, password, or both that was provided are invalid. | SessionManager | ||
MSG_CREDENTIALS_REQUIRED : String = "ALC-WKS-007-149" [정적]
A special value that specifies login information is required. | SessionManager | ||
MSG_NON_SPECIFIC_ERROR : String = "ALC-WKS-007-000" [정적]
A special value that specifies a non-specific error occurred. | SessionManager | ||
MSG_SERVER_BAD_CREDENTIALS : String = "ALC-WKS-005-000" [정적]
A special value that specifies a server-side error identifier for bad credentials. | SessionManager |
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 | 속성 |
dataserviceChannelSet | 속성 |
dataserviceChannelSet: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 Data Services.
구현
public function get dataserviceChannelSet():ChannelSet
public function set dataserviceChannelSet(value:ChannelSet):void
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
public function set remotingChannelSet(value:ChannelSet):void
serverUrl | 속성 |
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
public function set userAssertion(value:String):void
userManagerUrl | 속성 |
SessionManager | () | 생성자 |
public function SessionManager(server:String, session:SessionMap, clientUrl:String = null, userManagerUrl:String = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
매개 변수server:String — Specifies the location of the server as a URL. If the URL is a value of
null , the Manager default to accessing the Document Server at the
same location from where the Workspace SWF file is retrieved.
| |
session:SessionMap — Specifies the SessionMap object to use.
| |
clientUrl:String (default = null ) — Specifies URL to access the Document Server. A value of null specifies to use /workspace-server/ .
| |
userManagerUrl:String (default = null ) — Specifies the URL for single-sign on and authentication. A value of null specifies to use /um/ .
|
getRemotingEndpoint | () | 메서드 |
public function getRemotingEndpoint(endpointName: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.
매개 변수
endpointName: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(username: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.
매개 변수
username: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.
|
authenticationExpired | 이벤트 |
lc.foundation.events.LiveCycleFaultEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched when the authenticated session with the Document Server expires.
MSG_AUTHENTICATION_EXPIRED | 상수 |
public static const MSG_AUTHENTICATION_EXPIRED:String = "ALC-WKS-007-108"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies an information message. The session for the user has expired. The user must log in again to Workspace.
MSG_BAD_CREDENTIALS | 상수 |
protected static const MSG_BAD_CREDENTIALS:String = "ALC-WKS-007-001"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies the user name, password, or both that was provided are invalid.
MSG_CREDENTIALS_REQUIRED | 상수 |
protected static const MSG_CREDENTIALS_REQUIRED:String = "ALC-WKS-007-149"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies login information is required.
MSG_NON_SPECIFIC_ERROR | 상수 |
protected static const MSG_NON_SPECIFIC_ERROR:String = "ALC-WKS-007-000"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies a non-specific error occurred.
MSG_SERVER_BAD_CREDENTIALS | 상수 |
protected static const MSG_SERVER_BAD_CREDENTIALS:String = "ALC-WKS-005-000"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies a server-side error identifier for bad credentials.
SESSION_KEY | 상수 |
public static const SESSION_KEY:String = "lc.foundation.ISessionManager"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
런타임 버전: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies the manager key name in the SessionMap
object.
Tue Jun 12 2018, 03:17 PM Z