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 */
020package org.apache.directory.shared.kerberos;
021
022
023/**
024 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
025 */
026public class KerberosAttribute
027{
028    // ------------------------------------------------------------------------
029    // Krb5 Schema Attributes
030    // ------------------------------------------------------------------------
031    /** the krb5kdc schema principal name for a krb5KDCEntry */
032    public static final String KRB5_PRINCIPAL_NAME_AT = "krb5PrincipalName";
033    public static final String KRB5_PRINCIPAL_NAME_AT_OID = "1.3.6.1.4.1.5322.10.1.1";
034    
035    /** the krb5kdc schema key for a krb5KDCEntry */
036    public static final String KRB5_KEY_AT = "krb5Key";
037    public static final String KRB5_KEY_AT_OID = "1.3.6.1.4.1.5322.10.1.10";
038    
039    /** the krb5kdc schema key version identifier for a krb5KDCEntry */
040    public static final String KRB5_KEY_VERSION_NUMBER_AT = "krb5KeyVersionNumber";
041    public static final String KRB5_KEY_VERSION_NUMBER_AT_OID = "1.3.6.1.4.1.5322.10.1.2";
042    
043    /** the disabled boolean LDAP attribute for a Kerberos account */
044    public static final String KRB5_ACCOUNT_DISABLED_AT = "krb5AccountDisabled";
045    public static final String KRB5_ACCOUNT_DISABLED_AT_OID = "1.3.6.1.4.1.5322.10.1.13";
046    
047    /** the lockedout boolean LDAP attribute for a Kerberos account */
048    public static final String KRB5_ACCOUNT_LOCKEDOUT_AT = "krb5AccountLockedOut";
049    public static final String KRB5_ACCOUNT_LOCKEDOUT_AT_OID = "1.3.6.1.4.1.5322.10.1.14";
050    
051    /** the expiration time attribute LDAP attribute for a Kerberos account */
052    public static final String KRB5_ACCOUNT_EXPIRATION_TIME_AT = "krb5AccountExpirationTime";
053    public static final String KRB5_ACCOUNT_EXPIRATION_TIME_AT_OID = "1.3.6.1.4.1.5322.10.1.15";
054
055
056    /** the Apache specific SAM type attribute */
057    public static final String APACHE_SAM_TYPE_AT = "apacheSamType";
058    public static final String APACHE_SAM_TYPE_AT_OID = "1.3.6.1.4.1.18060.0.4.1.2.9";
059    
060}