public class KdcSetting extends Object
| Constructor and Description |
|---|
KdcSetting(KdcConfig kdcConfig,
BackendConfig backendConfig) |
KdcSetting(org.apache.kerby.KOptions startupOptions,
KdcConfig config,
BackendConfig backendConfig)
KdcSetting constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowTcp()
Get whether tcp protocol is allowed
|
boolean |
allowUdp()
Get whether udp protocol is allowed
|
int |
checkGetKdcTcpPort()
Check kdc tcp setting and see if any bad.
|
int |
checkGetKdcUdpPort()
Check kdc udp setting and see if any bad.
|
BackendConfig |
getBackendConfig()
Get the backend config.
|
KdcConfig |
getKdcConfig()
Get the KDC config.
|
String |
getKdcHost() |
int |
getKdcPort()
Get kdc port
|
String |
getKdcRealm()
Get KDC realm.
|
int |
getKdcTcpPort()
Get kdc tcp port
|
int |
getKdcUdpPort()
Get kdc udp port
|
public KdcSetting(org.apache.kerby.KOptions startupOptions,
KdcConfig config,
BackendConfig backendConfig)
startupOptions - startup optionsconfig - kdc configurationbackendConfig - backend configurationpublic KdcSetting(KdcConfig kdcConfig, BackendConfig backendConfig)
public KdcConfig getKdcConfig()
public BackendConfig getBackendConfig()
public String getKdcHost()
public int checkGetKdcTcpPort()
throws KrbException
KrbException - epublic int checkGetKdcUdpPort()
throws KrbException
KrbException - epublic int getKdcTcpPort()
public int getKdcPort()
public boolean allowTcp()
public boolean allowUdp()
public int getKdcUdpPort()
public String getKdcRealm()
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.