|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.protocol.shared.AbstractProtocolService
org.apache.directory.server.protocol.shared.DirectoryBackedService
org.apache.directory.server.kerberos.kdc.KdcServer
public class KdcServer
Contains the configuration parameters for the Kerberos protocol provider.
Field Summary |
---|
Fields inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService |
---|
transports |
Constructor Summary | |
---|---|
KdcServer()
Creates a new instance of KdcConfiguration. |
Method Summary | |
---|---|
long |
getAllowableClockSkew()
Returns the allowable clock skew. |
java.util.Set<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(EncryptionType[] encryptionTypes)
Initialize the encryptionTypes set |
void |
setEncryptionTypes(java.util.Set<EncryptionType> encryptionTypes)
Initialize the encryptionTypes set |
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)
|
void |
start()
Starts this ProtocolService which binds acceptors on the protocol port. |
void |
stop()
Stops this ProtocolService which unbinds acceptors on the protocol port. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.directory.server.protocol.shared.DirectoryBackedService |
---|
getSearchBaseDn, isCatelogBased, setCatelogBased, setSearchBaseDn |
Methods inherited from class org.apache.directory.server.protocol.shared.AbstractProtocolService |
---|
addTransports, getDatagramAcceptor, getDirectoryService, getServiceId, getServiceName, getSocketAcceptor, getTransports, isEnabled, isStarted, setDirectoryService, setEnabled, setServiceId, setServiceName, setStarted, setTransports |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KdcServer()
Method Detail |
---|
public 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(java.util.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(java.lang.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(java.lang.String primaryRealm)
primaryRealm
- the primaryRealm to setpublic java.lang.String getPrimaryRealm()
public javax.security.auth.kerberos.KerberosPrincipal getServicePrincipal()
public java.util.Set<EncryptionType> getEncryptionTypes()
public boolean isPaEncTimestampRequired()
public boolean isBodyChecksumVerified()
public void setBodyChecksumVerified(boolean isBodyChecksumVerified)
isBodyChecksumVerified
- the isBodyChecksumVerified to setpublic void start() throws java.io.IOException, org.apache.directory.shared.ldap.exception.LdapInvalidDnException
ProtocolService
java.io.IOException
- if we cannot bind to the sockets
org.apache.directory.shared.ldap.exception.LdapInvalidDnException
public void stop()
ProtocolService
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |