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 intSTATUS_ACTION_NOT_FOUNDstatic intSTATUS_CLIENT_NOT_FOUNDstatic intSTATUS_DUPLICATE_ARGUMENTstatic intSTATUS_EPTID_MISMATCHstatic intSTATUS_IDP_SAVE_FAILEDstatic intSTATUS_IDP_UPDATEDstatic intSTATUS_INTERNAL_ERRORstatic intSTATUS_MALFORMED_INPUTstatic intSTATUS_MISSING_ARGUMENTstatic intSTATUS_NEW_USERstatic intSTATUS_NO_IDENTITY_PROVIDERstatic intSTATUS_NO_REMOTE_USERstatic intSTATUS_OKstatic intSTATUS_PAIRWISE_ID_MISMATCHstatic intSTATUS_SAVE_IDP_FAILEDstatic intSTATUS_SUBJECT_ID_MISMATCHstatic intSTATUS_TRANSACTION_NOT_FOUNDstatic intSTATUS_USER_EXISTSstatic intSTATUS_USER_EXISTS_ERRORstatic intSTATUS_USER_NOT_FOUNDstatic intSTATUS_USER_NOT_FOUND_ERRORstatic intSTATUS_USER_SERIAL_STRING_UPDATED
-
Constructor Summary
Constructors Constructor Description StatusCodes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetMessage(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_IDP_UPDATED
public static final int STATUS_IDP_UPDATED
- 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:
-
-