public class SecurityServiceException extends ServiceException
| Modifier and Type | Field and Description |
|---|---|
static String |
CODE_ACCESS_DENIED
Code for illegal access to a service or method that requires special role or profile
|
static String |
CODE_AUTHENTICATION_FAILED
Code for other types of authentication errors
|
static String |
CODE_INVALID_CREDENTIALS
Code for invalid credentails (wrong username or password)
|
static String |
CODE_NOT_LOGGED_IN
Code for illegal access to a service or method that requires authentication
|
static String |
CODE_SESSION_EXPIRED
Code for user session timeout
|
| Constructor and Description |
|---|
SecurityServiceException(String code) |
SecurityServiceException(String code,
String message) |
SecurityServiceException(String code,
String message,
String details) |
getCode, getDetail, getExtendedDataaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static String CODE_INVALID_CREDENTIALS
public static String CODE_AUTHENTICATION_FAILED
public static String CODE_NOT_LOGGED_IN
public static String CODE_SESSION_EXPIRED
public static String CODE_ACCESS_DENIED
public SecurityServiceException(String code)
public SecurityServiceException(String code, String message)
public SecurityServiceException(String code, String message, String details)
public static SecurityServiceException newInvalidCredentialsException()
public static SecurityServiceException newInvalidCredentialsException(String message)
public static SecurityServiceException newInvalidCredentialsException(String message, String details)
public static SecurityServiceException newAuthenticationFailedException(String message)
public static SecurityServiceException newNotLoggedInException()
public static SecurityServiceException newNotLoggedInException(String message)
public static SecurityServiceException newNotLoggedInException(String message, String details)
public static SecurityServiceException newSessionExpiredException()
public static SecurityServiceException newSessionExpiredException(String message)
public static SecurityServiceException newSessionExpiredException(String message, String details)
public static SecurityServiceException newAccessDeniedException()
public static SecurityServiceException newAccessDeniedException(String message)
public static SecurityServiceException newAccessDeniedException(String message, String details)