View Javadoc
1   /*
2    *   Licensed to the Apache Software Foundation (ASF) under one
3    *   or more contributor license agreements.  See the NOTICE file
4    *   distributed with this work for additional information
5    *   regarding copyright ownership.  The ASF licenses this file
6    *   to you under the Apache License, Version 2.0 (the
7    *   "License"); you may not use this file except in compliance
8    *   with the License.  You may obtain a copy of the License at
9    *
10   *     http://www.apache.org/licenses/LICENSE-2.0
11   *
12   *   Unless required by applicable law or agreed to in writing,
13   *   software distributed under the License is distributed on an
14   *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   *   KIND, either express or implied.  See the License for the
16   *   specific language governing permissions and limitations
17   *   under the License.
18   *
19   */
20  
21  package org.apache.directory.api.ldap.model.constants;
22  
23  
24  /**
25   * The PasswordPolicy schema ObjectClasses and AttributeTypes.
26   * Final reference -> class shouldn't be extended
27   *
28   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
29   */
30  public final class PasswordPolicySchemaConstants
31  {
32      /**
33       *  Ensures no construction of this class, also ensures there is no need for final keyword above
34       *  (Implicit super constructor is not visible for default constructor),
35       *  but is still self documenting.
36       */
37      private PasswordPolicySchemaConstants()
38      {
39      }
40  
41      // ---- ObjectClasses -----------------------------------------------------
42      // pwdPolicy
43      public static final String PWD_POLICY_OC = "pwdPolicy";
44      public static final String PWD_POLICY_OC_OID = "1.3.6.1.4.1.42.2.27.8.2.1";
45  
46      // ---- AttributeTypes ----------------------------------------------------
47      // pwdAttribute
48      public static final String PWD_ATTRIBUTE_AT = "pwdAttribute";
49      public static final String PWD_ATTRIBUTE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.1";
50  
51      // pwdMinAge
52      public static final String PWD_MIN_AGE_AT = "pwdMinAge";
53      public static final String PWD_MIN_AGE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.2";
54  
55      // pwdMaxAge
56      public static final String PWD_MAX_AGE_AT = "pwdMaxAge";
57      public static final String PWD_MAX_AGE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.3";
58  
59      // pwdLockoutDuration
60      public static final String PWD_LOCKOUT_DURATION_AT = "pwdLockoutDuration";
61      public static final String PWD_LOCKOUT_DURATION_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.10";
62  
63      // pwdInHistory
64      public static final String PWD_IN_HISTORY_AT = "pwdInHistory";
65      public static final String PWD_IN_HISTORY_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.4";
66  
67      // pwdCheckQuality
68      public static final String PWD_CHECK_QUALITY_AT = "pwdCheckQuality";
69      public static final String PWD_CHECK_QUALITY_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.5";
70  
71      // pwdMinLength
72      public static final String PWD_MIN_LENGTH_AT = "pwdMinLength";
73      public static final String PWD_MIN_LENGTH_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.6;";
74  
75      // pwdExpireWarning
76      public static final String PWD_EXPIRE_WARNING_AT = "pwdExpireWarning";
77      public static final String PWD_EXPIRE_WARNING_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.7;";
78  
79      // pwdGraceAuthNLimit
80      public static final String PWD_GRACE_AUTHN_LIMIT_AT = "pwdGraceAuthNLimit";
81      public static final String PWD_GRACE_AUTHN_LIMIT_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.;";
82  
83      // pwdLockout
84      public static final String PWD_LOCKOUT_AT = "pwdLockout";
85      public static final String PWD_LOCKOUT_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.9";
86  
87      // pwdMaxFailure
88      public static final String PWD_MAX_FAILURE_AT = "pwdMaxFailure";
89      public static final String PWD_MAX_FAILURE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.11";
90  
91      // pwdFailureCountInterval
92      public static final String PWD_FAILURE_COUNT_INTERVAL_AT = "pwdFailureCountInterval";
93      public static final String PWD_FAILURE_COUNT_INTERVAL_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.12";
94  
95      // public static final String PWD_MUST_CHANGE_AT = 
96      public static final String PWD_MUST_CHANGE_AT = "pwdMustChange";
97      public static final String PWD_MUST_CHANGE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.13";
98  
99      // pwdAllowUserChange
100     public static final String PWD_ALLOW_USER_CHANGE_AT = "pwdAllowUserChange";
101     public static final String PWD_ALLOW_USER_CHANGE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.14";
102 
103     // pwdSafeModify
104     public static final String PWD_SAFE_MODIFY_AT = "pwdSafeModify";
105     public static final String PWD_SAFE_MODIFY_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.15";
106 
107     // pwdChangedTime
108     public static final String PWD_CHANGED_TIME_AT = "pwdChangedTime";
109     public static final String PWD_CHANGED_TIME_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.16";
110 
111     // pwdAccountLockedTime
112     public static final String PWD_ACCOUNT_LOCKED_TIME_AT = "pwdAccountLockedTime";
113     public static final String PWD_ACCOUNT_LOCKED_TIME_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.17";
114 
115     // pwdFailureTime
116     public static final String PWD_FAILURE_TIME_AT = "pwdFailureTime";
117     public static final String PWD_FAILURE_TIME_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.19";
118 
119     // pwdHistory
120     public static final String PWD_HISTORY_AT = "pwdHistory";
121     public static final String PWD_HISTORY_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.20";
122 
123     // pwdGraceUseTime
124     public static final String PWD_GRACE_USE_TIME_AT = "pwdGraceUseTime";
125     public static final String PWD_GRACE_USE_TIME_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.21";
126 
127     // pwdReset
128     public static final String PWD_RESET_AT = "pwdReset";
129     public static final String PWD_RESET_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.22";
130 
131     // pwdPolicySubentry
132     public static final String PWD_POLICY_SUBENTRY_AT = "pwdPolicySubentry";
133     public static final String PWD_POLICY_SUBENTRY_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.23";
134 
135     // pwdMinDelay
136     public static final String PWD_MIN_DELAY_AT = "pwdMinDelay";
137     public static final String PWD_MIN_DELAY_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.24";
138 
139     // pwdMaxDelay
140     public static final String PWD_MAX_DELAY_AT = "pwdMaxDelay";
141     public static final String PWD_MAX_DELAY_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.25";
142 
143     // pwdMaxIdle
144     public static final String PWD_MAX_IDLE_AT = "pwdMaxIdle";
145     public static final String PWD_MAX_IDLE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.26";
146 
147     // pwdStartTime
148     public static final String PWD_START_TIME_AT = "pwdStartTime";
149     public static final String PWD_START_TIME_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.27";
150 
151     // pwdEndTime
152     public static final String PWD_END_TIME_AT = "pwdEndTime";
153     public static final String PWD_END_TIME_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.28";
154 
155     // pwdLastSuccess
156     public static final String PWD_LAST_SUCCESS_AT = "pwdLastSuccess";
157     public static final String PWD_LAST_SUCCESS_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.29";
158 
159     // pwdGraceExpire
160     public static final String PWD_GRACE_EXPIRE_AT = "pwdGraceExpire";
161     public static final String PWD_GRACE_EXPIRE_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.30";
162 
163     // pwdMaxLength
164     public static final String PWD_MAX_LENGTH_AT = "pwdMaxLength";
165     public static final String PWD_MAX_LENGTH_AT_OID = "1.3.6.1.4.1.42.2.27.8.1.31";
166 }