org.granite.messaging.service.security
Class SecurityServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.granite.messaging.service.ServiceException
org.granite.messaging.service.security.SecurityServiceException
- All Implemented Interfaces:
- Serializable
public class SecurityServiceException
- extends ServiceException
- Author:
- Franck WOLFF
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CODE_INVALID_CREDENTIALS
public static String CODE_INVALID_CREDENTIALS
- Code for invalid credentails (wrong username or password)
CODE_AUTHENTICATION_FAILED
public static String CODE_AUTHENTICATION_FAILED
- Code for other types of authentication errors
CODE_NOT_LOGGED_IN
public static String CODE_NOT_LOGGED_IN
- Code for illegal access to a service or method that requires authentication
CODE_SESSION_EXPIRED
public static String CODE_SESSION_EXPIRED
- Code for user session timeout
CODE_ACCESS_DENIED
public static String CODE_ACCESS_DENIED
- Code for illegal access to a service or method that requires special role or profile
SecurityServiceException
public SecurityServiceException(String code)
SecurityServiceException
public SecurityServiceException(String code,
String message)
SecurityServiceException
public SecurityServiceException(String code,
String message,
String details)
newInvalidCredentialsException
public static SecurityServiceException newInvalidCredentialsException()
newInvalidCredentialsException
public static SecurityServiceException newInvalidCredentialsException(String message)
newInvalidCredentialsException
public static SecurityServiceException newInvalidCredentialsException(String message,
String details)
newAuthenticationFailedException
public static SecurityServiceException newAuthenticationFailedException(String message)
newNotLoggedInException
public static SecurityServiceException newNotLoggedInException()
newNotLoggedInException
public static SecurityServiceException newNotLoggedInException(String message)
newNotLoggedInException
public static SecurityServiceException newNotLoggedInException(String message,
String details)
newSessionExpiredException
public static SecurityServiceException newSessionExpiredException()
newSessionExpiredException
public static SecurityServiceException newSessionExpiredException(String message)
newSessionExpiredException
public static SecurityServiceException newSessionExpiredException(String message,
String details)
newAccessDeniedException
public static SecurityServiceException newAccessDeniedException()
newAccessDeniedException
public static SecurityServiceException newAccessDeniedException(String message)
newAccessDeniedException
public static SecurityServiceException newAccessDeniedException(String message,
String details)