public class AdminServerSetting extends Object implements ServerSetting
| Constructor and Description |
|---|
AdminServerSetting(AdminServerConfig adminServerConfig,
BackendConfig backendConfig,
KdcConfig kdcConfig) |
AdminServerSetting(org.apache.kerby.KOptions startupOptions,
AdminServerConfig adminServerConfig,
KdcConfig kdcConfig,
BackendConfig backendConfig)
AdminServerSetting constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowTcp()
Get whether tcp protocol is allowed
|
boolean |
allowUdp()
Get whether udp protocol is allowed
|
int |
checkGetAdminTcpPort()
Check admin tcp setting and see if any bad.
|
int |
checkGetAdminUdpPort()
Check admin udp setting and see if any bad.
|
String |
getAdminHost() |
int |
getAdminPort()
Get admin port
|
String |
getAdminRealm()
Get Admin Server realm.
|
AdminServerConfig |
getAdminServerConfig()
Get the Admin Server config.
|
int |
getAdminTcpPort()
Get admin tcp port
|
int |
getAdminUdpPort()
Get admin udp port
|
BackendConfig |
getBackendConfig()
Get the backend config.
|
KdcConfig |
getKdcConfig()
Get the KDC config of Admin server.
|
String |
getKdcRealm()
Get the realm of KDC of Admin Server.
|
public AdminServerSetting(org.apache.kerby.KOptions startupOptions,
AdminServerConfig adminServerConfig,
KdcConfig kdcConfig,
BackendConfig backendConfig)
startupOptions - startup optionsadminServerConfig - admin configurationkdcConfig - kdc configurationbackendConfig - backend configurationpublic AdminServerSetting(AdminServerConfig adminServerConfig, BackendConfig backendConfig, KdcConfig kdcConfig)
public AdminServerConfig getAdminServerConfig()
public String getKdcRealm()
getKdcRealm in interface ServerSettingpublic KdcConfig getKdcConfig()
getKdcConfig in interface ServerSettingpublic BackendConfig getBackendConfig()
getBackendConfig in interface ServerSettingpublic String getAdminHost()
public int checkGetAdminTcpPort()
throws KrbException
KrbException - epublic int checkGetAdminUdpPort()
throws KrbException
KrbException - epublic int getAdminTcpPort()
public int getAdminPort()
public boolean allowTcp()
public boolean allowUdp()
public int getAdminUdpPort()
public String getAdminRealm()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.