Package | com.adobe.livecycle.ria.security.api |
Class | public class AuthFailureCode |
Inheritance | AuthFailureCode Object |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtime Versions: | AIR 2.6, Flash Player 10.2 |
Client-side code can use these codes to compare against the value returned by IAuthResult.failureCode
and then display the appropriate message to the user.
Related API Elements
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Method | Defined By | ||
---|---|---|---|
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Constant | Defined By | ||
---|---|---|---|
TOKEN_EXPIRED : String = "TOKEN_EXPIRED" [static]
A special value that indicates that the login token associated with current user session has expired. | AuthFailureCode | ||
UNKNOWN : String = "UNKNOWN" [static]
A special value that indicates that actual cause of failure is unknown. | AuthFailureCode | ||
WRONG_CREDENTIALS : String = "WRONG_CREDENTIALS" [static]
A special value that indicates that credentials provided by the user are incorrect. | AuthFailureCode |
TOKEN_EXPIRED | Constant |
public static const TOKEN_EXPIRED:String = "TOKEN_EXPIRED"
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtime Versions: | AIR 2.6, Flash Player 10.2 |
A special value that indicates that the login token associated with current user session has expired.
This would be the case when a user session has exceeded the session timeout. The Experience Server maintains an expiry time with user session. And if no communication happens between the client and server then the user session would get expired after certain period. This timeout duration is configurable on the server-side.
UNKNOWN | Constant |
public static const UNKNOWN:String = "UNKNOWN"
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtime Versions: | AIR 2.6, Flash Player 10.2 |
A special value that indicates that actual cause of failure is unknown.
WRONG_CREDENTIALS | Constant |
public static const WRONG_CREDENTIALS:String = "WRONG_CREDENTIALS"
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtime Versions: | AIR 2.6, Flash Player 10.2 |
A special value that indicates that credentials provided by the user are incorrect.
This would be the case when user has performed authentication via username and password through
ISecurityManager.login
call and the credentials were found to be invalid.
Thu Dec 4 2014, 05:50 PM -08:00