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