| Package | lc.core |
| Interface | public interface ISessionManager extends IEventDispatcher |
| Implementors | SessionManager |
ISessionManager interface is implemented to expose operations and properties related
to the LiveCycle ES server session. You implement this interface to authenticate a user and provide
the session that is required for all other server operations.
| Property | Defined By | ||
|---|---|---|---|
| authenticatedUser : User
The authenticated user, which will valid after the successful
call using the login or singleSignOn methods.
| ISessionManager | ||
| buildDate : String
[read-only]
The build date.
| ISessionManager | ||
| buildNumber : String
[read-only]
The build number.
| ISessionManager | ||
| faultHandler : Function
The default fault handler function.
| ISessionManager | ||
| remotingChannelSet : ChannelSet
[read-only] A ChannelSet object that is appropriate for use with LiveCycle Remoting.
| ISessionManager | ||
| serverUrl : String
[read-only]
The server address, as a URL, for the server session.
| ISessionManager | ||
| userAssertion : String
[read-only]
The SAML assertion data that can be used to pass authentication to
LiveCycle Data Services ES.
| ISessionManager | ||
| Method | Defined By | ||
|---|---|---|---|
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event.
| IEventDispatcher | |
![]() |
Dispatches an event into the event flow.
| IEventDispatcher | |
|
Retrieves a RemoteObject object
configured with the authenticated user's credentials for invoking
the specified LiveCycle Remoting endpoint.
| ISessionManager | ||
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event.
| IEventDispatcher | |
|
Logs in to the server, authenticating the user.
| ISessionManager | ||
|
Logs off the server, which invalidates the server session.
| ISessionManager | ||
![]() |
Removes a listener from the EventDispatcher object.
| IEventDispatcher | |
|
Determines whether an authenticated session to the server already
exists or can be established without additional information (for example, in single sign-on (SSO) scenarios).
| ISessionManager | ||
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| IEventDispatcher | |
| authenticatedUser | property |
authenticatedUser:User [read-write]
The authenticated user, which will valid after the successful
call using the login or singleSignOn methods.
public function get authenticatedUser():User
public function set authenticatedUser(value:User):void
| buildDate | property |
| buildNumber | property |
buildNumber:String [read-only] The build number.
public function get buildNumber():String
| faultHandler | property |
faultHandler:Function [read-write]
The default fault handler function. The function must take a single
parameter of type WorkspaceFaultEvent. Note that all LiveCycle Workspace ES API fault events
will be dispatched to this function, not just the events from the
ISessionManager implementation.
public function get faultHandler():Function
public function set faultHandler(value:Function):void
| remotingChannelSet | property |
remotingChannelSet:ChannelSet [read-only] A ChannelSet object that is appropriate for use with LiveCycle Remoting.
Generally using the getRemotingEndpoint method is more convenient.
public function get remotingChannelSet():ChannelSet
See also
| serverUrl | property |
serverUrl:String [read-only] The server address, as a URL, for the server session.
public function get serverUrl():String
| userAssertion | property |
userAssertion:String [read-only] The SAML assertion data that can be used to pass authentication to LiveCycle Data Services ES.
public function get userAssertion():String
| getRemotingEndpoint | () | method |
public function getRemotingEndpoint(endpointName:String):RemoteObject
Retrieves a RemoteObject object
configured with the authenticated user's credentials for invoking
the specified LiveCycle Remoting endpoint. Successful authentication
is a prerequisite.
Parameters
endpointName:String — Specifies the name of the LiveCycle Remoting endpoint.
|
RemoteObject — A RemoteObject object configured to invoke the specified process as the
currently authenticated user.
|
| login | () | method |
public function login(userid:String, password:String):Token
Logs in to the server, authenticating the user.
Parameters
userid:String |
|
password:String |
Token — A token used to set result and fault handlers to be called when the
operation has completed.
|
| logout | () | method |
public function logout():Token
Logs off the server, which invalidates the server session.
ReturnsToken — A token used to set result and fault handlers to be called when the
operation has completed.
|
| singleSignOn | () | method |
public function singleSignOn():Token
Determines whether an authenticated session to the server already exists or can be established without additional information (for example, in single sign-on (SSO) scenarios). If an authenticated session is established, the server session will be valid and the result handler on the returned token will be called. If a session is not established, the fault handler will be called.
ReturnsToken — A token used to set result and fault handlers to be called when the operation has completed.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/core/ISessionManager.html