001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements. See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership. The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License. You may obtain a copy of the License at
009 *
010 * http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing,
013 * software distributed under the License is distributed on an
014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 * KIND, either express or implied. See the License for the
016 * specific language governing permissions and limitations
017 * under the License.
018 *
019 */
020 package org.apache.directory.server.kerberos.shared.store;
021
022
023 /**
024 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
025 * @version $Rev: 613608 $, $Date: 2008-01-20 18:59:10 +0200 (Sun, 20 Jan 2008) $
026 */
027 public class KerberosAttribute
028 {
029 // ------------------------------------------------------------------------
030 // Krb5 Schema Attributes
031 // ------------------------------------------------------------------------
032 /** the krb5kdc schema principal name for a krb5KDCEntry */
033 public static final String KRB5_PRINCIPAL_NAME_AT = "krb5PrincipalName";
034 public static final String KRB5_PRINCIPAL_NAME_AT_OID = "1.3.6.1.4.1.5322.10.1.1";
035
036 /** the krb5kdc schema key for a krb5KDCEntry */
037 public static final String KRB5_KEY_AT = "krb5Key";
038 public static final String KRB5_KEY_AT_OID = "1.3.6.1.4.1.5322.10.1.10";
039
040 /** the krb5kdc schema key version identifier for a krb5KDCEntry */
041 public static final String KRB5_KEY_VERSION_NUMBER_AT = "krb5KeyVersionNumber";
042 public static final String KRB5_KEY_VERSION_NUMBER_AT_OID = "1.3.6.1.4.1.5322.10.1.2";
043
044 /** the disabled boolean LDAP attribute for a Kerberos account */
045 public static final String KRB5_ACCOUNT_DISABLED_AT = "krb5AccountDisabled";
046 public static final String KRB5_ACCOUNT_DISABLED_AT_OID = "1.3.6.1.4.1.5322.10.1.13";
047
048 /** the lockedout boolean LDAP attribute for a Kerberos account */
049 public static final String KRB5_ACCOUNT_LOCKEDOUT_AT = "krb5AccountLockedOut";
050 public static final String KRB5_ACCOUNT_LOCKEDOUT_AT_OID = "1.3.6.1.4.1.5322.10.1.14";
051
052 /** the expiration time attribute LDAP attribute for a Kerberos account */
053 public static final String KRB5_ACCOUNT_EXPIRATION_TIME_AT = "krb5AccountExpirationTime";
054 public static final String KRB5_ACCOUNT_EXPIRATION_TIME_AT_OID = "1.3.6.1.4.1.5322.10.1.15";
055
056
057 /** the Apache specific SAM type attribute */
058 public static final String APACHE_SAM_TYPE_AT = "apacheSamType";
059 public static final String APACHE_SAM_TYPE_AT_OID = "1.3.6.1.4.1.18060.0.4.1.2.9";
060
061 }