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  package org.apache.directory.shared.kerberos;
21  
22  
23  /**
24   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
25   */
26  public class KerberosAttribute
27  {
28      // ------------------------------------------------------------------------
29      // Krb5 Schema Attributes
30      // ------------------------------------------------------------------------
31      /** the krb5kdc schema principal name for a krb5KDCEntry */
32      public static final String KRB5_PRINCIPAL_NAME_AT = "krb5PrincipalName";
33      public static final String KRB5_PRINCIPAL_NAME_AT_OID = "1.3.6.1.4.1.5322.10.1.1";
34      
35      /** the krb5kdc schema key for a krb5KDCEntry */
36      public static final String KRB5_KEY_AT = "krb5Key";
37      public static final String KRB5_KEY_AT_OID = "1.3.6.1.4.1.5322.10.1.10";
38      
39      /** the krb5kdc schema key version identifier for a krb5KDCEntry */
40      public static final String KRB5_KEY_VERSION_NUMBER_AT = "krb5KeyVersionNumber";
41      public static final String KRB5_KEY_VERSION_NUMBER_AT_OID = "1.3.6.1.4.1.5322.10.1.2";
42      
43      /** the disabled boolean LDAP attribute for a Kerberos account */
44      public static final String KRB5_ACCOUNT_DISABLED_AT = "krb5AccountDisabled";
45      public static final String KRB5_ACCOUNT_DISABLED_AT_OID = "1.3.6.1.4.1.5322.10.1.13";
46      
47      /** the lockedout boolean LDAP attribute for a Kerberos account */
48      public static final String KRB5_ACCOUNT_LOCKEDOUT_AT = "krb5AccountLockedOut";
49      public static final String KRB5_ACCOUNT_LOCKEDOUT_AT_OID = "1.3.6.1.4.1.5322.10.1.14";
50      
51      /** the expiration time attribute LDAP attribute for a Kerberos account */
52      public static final String KRB5_ACCOUNT_EXPIRATION_TIME_AT = "krb5AccountExpirationTime";
53      public static final String KRB5_ACCOUNT_EXPIRATION_TIME_AT_OID = "1.3.6.1.4.1.5322.10.1.15";
54  
55  
56      /** the Apache specific SAM type attribute */
57      public static final String APACHE_SAM_TYPE_AT = "apacheSamType";
58      public static final String APACHE_SAM_TYPE_AT_OID = "1.3.6.1.4.1.18060.0.4.1.2.9";
59      
60  }