Paket | com.adobe.livecycle.ria.security.api |
Klass | public class AuthenticationEvent |
Arv | AuthenticationEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
AuthenticationEvent
objects are dispatched by the ISecurityManager
class when an authentication
related operation is performed.
Egenskap | Definieras med | ||
---|---|---|---|
authResult : IAuthResult [skrivskyddad]
The authentication result associated with the event. | AuthenticationEvent | ||
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
AuthenticationEvent(type:String, authResult:IAuthResult = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor. | AuthenticationEvent | ||
Skapar ett duplikat av en instans av en Event-underklass. | Event | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar en sträng som innehåller alla egenskaper i Event-objektet. | Event | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
AUTHENTICATION_FAILED : String = "FAILED" [statisk]
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" [statisk]
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" [statisk]
A special value that indicates that the authentication process was successful. | AuthenticationEvent | ||
LOGOUT_COMPLETE : String = "LOGGED_OUT" [statisk]
A special value that indicates the type of event that is dispatched a user logs off. | AuthenticationEvent |
authResult | egenskap |
authResult:IAuthResult
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The authentication result associated with the event. Depending on the event type, it can provide more details.
Implementering
public function get authResult():IAuthResult
AuthenticationEvent | () | Konstruktor |
public function AuthenticationEvent(type:String, authResult:IAuthResult = null, bubbles:Boolean = false, cancelable:Boolean = false)
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | 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 | Konstant |
public static const AUTHENTICATION_FAILED:String = "FAILED"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | 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 | Konstant |
public static const AUTHENTICATION_REQUIRED:String = "CREDENTIAL_CHALLENGE"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | 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 | Konstant |
public static const AUTHENTICATION_SUCCESS:String = "COMPLETE"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | 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 | Konstant |
public static const LOGOUT_COMPLETE:String = "LOGGED_OUT"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | 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, 01:40 PM Z