@@ -25,6 +25,7 @@ public class ServerOptions {
2525 private String loginSecureMessage ;
2626 private String ticketingSystemName ;
2727 private Integer numberOfDaysToKeepServiceRequestExecutions ;
28+ private Boolean enableWindowsAuthentication ;
2829
2930 public HtmlDocumentation getHtmlDocumentation () {
3031 return htmlDocumentation ;
@@ -74,6 +75,14 @@ public void setNumberOfDaysToKeepServiceRequestExecutions(Integer numberOfDaysTo
7475 this .numberOfDaysToKeepServiceRequestExecutions = numberOfDaysToKeepServiceRequestExecutions ;
7576 }
7677
78+ public Boolean getEnableWindowsAuthentication () {
79+ return enableWindowsAuthentication ;
80+ }
81+
82+ public void setEnableWindowsAuthentication (Boolean enableWindowsAuthentication ) {
83+ this .enableWindowsAuthentication = enableWindowsAuthentication ;
84+ }
85+
7786 @ Override
7887 public boolean equals (Object o ) {
7988 if (this == o )
@@ -86,12 +95,13 @@ public boolean equals(Object o) {
8695 Objects .equals (visionSettings , that .visionSettings ) &&
8796 Objects .equals (loginSecureMessage , that .loginSecureMessage ) &&
8897 Objects .equals (ticketingSystemName , that .ticketingSystemName ) &&
89- Objects .equals (numberOfDaysToKeepServiceRequestExecutions , that .numberOfDaysToKeepServiceRequestExecutions );
98+ Objects .equals (numberOfDaysToKeepServiceRequestExecutions , that .numberOfDaysToKeepServiceRequestExecutions ) &&
99+ Objects .equals (enableWindowsAuthentication , that .enableWindowsAuthentication );
90100 }
91101
92102 @ Override
93103 public int hashCode () {
94- return Objects .hash (htmlDocumentation , passwordPolicy , visionSettings , loginSecureMessage , ticketingSystemName , numberOfDaysToKeepServiceRequestExecutions );
104+ return Objects .hash (htmlDocumentation , passwordPolicy , visionSettings , loginSecureMessage , ticketingSystemName , numberOfDaysToKeepServiceRequestExecutions , enableWindowsAuthentication );
95105 }
96106
97107 public static class HtmlDocumentation {
@@ -175,6 +185,9 @@ public static class PasswordPolicy {
175185 private Integer daysBeforeExpirationToWarn ;
176186 private Integer numberOfPasswordsToRetain ;
177187 private Integer attemptsBeforeAccountLock ;
188+ private Integer minimumNumberOfLowerCaseCharacters ;
189+ private Integer minimumNumberOfUpperCaseCharacters ;
190+ private Integer minimumNumberOfDaysToChangePassword ;
178191
179192 public Integer getMinimumCharacters () {
180193 return minimumCharacters ;
@@ -248,47 +261,54 @@ public void setAttemptsBeforeAccountLock(Integer attemptsBeforeAccountLock) {
248261 this .attemptsBeforeAccountLock = attemptsBeforeAccountLock ;
249262 }
250263
264+ public Integer getMinimumNumberOfLowerCaseCharacters () {
265+ return minimumNumberOfLowerCaseCharacters ;
266+ }
267+
268+ public void setMinimumNumberOfLowerCaseCharacters (Integer minimumNumberOfLowerCaseCharacters ) {
269+ this .minimumNumberOfLowerCaseCharacters = minimumNumberOfLowerCaseCharacters ;
270+ }
271+
272+ public Integer getMinimumNumberOfUpperCaseCharacters () {
273+ return minimumNumberOfUpperCaseCharacters ;
274+ }
275+
276+ public void setMinimumNumberOfUpperCaseCharacters (Integer minimumNumberOfUpperCaseCharacters ) {
277+ this .minimumNumberOfUpperCaseCharacters = minimumNumberOfUpperCaseCharacters ;
278+ }
279+
280+ public Integer getMinimumNumberOfDaysToChangePassword () {
281+ return minimumNumberOfDaysToChangePassword ;
282+ }
283+
284+ public void setMinimumNumberOfDaysToChangePassword (Integer minimumNumberOfDaysToChangePassword ) {
285+ this .minimumNumberOfDaysToChangePassword = minimumNumberOfDaysToChangePassword ;
286+ }
287+
251288 @ Override
252289 public boolean equals (Object o ) {
253290 if (this == o )
254291 return true ;
255292 if (o == null || getClass () != o .getClass ())
256293 return false ;
257-
258294 PasswordPolicy that = (PasswordPolicy ) o ;
259-
260- if (minimumCharacters != null ? !minimumCharacters .equals (that .minimumCharacters ) : that .minimumCharacters != null )
261- return false ;
262- if (numericRequired != null ? !numericRequired .equals (that .numericRequired ) : that .numericRequired != null )
263- return false ;
264- if (alphaRequired != null ? !alphaRequired .equals (that .alphaRequired ) : that .alphaRequired != null )
265- return false ;
266- if (specialCharacterRequired != null ? !specialCharacterRequired .equals (that .specialCharacterRequired ) : that .specialCharacterRequired != null )
267- return false ;
268- if (repeatedCharacterOccurrencesAllowed != null ? !repeatedCharacterOccurrencesAllowed .equals (that .repeatedCharacterOccurrencesAllowed ) : that .repeatedCharacterOccurrencesAllowed != null )
269- return false ;
270- if (daysValid != null ? !daysValid .equals (that .daysValid ) : that .daysValid != null )
271- return false ;
272- if (daysBeforeExpirationToWarn != null ? !daysBeforeExpirationToWarn .equals (that .daysBeforeExpirationToWarn ) : that .daysBeforeExpirationToWarn != null )
273- return false ;
274- if (numberOfPasswordsToRetain != null ? !numberOfPasswordsToRetain .equals (that .numberOfPasswordsToRetain ) : that .numberOfPasswordsToRetain != null )
275- return false ;
276- return attemptsBeforeAccountLock != null ? attemptsBeforeAccountLock .equals (that .attemptsBeforeAccountLock ) : that .attemptsBeforeAccountLock == null ;
277-
295+ return Objects .equals (minimumCharacters , that .minimumCharacters ) &&
296+ Objects .equals (numericRequired , that .numericRequired ) &&
297+ Objects .equals (alphaRequired , that .alphaRequired ) &&
298+ Objects .equals (specialCharacterRequired , that .specialCharacterRequired ) &&
299+ Objects .equals (repeatedCharacterOccurrencesAllowed , that .repeatedCharacterOccurrencesAllowed ) &&
300+ Objects .equals (daysValid , that .daysValid ) &&
301+ Objects .equals (daysBeforeExpirationToWarn , that .daysBeforeExpirationToWarn ) &&
302+ Objects .equals (numberOfPasswordsToRetain , that .numberOfPasswordsToRetain ) &&
303+ Objects .equals (attemptsBeforeAccountLock , that .attemptsBeforeAccountLock ) &&
304+ Objects .equals (minimumNumberOfLowerCaseCharacters , that .minimumNumberOfLowerCaseCharacters ) &&
305+ Objects .equals (minimumNumberOfUpperCaseCharacters , that .minimumNumberOfUpperCaseCharacters ) &&
306+ Objects .equals (minimumNumberOfDaysToChangePassword , that .minimumNumberOfDaysToChangePassword );
278307 }
279308
280309 @ Override
281310 public int hashCode () {
282- int result = minimumCharacters != null ? minimumCharacters .hashCode () : 0 ;
283- result = 31 * result + (numericRequired != null ? numericRequired .hashCode () : 0 );
284- result = 31 * result + (alphaRequired != null ? alphaRequired .hashCode () : 0 );
285- result = 31 * result + (specialCharacterRequired != null ? specialCharacterRequired .hashCode () : 0 );
286- result = 31 * result + (repeatedCharacterOccurrencesAllowed != null ? repeatedCharacterOccurrencesAllowed .hashCode () : 0 );
287- result = 31 * result + (daysValid != null ? daysValid .hashCode () : 0 );
288- result = 31 * result + (daysBeforeExpirationToWarn != null ? daysBeforeExpirationToWarn .hashCode () : 0 );
289- result = 31 * result + (numberOfPasswordsToRetain != null ? numberOfPasswordsToRetain .hashCode () : 0 );
290- result = 31 * result + (attemptsBeforeAccountLock != null ? attemptsBeforeAccountLock .hashCode () : 0 );
291- return result ;
311+ return Objects .hash (minimumCharacters , numericRequired , alphaRequired , specialCharacterRequired , repeatedCharacterOccurrencesAllowed , daysValid , daysBeforeExpirationToWarn , numberOfPasswordsToRetain , attemptsBeforeAccountLock , minimumNumberOfLowerCaseCharacters , minimumNumberOfUpperCaseCharacters , minimumNumberOfDaysToChangePassword );
292312 }
293313 }
294314
@@ -345,4 +365,4 @@ public int hashCode() {
345365 return Objects .hash (getVisionPastProcessingDays (), getVisionFutureProcessingDays (), getVisionHistoryDaysToKeep ());
346366 }
347367 }
348- }
368+ }
0 commit comments