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