public final class AdminUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static AdminConfig |
getConfig(File confDir)
Load krb5.conf from specified conf dir.
|
static AdminConfig |
getDefaultConfig()
Load default krb5.conf
|
static org.apache.kerby.kerberos.kerb.transport.TransportPair |
getTransportPair(AdminSetting setting)
Get KDC network transport addresses according to krb client setting.
|
public static AdminConfig getConfig(File confDir) throws KrbException
confDir - The conf dirKrbException - epublic static AdminConfig getDefaultConfig() throws KrbException
KrbException - epublic static org.apache.kerby.kerberos.kerb.transport.TransportPair getTransportPair(AdminSetting setting) throws KrbException
setting - The krb settingKrbException - eCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.