1
14
15 package com.liferay.portal.model.impl;
16
17 import com.liferay.portal.SystemException;
18 import com.liferay.portal.kernel.bean.ReadOnlyBeanHandler;
19 import com.liferay.portal.kernel.util.GetterUtil;
20 import com.liferay.portal.kernel.util.HtmlUtil;
21 import com.liferay.portal.kernel.util.StringBundler;
22 import com.liferay.portal.model.PasswordPolicy;
23 import com.liferay.portal.model.PasswordPolicySoap;
24 import com.liferay.portal.util.PortalUtil;
25
26 import java.io.Serializable;
27
28 import java.lang.reflect.Proxy;
29
30 import java.sql.Types;
31
32 import java.util.ArrayList;
33 import java.util.Date;
34 import java.util.List;
35
36
55 public class PasswordPolicyModelImpl extends BaseModelImpl<PasswordPolicy> {
56 public static final String TABLE_NAME = "PasswordPolicy";
57 public static final Object[][] TABLE_COLUMNS = {
58 { "passwordPolicyId", new Integer(Types.BIGINT) },
59 { "companyId", new Integer(Types.BIGINT) },
60 { "userId", new Integer(Types.BIGINT) },
61 { "userName", new Integer(Types.VARCHAR) },
62 { "createDate", new Integer(Types.TIMESTAMP) },
63 { "modifiedDate", new Integer(Types.TIMESTAMP) },
64 { "defaultPolicy", new Integer(Types.BOOLEAN) },
65 { "name", new Integer(Types.VARCHAR) },
66 { "description", new Integer(Types.VARCHAR) },
67 { "changeable", new Integer(Types.BOOLEAN) },
68 { "changeRequired", new Integer(Types.BOOLEAN) },
69 { "minAge", new Integer(Types.BIGINT) },
70 { "checkSyntax", new Integer(Types.BOOLEAN) },
71 { "allowDictionaryWords", new Integer(Types.BOOLEAN) },
72 { "minLength", new Integer(Types.INTEGER) },
73 { "history", new Integer(Types.BOOLEAN) },
74 { "historyCount", new Integer(Types.INTEGER) },
75 { "expireable", new Integer(Types.BOOLEAN) },
76 { "maxAge", new Integer(Types.BIGINT) },
77 { "warningTime", new Integer(Types.BIGINT) },
78 { "graceLimit", new Integer(Types.INTEGER) },
79 { "lockout", new Integer(Types.BOOLEAN) },
80 { "maxFailure", new Integer(Types.INTEGER) },
81 { "lockoutDuration", new Integer(Types.BIGINT) },
82 { "requireUnlock", new Integer(Types.BOOLEAN) },
83 { "resetFailureCount", new Integer(Types.BIGINT) }
84 };
85 public static final String TABLE_SQL_CREATE = "create table PasswordPolicy (passwordPolicyId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,defaultPolicy BOOLEAN,name VARCHAR(75) null,description STRING null,changeable BOOLEAN,changeRequired BOOLEAN,minAge LONG,checkSyntax BOOLEAN,allowDictionaryWords BOOLEAN,minLength INTEGER,history BOOLEAN,historyCount INTEGER,expireable BOOLEAN,maxAge LONG,warningTime LONG,graceLimit INTEGER,lockout BOOLEAN,maxFailure INTEGER,lockoutDuration LONG,requireUnlock BOOLEAN,resetFailureCount LONG)";
86 public static final String TABLE_SQL_DROP = "drop table PasswordPolicy";
87 public static final String DATA_SOURCE = "liferayDataSource";
88 public static final String SESSION_FACTORY = "liferaySessionFactory";
89 public static final String TX_MANAGER = "liferayTransactionManager";
90 public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
91 "value.object.entity.cache.enabled.com.liferay.portal.model.PasswordPolicy"),
92 true);
93 public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
94 "value.object.finder.cache.enabled.com.liferay.portal.model.PasswordPolicy"),
95 true);
96
97 public static PasswordPolicy toModel(PasswordPolicySoap soapModel) {
98 PasswordPolicy model = new PasswordPolicyImpl();
99
100 model.setPasswordPolicyId(soapModel.getPasswordPolicyId());
101 model.setCompanyId(soapModel.getCompanyId());
102 model.setUserId(soapModel.getUserId());
103 model.setUserName(soapModel.getUserName());
104 model.setCreateDate(soapModel.getCreateDate());
105 model.setModifiedDate(soapModel.getModifiedDate());
106 model.setDefaultPolicy(soapModel.getDefaultPolicy());
107 model.setName(soapModel.getName());
108 model.setDescription(soapModel.getDescription());
109 model.setChangeable(soapModel.getChangeable());
110 model.setChangeRequired(soapModel.getChangeRequired());
111 model.setMinAge(soapModel.getMinAge());
112 model.setCheckSyntax(soapModel.getCheckSyntax());
113 model.setAllowDictionaryWords(soapModel.getAllowDictionaryWords());
114 model.setMinLength(soapModel.getMinLength());
115 model.setHistory(soapModel.getHistory());
116 model.setHistoryCount(soapModel.getHistoryCount());
117 model.setExpireable(soapModel.getExpireable());
118 model.setMaxAge(soapModel.getMaxAge());
119 model.setWarningTime(soapModel.getWarningTime());
120 model.setGraceLimit(soapModel.getGraceLimit());
121 model.setLockout(soapModel.getLockout());
122 model.setMaxFailure(soapModel.getMaxFailure());
123 model.setLockoutDuration(soapModel.getLockoutDuration());
124 model.setRequireUnlock(soapModel.getRequireUnlock());
125 model.setResetFailureCount(soapModel.getResetFailureCount());
126
127 return model;
128 }
129
130 public static List<PasswordPolicy> toModels(PasswordPolicySoap[] soapModels) {
131 List<PasswordPolicy> models = new ArrayList<PasswordPolicy>(soapModels.length);
132
133 for (PasswordPolicySoap soapModel : soapModels) {
134 models.add(toModel(soapModel));
135 }
136
137 return models;
138 }
139
140 public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
141 "lock.expiration.time.com.liferay.portal.model.PasswordPolicy"));
142
143 public PasswordPolicyModelImpl() {
144 }
145
146 public long getPrimaryKey() {
147 return _passwordPolicyId;
148 }
149
150 public void setPrimaryKey(long pk) {
151 setPasswordPolicyId(pk);
152 }
153
154 public Serializable getPrimaryKeyObj() {
155 return new Long(_passwordPolicyId);
156 }
157
158 public long getPasswordPolicyId() {
159 return _passwordPolicyId;
160 }
161
162 public void setPasswordPolicyId(long passwordPolicyId) {
163 _passwordPolicyId = passwordPolicyId;
164 }
165
166 public long getCompanyId() {
167 return _companyId;
168 }
169
170 public void setCompanyId(long companyId) {
171 _companyId = companyId;
172
173 if (!_setOriginalCompanyId) {
174 _setOriginalCompanyId = true;
175
176 _originalCompanyId = companyId;
177 }
178 }
179
180 public long getOriginalCompanyId() {
181 return _originalCompanyId;
182 }
183
184 public long getUserId() {
185 return _userId;
186 }
187
188 public void setUserId(long userId) {
189 _userId = userId;
190 }
191
192 public String getUserUuid() throws SystemException {
193 return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
194 }
195
196 public void setUserUuid(String userUuid) {
197 _userUuid = userUuid;
198 }
199
200 public String getUserName() {
201 return GetterUtil.getString(_userName);
202 }
203
204 public void setUserName(String userName) {
205 _userName = userName;
206 }
207
208 public Date getCreateDate() {
209 return _createDate;
210 }
211
212 public void setCreateDate(Date createDate) {
213 _createDate = createDate;
214 }
215
216 public Date getModifiedDate() {
217 return _modifiedDate;
218 }
219
220 public void setModifiedDate(Date modifiedDate) {
221 _modifiedDate = modifiedDate;
222 }
223
224 public boolean getDefaultPolicy() {
225 return _defaultPolicy;
226 }
227
228 public boolean isDefaultPolicy() {
229 return _defaultPolicy;
230 }
231
232 public void setDefaultPolicy(boolean defaultPolicy) {
233 _defaultPolicy = defaultPolicy;
234
235 if (!_setOriginalDefaultPolicy) {
236 _setOriginalDefaultPolicy = true;
237
238 _originalDefaultPolicy = defaultPolicy;
239 }
240 }
241
242 public boolean getOriginalDefaultPolicy() {
243 return _originalDefaultPolicy;
244 }
245
246 public String getName() {
247 return GetterUtil.getString(_name);
248 }
249
250 public void setName(String name) {
251 _name = name;
252
253 if (_originalName == null) {
254 _originalName = name;
255 }
256 }
257
258 public String getOriginalName() {
259 return GetterUtil.getString(_originalName);
260 }
261
262 public String getDescription() {
263 return GetterUtil.getString(_description);
264 }
265
266 public void setDescription(String description) {
267 _description = description;
268 }
269
270 public boolean getChangeable() {
271 return _changeable;
272 }
273
274 public boolean isChangeable() {
275 return _changeable;
276 }
277
278 public void setChangeable(boolean changeable) {
279 _changeable = changeable;
280 }
281
282 public boolean getChangeRequired() {
283 return _changeRequired;
284 }
285
286 public boolean isChangeRequired() {
287 return _changeRequired;
288 }
289
290 public void setChangeRequired(boolean changeRequired) {
291 _changeRequired = changeRequired;
292 }
293
294 public long getMinAge() {
295 return _minAge;
296 }
297
298 public void setMinAge(long minAge) {
299 _minAge = minAge;
300 }
301
302 public boolean getCheckSyntax() {
303 return _checkSyntax;
304 }
305
306 public boolean isCheckSyntax() {
307 return _checkSyntax;
308 }
309
310 public void setCheckSyntax(boolean checkSyntax) {
311 _checkSyntax = checkSyntax;
312 }
313
314 public boolean getAllowDictionaryWords() {
315 return _allowDictionaryWords;
316 }
317
318 public boolean isAllowDictionaryWords() {
319 return _allowDictionaryWords;
320 }
321
322 public void setAllowDictionaryWords(boolean allowDictionaryWords) {
323 _allowDictionaryWords = allowDictionaryWords;
324 }
325
326 public int getMinLength() {
327 return _minLength;
328 }
329
330 public void setMinLength(int minLength) {
331 _minLength = minLength;
332 }
333
334 public boolean getHistory() {
335 return _history;
336 }
337
338 public boolean isHistory() {
339 return _history;
340 }
341
342 public void setHistory(boolean history) {
343 _history = history;
344 }
345
346 public int getHistoryCount() {
347 return _historyCount;
348 }
349
350 public void setHistoryCount(int historyCount) {
351 _historyCount = historyCount;
352 }
353
354 public boolean getExpireable() {
355 return _expireable;
356 }
357
358 public boolean isExpireable() {
359 return _expireable;
360 }
361
362 public void setExpireable(boolean expireable) {
363 _expireable = expireable;
364 }
365
366 public long getMaxAge() {
367 return _maxAge;
368 }
369
370 public void setMaxAge(long maxAge) {
371 _maxAge = maxAge;
372 }
373
374 public long getWarningTime() {
375 return _warningTime;
376 }
377
378 public void setWarningTime(long warningTime) {
379 _warningTime = warningTime;
380 }
381
382 public int getGraceLimit() {
383 return _graceLimit;
384 }
385
386 public void setGraceLimit(int graceLimit) {
387 _graceLimit = graceLimit;
388 }
389
390 public boolean getLockout() {
391 return _lockout;
392 }
393
394 public boolean isLockout() {
395 return _lockout;
396 }
397
398 public void setLockout(boolean lockout) {
399 _lockout = lockout;
400 }
401
402 public int getMaxFailure() {
403 return _maxFailure;
404 }
405
406 public void setMaxFailure(int maxFailure) {
407 _maxFailure = maxFailure;
408 }
409
410 public long getLockoutDuration() {
411 return _lockoutDuration;
412 }
413
414 public void setLockoutDuration(long lockoutDuration) {
415 _lockoutDuration = lockoutDuration;
416 }
417
418 public boolean getRequireUnlock() {
419 return _requireUnlock;
420 }
421
422 public boolean isRequireUnlock() {
423 return _requireUnlock;
424 }
425
426 public void setRequireUnlock(boolean requireUnlock) {
427 _requireUnlock = requireUnlock;
428 }
429
430 public long getResetFailureCount() {
431 return _resetFailureCount;
432 }
433
434 public void setResetFailureCount(long resetFailureCount) {
435 _resetFailureCount = resetFailureCount;
436 }
437
438 public PasswordPolicy toEscapedModel() {
439 if (isEscapedModel()) {
440 return (PasswordPolicy)this;
441 }
442 else {
443 PasswordPolicy model = new PasswordPolicyImpl();
444
445 model.setNew(isNew());
446 model.setEscapedModel(true);
447
448 model.setPasswordPolicyId(getPasswordPolicyId());
449 model.setCompanyId(getCompanyId());
450 model.setUserId(getUserId());
451 model.setUserName(HtmlUtil.escape(getUserName()));
452 model.setCreateDate(getCreateDate());
453 model.setModifiedDate(getModifiedDate());
454 model.setDefaultPolicy(getDefaultPolicy());
455 model.setName(HtmlUtil.escape(getName()));
456 model.setDescription(HtmlUtil.escape(getDescription()));
457 model.setChangeable(getChangeable());
458 model.setChangeRequired(getChangeRequired());
459 model.setMinAge(getMinAge());
460 model.setCheckSyntax(getCheckSyntax());
461 model.setAllowDictionaryWords(getAllowDictionaryWords());
462 model.setMinLength(getMinLength());
463 model.setHistory(getHistory());
464 model.setHistoryCount(getHistoryCount());
465 model.setExpireable(getExpireable());
466 model.setMaxAge(getMaxAge());
467 model.setWarningTime(getWarningTime());
468 model.setGraceLimit(getGraceLimit());
469 model.setLockout(getLockout());
470 model.setMaxFailure(getMaxFailure());
471 model.setLockoutDuration(getLockoutDuration());
472 model.setRequireUnlock(getRequireUnlock());
473 model.setResetFailureCount(getResetFailureCount());
474
475 model = (PasswordPolicy)Proxy.newProxyInstance(PasswordPolicy.class.getClassLoader(),
476 new Class[] { PasswordPolicy.class },
477 new ReadOnlyBeanHandler(model));
478
479 return model;
480 }
481 }
482
483 public Object clone() {
484 PasswordPolicyImpl clone = new PasswordPolicyImpl();
485
486 clone.setPasswordPolicyId(getPasswordPolicyId());
487 clone.setCompanyId(getCompanyId());
488 clone.setUserId(getUserId());
489 clone.setUserName(getUserName());
490 clone.setCreateDate(getCreateDate());
491 clone.setModifiedDate(getModifiedDate());
492 clone.setDefaultPolicy(getDefaultPolicy());
493 clone.setName(getName());
494 clone.setDescription(getDescription());
495 clone.setChangeable(getChangeable());
496 clone.setChangeRequired(getChangeRequired());
497 clone.setMinAge(getMinAge());
498 clone.setCheckSyntax(getCheckSyntax());
499 clone.setAllowDictionaryWords(getAllowDictionaryWords());
500 clone.setMinLength(getMinLength());
501 clone.setHistory(getHistory());
502 clone.setHistoryCount(getHistoryCount());
503 clone.setExpireable(getExpireable());
504 clone.setMaxAge(getMaxAge());
505 clone.setWarningTime(getWarningTime());
506 clone.setGraceLimit(getGraceLimit());
507 clone.setLockout(getLockout());
508 clone.setMaxFailure(getMaxFailure());
509 clone.setLockoutDuration(getLockoutDuration());
510 clone.setRequireUnlock(getRequireUnlock());
511 clone.setResetFailureCount(getResetFailureCount());
512
513 return clone;
514 }
515
516 public int compareTo(PasswordPolicy passwordPolicy) {
517 long pk = passwordPolicy.getPrimaryKey();
518
519 if (getPrimaryKey() < pk) {
520 return -1;
521 }
522 else if (getPrimaryKey() > pk) {
523 return 1;
524 }
525 else {
526 return 0;
527 }
528 }
529
530 public boolean equals(Object obj) {
531 if (obj == null) {
532 return false;
533 }
534
535 PasswordPolicy passwordPolicy = null;
536
537 try {
538 passwordPolicy = (PasswordPolicy)obj;
539 }
540 catch (ClassCastException cce) {
541 return false;
542 }
543
544 long pk = passwordPolicy.getPrimaryKey();
545
546 if (getPrimaryKey() == pk) {
547 return true;
548 }
549 else {
550 return false;
551 }
552 }
553
554 public int hashCode() {
555 return (int)getPrimaryKey();
556 }
557
558 public String toString() {
559 StringBundler sb = new StringBundler(53);
560
561 sb.append("{passwordPolicyId=");
562 sb.append(getPasswordPolicyId());
563 sb.append(", companyId=");
564 sb.append(getCompanyId());
565 sb.append(", userId=");
566 sb.append(getUserId());
567 sb.append(", userName=");
568 sb.append(getUserName());
569 sb.append(", createDate=");
570 sb.append(getCreateDate());
571 sb.append(", modifiedDate=");
572 sb.append(getModifiedDate());
573 sb.append(", defaultPolicy=");
574 sb.append(getDefaultPolicy());
575 sb.append(", name=");
576 sb.append(getName());
577 sb.append(", description=");
578 sb.append(getDescription());
579 sb.append(", changeable=");
580 sb.append(getChangeable());
581 sb.append(", changeRequired=");
582 sb.append(getChangeRequired());
583 sb.append(", minAge=");
584 sb.append(getMinAge());
585 sb.append(", checkSyntax=");
586 sb.append(getCheckSyntax());
587 sb.append(", allowDictionaryWords=");
588 sb.append(getAllowDictionaryWords());
589 sb.append(", minLength=");
590 sb.append(getMinLength());
591 sb.append(", history=");
592 sb.append(getHistory());
593 sb.append(", historyCount=");
594 sb.append(getHistoryCount());
595 sb.append(", expireable=");
596 sb.append(getExpireable());
597 sb.append(", maxAge=");
598 sb.append(getMaxAge());
599 sb.append(", warningTime=");
600 sb.append(getWarningTime());
601 sb.append(", graceLimit=");
602 sb.append(getGraceLimit());
603 sb.append(", lockout=");
604 sb.append(getLockout());
605 sb.append(", maxFailure=");
606 sb.append(getMaxFailure());
607 sb.append(", lockoutDuration=");
608 sb.append(getLockoutDuration());
609 sb.append(", requireUnlock=");
610 sb.append(getRequireUnlock());
611 sb.append(", resetFailureCount=");
612 sb.append(getResetFailureCount());
613 sb.append("}");
614
615 return sb.toString();
616 }
617
618 public String toXmlString() {
619 StringBundler sb = new StringBundler(82);
620
621 sb.append("<model><model-name>");
622 sb.append("com.liferay.portal.model.PasswordPolicy");
623 sb.append("</model-name>");
624
625 sb.append(
626 "<column><column-name>passwordPolicyId</column-name><column-value><![CDATA[");
627 sb.append(getPasswordPolicyId());
628 sb.append("]]></column-value></column>");
629 sb.append(
630 "<column><column-name>companyId</column-name><column-value><![CDATA[");
631 sb.append(getCompanyId());
632 sb.append("]]></column-value></column>");
633 sb.append(
634 "<column><column-name>userId</column-name><column-value><![CDATA[");
635 sb.append(getUserId());
636 sb.append("]]></column-value></column>");
637 sb.append(
638 "<column><column-name>userName</column-name><column-value><![CDATA[");
639 sb.append(getUserName());
640 sb.append("]]></column-value></column>");
641 sb.append(
642 "<column><column-name>createDate</column-name><column-value><![CDATA[");
643 sb.append(getCreateDate());
644 sb.append("]]></column-value></column>");
645 sb.append(
646 "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
647 sb.append(getModifiedDate());
648 sb.append("]]></column-value></column>");
649 sb.append(
650 "<column><column-name>defaultPolicy</column-name><column-value><![CDATA[");
651 sb.append(getDefaultPolicy());
652 sb.append("]]></column-value></column>");
653 sb.append(
654 "<column><column-name>name</column-name><column-value><![CDATA[");
655 sb.append(getName());
656 sb.append("]]></column-value></column>");
657 sb.append(
658 "<column><column-name>description</column-name><column-value><![CDATA[");
659 sb.append(getDescription());
660 sb.append("]]></column-value></column>");
661 sb.append(
662 "<column><column-name>changeable</column-name><column-value><![CDATA[");
663 sb.append(getChangeable());
664 sb.append("]]></column-value></column>");
665 sb.append(
666 "<column><column-name>changeRequired</column-name><column-value><![CDATA[");
667 sb.append(getChangeRequired());
668 sb.append("]]></column-value></column>");
669 sb.append(
670 "<column><column-name>minAge</column-name><column-value><![CDATA[");
671 sb.append(getMinAge());
672 sb.append("]]></column-value></column>");
673 sb.append(
674 "<column><column-name>checkSyntax</column-name><column-value><![CDATA[");
675 sb.append(getCheckSyntax());
676 sb.append("]]></column-value></column>");
677 sb.append(
678 "<column><column-name>allowDictionaryWords</column-name><column-value><![CDATA[");
679 sb.append(getAllowDictionaryWords());
680 sb.append("]]></column-value></column>");
681 sb.append(
682 "<column><column-name>minLength</column-name><column-value><![CDATA[");
683 sb.append(getMinLength());
684 sb.append("]]></column-value></column>");
685 sb.append(
686 "<column><column-name>history</column-name><column-value><![CDATA[");
687 sb.append(getHistory());
688 sb.append("]]></column-value></column>");
689 sb.append(
690 "<column><column-name>historyCount</column-name><column-value><![CDATA[");
691 sb.append(getHistoryCount());
692 sb.append("]]></column-value></column>");
693 sb.append(
694 "<column><column-name>expireable</column-name><column-value><![CDATA[");
695 sb.append(getExpireable());
696 sb.append("]]></column-value></column>");
697 sb.append(
698 "<column><column-name>maxAge</column-name><column-value><![CDATA[");
699 sb.append(getMaxAge());
700 sb.append("]]></column-value></column>");
701 sb.append(
702 "<column><column-name>warningTime</column-name><column-value><![CDATA[");
703 sb.append(getWarningTime());
704 sb.append("]]></column-value></column>");
705 sb.append(
706 "<column><column-name>graceLimit</column-name><column-value><![CDATA[");
707 sb.append(getGraceLimit());
708 sb.append("]]></column-value></column>");
709 sb.append(
710 "<column><column-name>lockout</column-name><column-value><![CDATA[");
711 sb.append(getLockout());
712 sb.append("]]></column-value></column>");
713 sb.append(
714 "<column><column-name>maxFailure</column-name><column-value><![CDATA[");
715 sb.append(getMaxFailure());
716 sb.append("]]></column-value></column>");
717 sb.append(
718 "<column><column-name>lockoutDuration</column-name><column-value><![CDATA[");
719 sb.append(getLockoutDuration());
720 sb.append("]]></column-value></column>");
721 sb.append(
722 "<column><column-name>requireUnlock</column-name><column-value><![CDATA[");
723 sb.append(getRequireUnlock());
724 sb.append("]]></column-value></column>");
725 sb.append(
726 "<column><column-name>resetFailureCount</column-name><column-value><![CDATA[");
727 sb.append(getResetFailureCount());
728 sb.append("]]></column-value></column>");
729
730 sb.append("</model>");
731
732 return sb.toString();
733 }
734
735 private long _passwordPolicyId;
736 private long _companyId;
737 private long _originalCompanyId;
738 private boolean _setOriginalCompanyId;
739 private long _userId;
740 private String _userUuid;
741 private String _userName;
742 private Date _createDate;
743 private Date _modifiedDate;
744 private boolean _defaultPolicy;
745 private boolean _originalDefaultPolicy;
746 private boolean _setOriginalDefaultPolicy;
747 private String _name;
748 private String _originalName;
749 private String _description;
750 private boolean _changeable;
751 private boolean _changeRequired;
752 private long _minAge;
753 private boolean _checkSyntax;
754 private boolean _allowDictionaryWords;
755 private int _minLength;
756 private boolean _history;
757 private int _historyCount;
758 private boolean _expireable;
759 private long _maxAge;
760 private long _warningTime;
761 private int _graceLimit;
762 private boolean _lockout;
763 private int _maxFailure;
764 private long _lockoutDuration;
765 private boolean _requireUnlock;
766 private long _resetFailureCount;
767 }