ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
com.adobe.livecycle.ria.security.api 

ISecurityManager  - AS3 ADEP Security

Paketcom.adobe.livecycle.ria.security.api
Schnittstellepublic interface ISecurityManager extends IEventDispatcher
Umsetzer SecurityManager

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

The ISecurityManager interface provides methods to perform user authentication. The class also provides access to the current user instance.



Öffentliche Eigenschaften
 EigenschaftDefiniert von
  currentUser : IUser
[schreibgeschützt] Current logged in user instance.
ISecurityManager
Öffentliche Methoden
 MethodeDefiniert von
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registriert ein Ereignis-Listener-Objekt bei einem EventDispatcher-Objekt, sodass der Listener über ein Ereignis benachrichtigt wird.
IEventDispatcher
  
configure(securityConfig:SecurityConfig):void
Configures the ISecurityManager instance with the provided configuration information.
ISecurityManager
 Inherited
Sendet ein Ereignis in den Ereignisablauf.
IEventDispatcher
  
Returns a ticket for the current user.
ISecurityManager
 Inherited
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat.
IEventDispatcher
  
Perform authentication with the provided username and password.
ISecurityManager
  
Logs out the current user.
ISecurityManager
  
Initiates the call to perform Authentication for the current user.
ISecurityManager
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Entfernt einen Listener aus dem EventDispatcher-Objekt.
IEventDispatcher
 Inherited
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist.
IEventDispatcher
Ereignisse
 Ereignis Übersicht Definiert von
  The event is dispatched after the authentication process has completed successfully.ISecurityManager
  The event is dispatched when authentication is required.ISecurityManager
  The event is dispatched when an authentication attempt fails.ISecurityManager
  The event is dispatched after a user has been logged out.ISecurityManager
Eigenschaftendetails

currentUser

Eigenschaft
currentUser:IUser  [schreibgeschützt]

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Current logged in user instance. The value is never a null value.

Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange -Ereignis ausgelöst.



Implementierung
    public function get currentUser():IUser
Methodendetails

configure

()Methode
public function configure(securityConfig:SecurityConfig):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Configures the ISecurityManager instance with the provided configuration information.

Parameter

securityConfig:SecurityConfig — Specifies the initial configuration for the SecurityManager service.

getTicket

()Methode 
public function getTicket():com.adobe.gravity.utility.async:IToken

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Returns a ticket for the current user.

Depending on the server setup the ticket can be of type TicketType.SHORT_TICKET or TicketType.PIN. In any case the ticket value would be suitable for use as part of GET request. This method should be used to obtain a ticket for performing authentication in case of file uploads.

In case if TicketType is PIN then client might make a remote call to server to initialize the pin or in case of expired pin get a new pin issued.

Rückgabewerte
com.adobe.gravity.utility.async:IToken — If the call is successful then an instance of ITicket would be passed to the result handler.

Verwandte API-Elemente

login

()Methode 
public function login(username:String, password:String, options:AuthOptions = null):com.adobe.gravity.utility.async:IToken

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Perform authentication with the provided username and password. This method is invoked when the IAuthResult.status obtained from the performSSO property is a value of AuthStatus.AUTHENTICATION_FAILED or AuthStatus.AUTHENTICATION_REQUIRED.

Parameter

username:String — Specifies the user identifier of the user.
 
password:String — Specifies password of the user.
 
options:AuthOptions (default = null) — (Optional)Specifies attributes to control how authentication is performed.

Rückgabewerte
com.adobe.gravity.utility.async:IToken — If the call is successful then an instance of IAuthResult would be passed to the result handler.

Verwandte API-Elemente

logout

()Methode 
public function logout():com.adobe.gravity.utility.async:IToken

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Logs out the current user.

Rückgabewerte
com.adobe.gravity.utility.async:IToken — If the call is successful then an instance of IAuthResult would be passed to the result handler.

performSSO

()Methode 
public function performSSO(options:AuthOptions = null):com.adobe.gravity.utility.async:IToken

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Initiates the call to perform Authentication for the current user.

Parameter

options:AuthOptions (default = null) — (Optional) Specifies an AuthOption instance to control how the authentication is performed.

Rückgabewerte
com.adobe.gravity.utility.async:IToken — A token used to set success and failure handler to be called when the operation is completed. If the call was successful, then an IAuthResult object is passed to the result handler.
Ereignisdetails

COMPLETE

Ereignis
Ereignisobjekttyp: com.adobe.livecycle.ria.security.api.AuthenticationEvent
Eigenschaft AuthenticationEvent.type = com.adobe.livecycle.ria.security.api.AuthenticationEvent.AUTHENTICATION_SUCCESS

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

The event is dispatched after the authentication process has completed successfully.

A special value that indicates that the authentication process was successful. Authentication can be completed using single sign-on (SSO) or a username and password. As a response to this event the application can show the welcome page to the user. An application can validate for permissions and roles to further verify the user is allowed access. As a response to this event, an application would do complete the validation and then display the welcome page.

CREDENTIAL_CHALLENGE

Ereignis  
Ereignisobjekttyp: com.adobe.livecycle.ria.security.api.AuthenticationEvent
Eigenschaft AuthenticationEvent.type = com.adobe.livecycle.ria.security.api.AuthenticationEvent.AUTHENTICATION_REQUIRED

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

The event is dispatched when authentication is required. Authentication is required when an application starts and then detects that user identity is not known and the user has to authenticate.

A special value that indicates the type of event that is dispatched when authentication using single sign-on (SSO) fails. When SSO fails, the user's username and password is required for authentication. As a response to this event, an application can display the login page to the user.

FAILED

Ereignis  
Ereignisobjekttyp: com.adobe.livecycle.ria.security.api.AuthenticationEvent
Eigenschaft AuthenticationEvent.type = com.adobe.livecycle.ria.security.api.AuthenticationEvent.AUTHENTICATION_FAILED

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

The event is dispatched when an authentication attempt fails.

A special value that indicates the type of event that is dispatched when authentication fails using the username and password. As a response to this type of event, an application can show an error message to the user. This event would only happen when authentication is done using username and password and NOT in single sign-on scenario.

LOGGED_OUT

Ereignis  
Ereignisobjekttyp: com.adobe.livecycle.ria.security.api.AuthenticationEvent
Eigenschaft AuthenticationEvent.type = com.adobe.livecycle.ria.security.api.AuthenticationEvent.LOGOUT_COMPLETE

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Security 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

The event is dispatched after a user has been logged out.

A special value that indicates the type of event that is dispatched a user logs off. As a response to this event, an application can display the logout page. The logout page can inform the user that he has been logged out. Alternatively, an application can display the login page to the user.




[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.