Package org.cilogon.oauth2.servlet
Class StatusCodes
- java.lang.Object
-
- org.cilogon.oauth2.servlet.StatusCodes
-
public class StatusCodes extends Object
Lookup utility relating codes to human-readable error messageCreated by Jeff Gaynor
on 1/28/21 at 6:56 AM
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_ACTION_NOT_FOUND
static int
STATUS_CLIENT_NOT_FOUND
static int
STATUS_DUPLICATE_ARGUMENT
static int
STATUS_EPTID_MISMATCH
static int
STATUS_IDP_SAVE_FAILED
static int
STATUS_INTERNAL_ERROR
static int
STATUS_MALFORMED_INPUT
static int
STATUS_MISSING_ARGUMENT
static int
STATUS_NEW_USER
static int
STATUS_NO_IDENTITY_PROVIDER
static int
STATUS_NO_REMOTE_USER
static int
STATUS_OK
static int
STATUS_PAIRWISE_ID_MISMATCH
static int
STATUS_SAVE_IDP_FAILED
static int
STATUS_SUBJECT_ID_MISMATCH
static int
STATUS_TRANSACTION_NOT_FOUND
static int
STATUS_USER_EXISTS
static int
STATUS_USER_EXISTS_ERROR
static int
STATUS_USER_NOT_FOUND
static int
STATUS_USER_NOT_FOUND_ERROR
static int
STATUS_USER_SERIAL_STRING_UPDATED
-
Constructor Summary
Constructors Constructor Description StatusCodes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getMessage(int status)
Gets the preset CILogon error description from the DB Service error status.
-
-
-
Field Detail
-
STATUS_OK
public static final int STATUS_OK
- See Also:
- Constant Field Values
-
STATUS_ACTION_NOT_FOUND
public static final int STATUS_ACTION_NOT_FOUND
- See Also:
- Constant Field Values
-
STATUS_NEW_USER
public static final int STATUS_NEW_USER
- See Also:
- Constant Field Values
-
STATUS_USER_SERIAL_STRING_UPDATED
public static final int STATUS_USER_SERIAL_STRING_UPDATED
- See Also:
- Constant Field Values
-
STATUS_USER_NOT_FOUND
public static final int STATUS_USER_NOT_FOUND
- See Also:
- Constant Field Values
-
STATUS_USER_EXISTS
public static final int STATUS_USER_EXISTS
- See Also:
- Constant Field Values
-
STATUS_USER_EXISTS_ERROR
public static final int STATUS_USER_EXISTS_ERROR
- See Also:
- Constant Field Values
-
STATUS_USER_NOT_FOUND_ERROR
public static final int STATUS_USER_NOT_FOUND_ERROR
- See Also:
- Constant Field Values
-
STATUS_TRANSACTION_NOT_FOUND
public static final int STATUS_TRANSACTION_NOT_FOUND
- See Also:
- Constant Field Values
-
STATUS_IDP_SAVE_FAILED
public static final int STATUS_IDP_SAVE_FAILED
- See Also:
- Constant Field Values
-
STATUS_DUPLICATE_ARGUMENT
public static final int STATUS_DUPLICATE_ARGUMENT
- See Also:
- Constant Field Values
-
STATUS_INTERNAL_ERROR
public static final int STATUS_INTERNAL_ERROR
- See Also:
- Constant Field Values
-
STATUS_SAVE_IDP_FAILED
public static final int STATUS_SAVE_IDP_FAILED
- See Also:
- Constant Field Values
-
STATUS_MALFORMED_INPUT
public static final int STATUS_MALFORMED_INPUT
- See Also:
- Constant Field Values
-
STATUS_MISSING_ARGUMENT
public static final int STATUS_MISSING_ARGUMENT
- See Also:
- Constant Field Values
-
STATUS_NO_REMOTE_USER
public static final int STATUS_NO_REMOTE_USER
- See Also:
- Constant Field Values
-
STATUS_NO_IDENTITY_PROVIDER
public static final int STATUS_NO_IDENTITY_PROVIDER
- See Also:
- Constant Field Values
-
STATUS_CLIENT_NOT_FOUND
public static final int STATUS_CLIENT_NOT_FOUND
- See Also:
- Constant Field Values
-
STATUS_EPTID_MISMATCH
public static final int STATUS_EPTID_MISMATCH
- See Also:
- Constant Field Values
-
STATUS_PAIRWISE_ID_MISMATCH
public static final int STATUS_PAIRWISE_ID_MISMATCH
- See Also:
- Constant Field Values
-
STATUS_SUBJECT_ID_MISMATCH
public static final int STATUS_SUBJECT_ID_MISMATCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessage
public static String getMessage(int status)
Gets the preset CILogon error description from the DB Service error status.- Parameters:
status
-- Returns:
-
-