Packagecom.adobe.rtc.authentication
Classpublic class LocalAuthenticator
InheritanceLocalAuthenticator Inheritance AbstractAuthenticator Inheritance flash.events.EventDispatcher

LocalAuthenticator is a development-only authenticator for use with the LocalConnectionServer which enables offline development of AFCS applications. With the exception of streaming components (i.e. Audio and Webcam components), most AFCS components work with LocalConnectionServer. To use this class, install and run the SDK's LocalConnectionServer.air application located in the "extras" directory. LocalConnectionServer.air must be running before using this class.

Note that modifying an application to work with the LocalConnectionServer simply involves replacing AdobeHSAuthenticator with LocalAuthenticator. For a working example, see LocalConnection in the SDK's "examples" directory.

Using LocalAuthenticator to develop applications with the local server tool
  <rtc:LocalAuthenticator id="auth" userName="AnyArbitraryName"  />
    <rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%" height="100%" >
    <mx:VBox width="100%" height="100%" >
     <rtc:Note width="100%" height="100%" />
     <rtc:SimpleChat width="100%" height="100%" />
    </mx:VBox>
  </rtc:ConnectSessionContainer>

See also

com.adobe.rtc.session.IConnectSession


Public Properties
 PropertyDefined by
 InheritedauthenticationKey : String
For applications that leverage AFCS's external authentication capabilities, authenticationKey is used to receive a unique, signed string created from the developer's shared secret and the user's username, password, and role.
AbstractAuthenticator
 InheritedauthenticationURL : String
Allows a developer to specify the URL of a AFCS-compatible authentication service; it is not needed for many applications.
AbstractAuthenticator
 InheritedisGuest : Boolean
isGuest returns whether or not the supplied parameters require that the user be admitted as a guest only.
AbstractAuthenticator
 Inheritedpassword : String
password is only required when Adobe IDs are used; therefore, it is likely that only developers would need this parameter except during development.
AbstractAuthenticator
 InheriteduserName : String
When authenticationKey is not used, userName is required upon room entry; when a someone enters as a guest, the name becomes the user's display name.
AbstractAuthenticator
Public Methods
 MethodDefined by
  
LocalAuthenticator
Events
 EventSummaryDefined by
 Inherited Dispatched if user log in fails.AbstractAuthenticator
 Inherited Dispatched after user log in succeeds.AbstractAuthenticator
Constructor detail
LocalAuthenticator()constructor
public function LocalAuthenticator()




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/authentication/LocalAuthenticator.html