public class KdcServer extends DirectoryBackedService
transports| Constructor and Description |
|---|
KdcServer()
Creates a new instance of KdcConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getAllowableClockSkew()
Returns the allowable clock skew.
|
Set<EncryptionType> |
getEncryptionTypes()
Returns the encryption types.
|
long |
getMaximumRenewableLifetime() |
long |
getMaximumTicketLifetime() |
String |
getPrimaryRealm()
Returns the primary realm.
|
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(EncryptionType[] encryptionTypes)
Initialize the encryptionTypes set
|
void |
setEncryptionTypes(Set<EncryptionType> encryptionTypes)
Initialize the encryptionTypes set
|
void |
setForwardableAllowed(boolean isForwardableAllowed) |
void |
setKdcPrincipal(String kdcPrincipal) |
void |
setMaximumRenewableLifetime(long maximumRenewableLifetime) |
void |
setMaximumTicketLifetime(long maximumTicketLifetime) |
void |
setPaEncTimestampRequired(boolean isPaEncTimestampRequired) |
void |
setPostdatedAllowed(boolean isPostdatedAllowed) |
void |
setPrimaryRealm(String primaryRealm) |
void |
setProxiableAllowed(boolean isProxiableAllowed) |
void |
setRenewableAllowed(boolean isRenewableAllowed) |
void |
start()
Starts this ProtocolService which binds acceptors on the protocol port.
|
void |
stop()
Stops this ProtocolService which unbinds acceptors on the protocol port.
|
String |
toString() |
getSearchBaseDn, isCatelogBased, setCatelogBased, setSearchBaseDnaddTransports, getDatagramAcceptor, getDirectoryService, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setDirectoryService, setEnabled, setServiceId, setServiceName, setStarted, setTransportspublic long getAllowableClockSkew()
public boolean isEmptyAddressesAllowed()
public boolean isForwardableAllowed()
public boolean isPostdatedAllowed()
public boolean isProxiableAllowed()
public boolean isRenewableAllowed()
public long getMaximumRenewableLifetime()
public long getMaximumTicketLifetime()
public void setAllowableClockSkew(long allowableClockSkew)
allowableClockSkew - the allowableClockSkew to setpublic void setEncryptionTypes(EncryptionType[] encryptionTypes)
encryptionTypes - the encryptionTypes to setpublic void setEncryptionTypes(Set<EncryptionType> encryptionTypes)
encryptionTypes - the encryptionTypes to setpublic void setEmptyAddressesAllowed(boolean isEmptyAddressesAllowed)
isEmptyAddressesAllowed - the isEmptyAddressesAllowed to setpublic void setForwardableAllowed(boolean isForwardableAllowed)
isForwardableAllowed - the isForwardableAllowed to setpublic void setPaEncTimestampRequired(boolean isPaEncTimestampRequired)
isPaEncTimestampRequired - the isPaEncTimestampRequired to setpublic void setPostdatedAllowed(boolean isPostdatedAllowed)
isPostdatedAllowed - the isPostdatedAllowed to setpublic void setProxiableAllowed(boolean isProxiableAllowed)
isProxiableAllowed - the isProxiableAllowed to setpublic void setRenewableAllowed(boolean isRenewableAllowed)
isRenewableAllowed - the isRenewableAllowed to setpublic void setKdcPrincipal(String kdcPrincipal)
kdcPrincipal - the kdcPrincipal to setpublic void setMaximumRenewableLifetime(long maximumRenewableLifetime)
maximumRenewableLifetime - the maximumRenewableLifetime to setpublic void setMaximumTicketLifetime(long maximumTicketLifetime)
maximumTicketLifetime - the maximumTicketLifetime to setpublic void setPrimaryRealm(String primaryRealm)
primaryRealm - the primaryRealm to setpublic String getPrimaryRealm()
public KerberosPrincipal getServicePrincipal()
public Set<EncryptionType> getEncryptionTypes()
public boolean isPaEncTimestampRequired()
public boolean isBodyChecksumVerified()
public void setBodyChecksumVerified(boolean isBodyChecksumVerified)
isBodyChecksumVerified - the isBodyChecksumVerified to setpublic void start()
throws IOException,
org.apache.directory.shared.ldap.exception.LdapInvalidDnException
ProtocolServiceIOException - if we cannot bind to the socketsorg.apache.directory.shared.ldap.exception.LdapInvalidDnExceptionpublic void stop()
ProtocolServicepublic String toString()
toString in class ObjectObject.toString()Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.