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

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.ServiceConfiguration
      extended by org.apache.directory.server.kerberos.kdc.KdcConfiguration

public class KdcConfiguration
extends org.apache.directory.server.protocol.shared.ServiceConfiguration

Contains the configuration parameters for the Kerberos protocol provider.

Version:
$Rev: 561702 $, $Date: 2007-08-01 04:12:58 -0400 (Wed, 01 Aug 2007) $
Author:
Apache Directory Project

Field Summary
static java.lang.String DEFAULT_SEARCH_BASEDN
          The default kdc search base DN
 
Fields inherited from class org.apache.directory.server.protocol.shared.ServiceConfiguration
APACHE_SERVICE_CONFIGURATION, DEFAULT_BUFFER_SIZE, IP_PORT_KEY, MINUTE, SERVICE_FACTORYPID, SERVICE_PID
 
Constructor Summary
KdcConfiguration()
          Creates a new instance of KdcConfiguration.
 
Method Summary
 long getAllowableClockSkew()
          Returns the allowable clock skew.
 org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionType[] getEncryptionTypes()
          Returns the encryption types.
 long getMaximumRenewableLifetime()
           
 long getMaximumTicketLifetime()
           
 java.lang.String getPrimaryRealm()
          Returns the primary realm.
 javax.security.auth.kerberos.KerberosPrincipal getServicePrincipal()
          Returns the service principal for this KDC service.
 boolean isBodyChecksumVerified()
           
 boolean isEmptyAddressesAllowed()
           
 boolean isForwardableAllowed()
           
 boolean isPaEncTimestampRequired()
          Returns whether pre-authentication by encrypted timestamp is required.
 boolean isPostdatedAllowed()
           
 boolean isProxiableAllowed()
           
 boolean isRenewableAllowed()
           
 void setAllowableClockSkew(long allowableClockSkew)
           
 void setBodyChecksumVerified(boolean isBodyChecksumVerified)
           
 void setEmptyAddressesAllowed(boolean isEmptyAddressesAllowed)
           
 void setEncryptionTypes(org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionType[] encryptionTypes)
           
 void setForwardableAllowed(boolean isForwardableAllowed)
           
 void setKdcPrincipal(java.lang.String kdcPrincipal)
           
 void setMaximumRenewableLifetime(long maximumRenewableLifetime)
           
 void setMaximumTicketLifetime(long maximumTicketLifetime)
           
 void setPaEncTimestampRequired(boolean isPaEncTimestampRequired)
           
 void setPostdatedAllowed(boolean isPostdatedAllowed)
           
 void setPrimaryRealm(java.lang.String primaryRealm)
           
 void setProxiableAllowed(boolean isProxiableAllowed)
           
 void setRenewableAllowed(boolean isRenewableAllowed)
           
 
Methods inherited from class org.apache.directory.server.protocol.shared.ServiceConfiguration
getBufferSize, getCatalogBaseDn, getInitialContextFactory, getIpAddress, getIpPort, getSearchBaseDn, getSecurityAuthentication, getSecurityCredentials, getSecurityPrincipal, getServiceName, getServicePid, isDifferent, isEnabled, setBufferSize, setCatalogBaseDn, setEnabled, setInitialContextFactory, setIpAddress, setIpPort, setSearchBaseDn, setSecurityAuthentication, setSecurityCredentials, setSecurityPrincipal, setServiceName, setServicePid, validatePortNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SEARCH_BASEDN

public static final java.lang.String DEFAULT_SEARCH_BASEDN
The default kdc search base DN

See Also:
Constant Field Values
Constructor Detail

KdcConfiguration

public KdcConfiguration()
Creates a new instance of KdcConfiguration.

Method Detail

getAllowableClockSkew

public long getAllowableClockSkew()
Returns the allowable clock skew.

Returns:
The allowable clock skew.

isEmptyAddressesAllowed

public boolean isEmptyAddressesAllowed()
Returns:
the isEmptyAddressesAllowed

isForwardableAllowed

public boolean isForwardableAllowed()
Returns:
the isForwardableAllowed

isPostdatedAllowed

public boolean isPostdatedAllowed()
Returns:
the isPostdatedAllowed

isProxiableAllowed

public boolean isProxiableAllowed()
Returns:
the isProxiableAllowed

isRenewableAllowed

public boolean isRenewableAllowed()
Returns:
the isRenewableAllowed

getMaximumRenewableLifetime

public long getMaximumRenewableLifetime()
Returns:
the maximumRenewableLifetime

getMaximumTicketLifetime

public long getMaximumTicketLifetime()
Returns:
the maximumTicketLifetime

setAllowableClockSkew

public void setAllowableClockSkew(long allowableClockSkew)
Parameters:
allowableClockSkew - the allowableClockSkew to set

setEncryptionTypes

public void setEncryptionTypes(org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionType[] encryptionTypes)
Parameters:
encryptionTypes - the encryptionTypes to set

setEmptyAddressesAllowed

public void setEmptyAddressesAllowed(boolean isEmptyAddressesAllowed)
Parameters:
isEmptyAddressesAllowed - the isEmptyAddressesAllowed to set

setForwardableAllowed

public void setForwardableAllowed(boolean isForwardableAllowed)
Parameters:
isForwardableAllowed - the isForwardableAllowed to set

setPaEncTimestampRequired

public void setPaEncTimestampRequired(boolean isPaEncTimestampRequired)
Parameters:
isPaEncTimestampRequired - the isPaEncTimestampRequired to set

setPostdatedAllowed

public void setPostdatedAllowed(boolean isPostdatedAllowed)
Parameters:
isPostdatedAllowed - the isPostdatedAllowed to set

setProxiableAllowed

public void setProxiableAllowed(boolean isProxiableAllowed)
Parameters:
isProxiableAllowed - the isProxiableAllowed to set

setRenewableAllowed

public void setRenewableAllowed(boolean isRenewableAllowed)
Parameters:
isRenewableAllowed - the isRenewableAllowed to set

setKdcPrincipal

public void setKdcPrincipal(java.lang.String kdcPrincipal)
Parameters:
kdcPrincipal - the kdcPrincipal to set

setMaximumRenewableLifetime

public void setMaximumRenewableLifetime(long maximumRenewableLifetime)
Parameters:
maximumRenewableLifetime - the maximumRenewableLifetime to set

setMaximumTicketLifetime

public void setMaximumTicketLifetime(long maximumTicketLifetime)
Parameters:
maximumTicketLifetime - the maximumTicketLifetime to set

setPrimaryRealm

public void setPrimaryRealm(java.lang.String primaryRealm)
Parameters:
primaryRealm - the primaryRealm to set

getPrimaryRealm

public java.lang.String getPrimaryRealm()
Returns the primary realm.

Returns:
The primary realm.

getServicePrincipal

public javax.security.auth.kerberos.KerberosPrincipal getServicePrincipal()
Returns the service principal for this KDC service.

Returns:
The service principal for this KDC service.

getEncryptionTypes

public org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionType[] getEncryptionTypes()
Returns the encryption types.

Returns:
The encryption types.

isPaEncTimestampRequired

public boolean isPaEncTimestampRequired()
Returns whether pre-authentication by encrypted timestamp is required.

Returns:
Whether pre-authentication by encrypted timestamp is required.

isBodyChecksumVerified

public boolean isBodyChecksumVerified()
Returns:
the isBodyChecksumVerified

setBodyChecksumVerified

public void setBodyChecksumVerified(boolean isBodyChecksumVerified)
Parameters:
isBodyChecksumVerified - the isBodyChecksumVerified to set


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.