1 package org.metricshub.ipmi.core.coding.commands.session;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 import java.util.Collection;
26
27 import org.metricshub.ipmi.core.coding.commands.ResponseData;
28 import org.metricshub.ipmi.core.coding.protocol.AuthenticationType;
29
30
31
32
33
34
35 public class GetChannelAuthenticationCapabilitiesResponseData implements ResponseData {
36
37
38
39 private byte channelNumber;
40
41
42
43
44 private boolean ipmiv20Support;
45
46
47
48
49 private Collection<AuthenticationType> authenticationTypes;
50
51
52
53
54 private boolean kgEnabled;
55
56
57
58
59
60
61 private boolean perMessageAuthenticationEnabled;
62
63
64
65
66
67 private boolean userLevelAuthenticationEnabled;
68
69
70
71
72 private boolean nonNullUsernamesEnabled;
73
74
75
76
77 private boolean nullUsernamesEnabled;
78
79
80
81
82 private boolean anonymusLoginEnabled;
83
84
85
86
87 private int oemId;
88
89
90
91
92 private byte oemData;
93
94 public void setChannelNumber(byte channelNumber) {
95 this.channelNumber = channelNumber;
96 }
97
98 public byte getChannelNumber() {
99 return channelNumber;
100 }
101
102 public void setIpmiv20Support(boolean ipmiv20Support) {
103 this.ipmiv20Support = ipmiv20Support;
104 }
105
106
107
108
109
110 public boolean isIpmiv20Support() {
111 return ipmiv20Support;
112 }
113
114 public void setAuthenticationTypes(Collection<AuthenticationType> authenticationTypes) {
115 this.authenticationTypes = authenticationTypes;
116 }
117
118 public Collection<AuthenticationType> getAuthenticationTypes() {
119 return authenticationTypes;
120 }
121
122 public void setKgEnabled(boolean kgEnabled) {
123 this.kgEnabled = kgEnabled;
124 }
125
126 public boolean isKgEnabled() {
127 return kgEnabled;
128 }
129
130 public void setPerMessageAuthenticationEnabled(boolean perMessageAuthenticationEnabled) {
131 this.perMessageAuthenticationEnabled = perMessageAuthenticationEnabled;
132 }
133
134 public boolean isPerMessageAuthenticationEnabled() {
135 return perMessageAuthenticationEnabled;
136 }
137
138 public void setUserLevelAuthenticationEnabled(boolean userLevelAuthenticationEnabled) {
139 this.userLevelAuthenticationEnabled = userLevelAuthenticationEnabled;
140 }
141
142 public boolean isUserLevelAuthenticationEnabled() {
143 return userLevelAuthenticationEnabled;
144 }
145
146 public void setNonNullUsernamesEnabled(boolean nonNullUsernamesEnabled) {
147 this.nonNullUsernamesEnabled = nonNullUsernamesEnabled;
148 }
149
150 public boolean isNonNullUsernamesEnabled() {
151 return nonNullUsernamesEnabled;
152 }
153
154 public void setNullUsernamesEnabled(boolean nullUsernamesEnabled) {
155 this.nullUsernamesEnabled = nullUsernamesEnabled;
156 }
157
158 public boolean isNullUsernamesEnabled() {
159 return nullUsernamesEnabled;
160 }
161
162 public void setAnonymusLoginEnabled(boolean anonymusLoginEnabled) {
163 this.anonymusLoginEnabled = anonymusLoginEnabled;
164 }
165
166 public boolean isAnonymusLoginEnabled() {
167 return anonymusLoginEnabled;
168 }
169
170 public void setOemId(int oemId) {
171 this.oemId = oemId;
172 }
173
174 public int getOemId() {
175 return oemId;
176 }
177
178 public void setOemData(byte oemData) {
179 this.oemData = oemData;
180 }
181
182 public byte getOemData() {
183 return oemData;
184 }
185 }