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