org.eclipse.stardust.common.error
Class LoginFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.stardust.common.error.ApplicationException
                  extended by org.eclipse.stardust.common.error.PublicException
                      extended by org.eclipse.stardust.common.error.LoginFailedException
All Implemented Interfaces:
Serializable

public class LoginFailedException
extends PublicException

This exception is thrown by the authentication framework due to various exceptions. Always carries a reason code as an integer

Version:
$Revision$
Author:
swoelk
See Also:
Serialized Form

Field Summary
static int ACCOUNT_EXPIRED
           
static int AUTHORIZATION_FAILURE
          Thrown, e.g.
static int DISABLED_USER
           
static int INVALID_PASSWORD
           
static int INVALID_USER
           
static int LOGIN_CANCELLED
           
static int MAXIMUM_NUMBER_OF_RETRIES_EXCEEDED
           
static int PASSWORD_EXPIRED
           
static int SYSTEM_ERROR
           
static int UNKNOWN_DOMAIN
           
static int UNKNOWN_PARTITION
           
static int UNKNOWN_REALM
           
static int UNKNOWN_REASON
           
 
Constructor Summary
LoginFailedException(ErrorCase errorCase, int reason)
           
LoginFailedException(String message, int reason)
          Deprecated.  
 
Method Summary
 int getReason()
           
 
Methods inherited from class org.eclipse.stardust.common.error.ApplicationException
getError, getInner, getLocalizedMessage, isLogged, setLogged, setResourceBundle
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAXIMUM_NUMBER_OF_RETRIES_EXCEEDED

public static final int MAXIMUM_NUMBER_OF_RETRIES_EXCEEDED
See Also:
Constant Field Values

INVALID_PASSWORD

public static final int INVALID_PASSWORD
See Also:
Constant Field Values

INVALID_USER

public static final int INVALID_USER
See Also:
Constant Field Values

UNKNOWN_REALM

public static final int UNKNOWN_REALM
See Also:
Constant Field Values

UNKNOWN_DOMAIN

public static final int UNKNOWN_DOMAIN
See Also:
Constant Field Values

UNKNOWN_PARTITION

public static final int UNKNOWN_PARTITION
See Also:
Constant Field Values

PASSWORD_EXPIRED

public static final int PASSWORD_EXPIRED
See Also:
Constant Field Values

DISABLED_USER

public static final int DISABLED_USER
See Also:
Constant Field Values

AUTHORIZATION_FAILURE

public static final int AUTHORIZATION_FAILURE
Thrown, e.g. if the login expects the login user to be administrator and the login user is not assigned to this role.

See Also:
Constant Field Values

ACCOUNT_EXPIRED

public static final int ACCOUNT_EXPIRED
See Also:
Constant Field Values

LOGIN_CANCELLED

public static final int LOGIN_CANCELLED
See Also:
Constant Field Values

SYSTEM_ERROR

public static final int SYSTEM_ERROR
See Also:
Constant Field Values

UNKNOWN_REASON

public static final int UNKNOWN_REASON
See Also:
Constant Field Values
Constructor Detail

LoginFailedException

public LoginFailedException(String message,
                            int reason)
Deprecated. 


LoginFailedException

public LoginFailedException(ErrorCase errorCase,
                            int reason)
Method Detail

getReason

public int getReason()


Copyright © 2017 Eclipse Stardust. All Rights Reserved.