|
14 | 14 | // KIND, either express or implied. See the License for the |
15 | 15 | // specific language governing permissions and limitations |
16 | 16 | // under the License. |
17 | | -package com.cloud.agent.resource.consoleproxy; |
18 | | - |
19 | | -public class ConsoleProxyAuthenticationResult { |
20 | | - private boolean success; |
21 | | - private boolean isReauthentication; |
22 | | - private String host; |
23 | | - private int port; |
24 | | - private String tunnelUrl; |
25 | | - private String tunnelSession; |
26 | | - |
27 | | - public ConsoleProxyAuthenticationResult() { |
28 | | - success = false; |
29 | | - isReauthentication = false; |
30 | | - port = 0; |
31 | | - } |
32 | | - |
33 | | - public boolean isSuccess() { |
34 | | - return success; |
35 | | - } |
36 | | - |
37 | | - public void setSuccess(boolean success) { |
38 | | - this.success = success; |
39 | | - } |
40 | | - |
41 | | - public boolean isReauthentication() { |
42 | | - return isReauthentication; |
43 | | - } |
44 | | - |
45 | | - public void setReauthentication(boolean isReauthentication) { |
46 | | - this.isReauthentication = isReauthentication; |
47 | | - } |
48 | | - |
49 | | - public String getHost() { |
50 | | - return host; |
51 | | - } |
52 | | - |
53 | | - public void setHost(String host) { |
54 | | - this.host = host; |
55 | | - } |
56 | | - |
57 | | - public int getPort() { |
58 | | - return port; |
59 | | - } |
60 | | - |
61 | | - public void setPort(int port) { |
62 | | - this.port = port; |
63 | | - } |
64 | | - |
65 | | - public String getTunnelUrl() { |
66 | | - return tunnelUrl; |
67 | | - } |
68 | | - |
69 | | - public void setTunnelUrl(String tunnelUrl) { |
70 | | - this.tunnelUrl = tunnelUrl; |
71 | | - } |
72 | | - |
73 | | - public String getTunnelSession() { |
74 | | - return tunnelSession; |
75 | | - } |
76 | | - |
77 | | - public void setTunnelSession(String tunnelSession) { |
78 | | - this.tunnelSession = tunnelSession; |
79 | | - } |
80 | | -} |
| 17 | +package com.cloud.agent.resource.consoleproxy; |
| 18 | + |
| 19 | +public class ConsoleProxyAuthenticationResult { |
| 20 | + private boolean success; |
| 21 | + private boolean isReauthentication; |
| 22 | + private String host; |
| 23 | + private int port; |
| 24 | + private String tunnelUrl; |
| 25 | + private String tunnelSession; |
| 26 | + |
| 27 | + public ConsoleProxyAuthenticationResult() { |
| 28 | + success = false; |
| 29 | + isReauthentication = false; |
| 30 | + port = 0; |
| 31 | + } |
| 32 | + |
| 33 | + public boolean isSuccess() { |
| 34 | + return success; |
| 35 | + } |
| 36 | + |
| 37 | + public void setSuccess(boolean success) { |
| 38 | + this.success = success; |
| 39 | + } |
| 40 | + |
| 41 | + public boolean isReauthentication() { |
| 42 | + return isReauthentication; |
| 43 | + } |
| 44 | + |
| 45 | + public void setReauthentication(boolean isReauthentication) { |
| 46 | + this.isReauthentication = isReauthentication; |
| 47 | + } |
| 48 | + |
| 49 | + public String getHost() { |
| 50 | + return host; |
| 51 | + } |
| 52 | + |
| 53 | + public void setHost(String host) { |
| 54 | + this.host = host; |
| 55 | + } |
| 56 | + |
| 57 | + public int getPort() { |
| 58 | + return port; |
| 59 | + } |
| 60 | + |
| 61 | + public void setPort(int port) { |
| 62 | + this.port = port; |
| 63 | + } |
| 64 | + |
| 65 | + public String getTunnelUrl() { |
| 66 | + return tunnelUrl; |
| 67 | + } |
| 68 | + |
| 69 | + public void setTunnelUrl(String tunnelUrl) { |
| 70 | + this.tunnelUrl = tunnelUrl; |
| 71 | + } |
| 72 | + |
| 73 | + public String getTunnelSession() { |
| 74 | + return tunnelSession; |
| 75 | + } |
| 76 | + |
| 77 | + public void setTunnelSession(String tunnelSession) { |
| 78 | + this.tunnelSession = tunnelSession; |
| 79 | + } |
| 80 | +} |
0 commit comments