org.apache.directory.server.kerberos.kdc
Class KdcConfiguration

java.lang.Object
  extended by org.apache.directory.server.core.configuration.Configuration
      extended by org.apache.directory.server.protocol.shared.ServiceConfiguration
          extended by org.apache.directory.server.kerberos.kdc.KdcConfiguration
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class KdcConfiguration
extends ServiceConfiguration

See Also:
Serialized Form

Field Summary
static java.lang.String ALLOWABLE_CLOCKSKEW_KEY
          the prop key const for allowable clockskew
static java.lang.String EMPTY_ADDRESSES_ALLOWED_KEY
          the prop key const for empty addresses allowed
static java.lang.String ENCRYPTION_TYPES_KEY
          the prop key const for encryption types
static java.lang.String PA_ENC_TIMESTAMP_REQUIRED_KEY
          the prop key const for requiring encrypted timestamps
static java.lang.String PRINCIPAL_KEY
          the prop key const for kdc principal
static java.lang.String REALM_KEY
          the prop key const for the kdc's primary realm
static java.lang.String TGS_FORWARDABLE_ALLOWED_KEY
          the prop key const for allowing forwardable tickets
static java.lang.String TGS_MAXIMUM_RENEWABLE_LIFETIME_KEY
          the prop key const for the maximum renewable lifetime
static java.lang.String TGS_MAXIMUM_TICKET_LIFETIME_KEY
          the prop key const for the maximum ticket lifetime
static java.lang.String TGS_POSTDATE_ALLOWED_KEY
          the prop key const for allowing postdated tickets
static java.lang.String TGS_PROXIABLE_ALLOWED_KEY
          the prop key const for allowing proxiable tickets
static java.lang.String TGS_RENEWABLE_ALLOWED_KEY
          the prop key const for allowing renewable tickets
 
Fields inherited from class org.apache.directory.server.protocol.shared.ServiceConfiguration
APACHE_FACTORY_PID_KEY, APACHE_SERVICE_CONFIGURATION, APACHE_SERVICE_PID_KEY, BUFFER_SIZE_KEY, CATALOG_BASEDN_KEY, configuration, DEFAULT_BUFFER_SIZE, DEFAULT_ENTRY_BASEDN, DEFAULT_INITIAL_CONTEXT_FACTORY, ENTRY_BASEDN_KEY, INITIAL_CONTEXT_FACTORY_KEY, IP_ADDRESS_KEY, IP_PORT_KEY, MINUTE, SERVICE_FACTORYPID, SERVICE_PID
 
Fields inherited from class org.apache.directory.server.core.configuration.Configuration
DEFAULT_INSTANCE_ID, JNDI_KEY
 
Constructor Summary
KdcConfiguration()
          Creates a new instance with default settings.
KdcConfiguration(java.util.Map properties)
           
KdcConfiguration(java.util.Map properties, int strategy)
           
KdcConfiguration(java.lang.String instanceId)
          Creates a new instance with default settings that operates on the DirectoryService with the specified ID.
 
Method Summary
 int getBufferSize()
           
 long getClockSkew()
           
static java.util.Map getDefaultConfig()
           
 EncryptionType[] getEncryptionTypes()
           
 javax.security.auth.kerberos.KerberosPrincipal getKdcPrincipal()
           
 long getMaximumRenewableLifetime()
           
 long getMaximumTicketLifetime()
           
 java.lang.String getName()
           
 int getPort()
           
 java.lang.String getPrimaryRealm()
           
 java.util.Map getProperties()
           
 boolean isDifferent(java.util.Dictionary config)
           
 boolean isEmptyAddressesAllowed()
           
 boolean isForwardableAllowed()
           
 boolean isPaEncTimestampRequired()
           
 boolean isPostdateAllowed()
           
 boolean isProxiableAllowed()
           
 boolean isRenewableAllowed()
           
 
Methods inherited from class org.apache.directory.server.protocol.shared.ServiceConfiguration
get, getCatalogBaseDn, getEntryBaseDn, getInitialContextFactory, loadProperties, toJndiEnvironment
 
