Skip to content

Package: SsoErrorCodes

SsoErrorCodes

nameinstructionbranchcomplexitylinemethod
static {...}
M: 84 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 9 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2019, 2020 Eurotech and/or its affiliates and others
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech - initial API and implementation
11: *******************************************************************************/
12: package org.eclipse.kapua.sso.exception;
13:
14: import org.eclipse.kapua.KapuaErrorCode;
15:
16:
17: public enum SsoErrorCodes implements KapuaErrorCode {
18:
19: /**
20: * An error occurred while building the SSO login URI.
21: *
22: * @since 1.2.0
23: */
24: LOGIN_URI_ERROR,
25:
26: /**
27: * An error occurred while building the SSO logout URI.
28: *
29: * @since 1.2.0
30: */
31: LOGOUT_URI_ERROR,
32:
33: /**
34: * An error occurred while getting the access token.
35: *
36: * @since 1.2.0
37: */
38: ACCESS_TOKEN_ERROR,
39:
40: /**
41: * An error occurred while extracting the Jwt.
42: *
43: * @since 1.2.0
44: */
45: JWT_EXTRACTION_ERROR,
46:
47: /**
48: * An error occurred while processing the Jwt.
49: *
50: * @since 1.2.0
51: */
52: JWT_PROCESS_ERROR,
53:
54: /**
55: * An error occurred while retrieving the SSO Jwt URI.
56: *
57: * @since 1.2.0
58: */
59: JWT_URI_ERROR,
60:
61: /**
62: * Illegal argument
63: *
64: * @since 1.2.0
65: */
66: ILLEGAL_ARGUMENT,
67:
68: /**
69: * Illegal URI
70: *
71: * @since 1.2.0
72: */
73: ILLEGAL_URI
74:
75: }