Paquete | com.adobe.livecycle.ria.security.api |
Clase | public class AuthenticationEvent |
Herencia | AuthenticationEvent Event Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
AuthenticationEvent
objects are dispatched by the ISecurityManager
class when an authentication
related operation is performed.
Propiedad | Definido por | ||
---|---|---|---|
authResult : IAuthResult [solo lectura]
The authentication result associated with the event. | AuthenticationEvent | ||
bubbles : Boolean [solo lectura]
Indica si un evento es un evento de propagación. | Event | ||
cancelable : Boolean [solo lectura]
Indica si se puede evitar el comportamiento asociado al evento. | Event | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
currentTarget : Object [solo lectura]
Objeto que procesa de forma activa el objeto de evento con un detector de eventos. | Event | ||
eventPhase : uint [solo lectura]
La fase actual en el flujo del evento. | Event | ||
target : Object [solo lectura]
El destino del evento. | Event | ||
type : String [solo lectura]
El tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
AuthenticationEvent(type:String, authResult:IAuthResult = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor. | AuthenticationEvent | ||
Duplica una instancia de la subclase Event. | Event | ||
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0. | Event | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Comprueba si se ha llamado a preventDefault() en el evento. | Event | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo. | Event | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento. | Event | ||
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual. | Event | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve una cadena que contiene todas las propiedades del objeto de evento. | Event | ||
Devuelve el valor simple del objeto especificado. | Object |
Constante | Definido por | ||
---|---|---|---|
AUTHENTICATION_FAILED : String = "FAILED" [estática]
A special value that indicates the type of event that is dispatched when authentication fails using the username and password. | AuthenticationEvent | ||
AUTHENTICATION_REQUIRED : String = "CREDENTIAL_CHALLENGE" [estática]
A special value that indicates the type of event that is dispatched when authentication using single sign-on (SSO) fails. | AuthenticationEvent | ||
AUTHENTICATION_SUCCESS : String = "COMPLETE" [estática]
A special value that indicates that the authentication process was successful. | AuthenticationEvent | ||
LOGOUT_COMPLETE : String = "LOGGED_OUT" [estática]
A special value that indicates the type of event that is dispatched a user logs off. | AuthenticationEvent |
authResult | propiedad |
authResult:IAuthResult
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
The authentication result associated with the event. Depending on the event type, it can provide more details.
Implementación
public function get authResult():IAuthResult
AuthenticationEvent | () | Información sobre |
public function AuthenticationEvent(type:String, authResult:IAuthResult = null, bubbles:Boolean = false, cancelable:Boolean = false)
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
Constructor.
Creates a new AuthenticationEvent
object. The appropriate dynamic properties are created depending on the
event type specified.
type:String — Specifies the event type.
| |
authResult:IAuthResult (default = null ) — Specifies the IAuthResult data related to the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event object participates in the bubbling stage of the event flow.
| |
cancelable:Boolean (default = false ) — Specifies whether the event object can be canceled.
|
AUTHENTICATION_FAILED | Constante |
public static const AUTHENTICATION_FAILED:String = "FAILED"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
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.
AUTHENTICATION_REQUIRED | Constante |
public static const AUTHENTICATION_REQUIRED:String = "CREDENTIAL_CHALLENGE"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
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.
AUTHENTICATION_SUCCESS | Constante |
public static const AUTHENTICATION_SUCCESS:String = "COMPLETE"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
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.
LOGOUT_COMPLETE | Constante |
public static const LOGOUT_COMPLETE:String = "LOGGED_OUT"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
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.
Tue Jun 12 2018, 02:12 PM Z