Methods inherited from class org.apache.directory.server.core.configuration.Configuration
clone, getInstanceId, setInstanceId, toConfiguration, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRINCIPAL_KEY

public static final java.lang.String PRINCIPAL_KEY
the prop key const for kdc principal

See Also:
Constant Field Values

REALM_KEY

public static final java.lang.String REALM_KEY
the prop key const for the kdc's primary realm

See Also:
Constant Field Values

ENCRYPTION_TYPES_KEY

public static final java.lang.String ENCRYPTION_TYPES_KEY
the prop key const for encryption types

See Also:
Constant Field Values

ALLOWABLE_CLOCKSKEW_KEY

public static final java.lang.String ALLOWABLE_CLOCKSKEW_KEY
the prop key const for allowable clockskew

See Also:
Constant Field Values

EMPTY_ADDRESSES_ALLOWED_KEY

public static final java.lang.String EMPTY_ADDRESSES_ALLOWED_KEY
the prop key const for empty addresses allowed

See Also:
Constant Field Values

PA_ENC_TIMESTAMP_REQUIRED_KEY

public static final java.lang.String PA_ENC_TIMESTAMP_REQUIRED_KEY
the prop key const for requiring encrypted timestamps

See Also:
Constant Field Values

TGS_MAXIMUM_TICKET_LIFETIME_KEY

public static final java.lang.String TGS_MAXIMUM_TICKET_LIFETIME_KEY
the prop key const for the maximum ticket lifetime

See Also:
Constant Field Values

TGS_MAXIMUM_RENEWABLE_LIFETIME_KEY

public static final java.lang.String TGS_MAXIMUM_RENEWABLE_LIFETIME_KEY
the prop key const for the maximum renewable lifetime

See Also:
Constant Field Values

TGS_FORWARDABLE_ALLOWED_KEY

public static final java.lang.String TGS_FORWARDABLE_ALLOWED_KEY
the prop key const for allowing forwardable tickets

See Also:
Constant Field Values

TGS_PROXIABLE_ALLOWED_KEY

public static final java.lang.String TGS_PROXIABLE_ALLOWED_KEY
the prop key const for allowing proxiable tickets

See Also:
Constant Field Values

TGS_POSTDATE_ALLOWED_KEY

public static final java.lang.String TGS_POSTDATE_ALLOWED_KEY
the prop key const for allowing postdated tickets

See Also:
Constant Field Values

TGS_RENEWABLE_ALLOWED_KEY

public static final java.lang.String TGS_RENEWABLE_ALLOWED_KEY
the prop key const for allowing renewable tickets

See Also:
Constant Field Values
Constructor Detail

KdcConfiguration

public KdcConfiguration()
Creates a new instance with default settings.


KdcConfiguration

public KdcConfiguration(java.lang.String instanceId)
Creates a new instance with default settings that operates on the DirectoryService with the specified ID.


KdcConfiguration

public KdcConfiguration(java.util.Map properties)

KdcConfiguration

public KdcConfiguration(java.util.Map properties,
                        int strategy)
Method Detail

getDefaultConfig

public static java.util.Map getDefaultConfig()

isDifferent

public boolean isDifferent(java.util.Dictionary config)

getName

public java.lang.String getName()

getPrimaryRealm

public java.lang.String getPrimaryRealm()

getKdcPrincipal

public javax.security.auth.kerberos.KerberosPrincipal getKdcPrincipal()

getEncryptionTypes

public EncryptionType[] getEncryptionTypes()

getProperties

public java.util.Map getProperties()

getClockSkew

public long getClockSkew()

getPort

public int getPort()

getBufferSize

public int getBufferSize()

isPaEncTimestampRequired

public boolean isPaEncTimestampRequired()

getMaximumTicketLifetime

public long getMaximumTicketLifetime()

getMaximumRenewableLifetime

public long getMaximumRenewableLifetime()

isEmptyAddressesAllowed

public boolean isEmptyAddressesAllowed()

isForwardableAllowed

public boolean isForwardableAllowed()

isProxiableAllowed

public boolean isProxiableAllowed()

isPostdateAllowed

public boolean isPostdateAllowed()

isRenewableAllowed

public boolean isRenewableAllowed()


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.