/** * Constructor with conf dir * @param confDir The conf dir * @throws KrbException e */ public KrbClientBase(File confDir) throws KrbException { this.commonOptions = new KOptions(); this.krbConfig = ClientUtil.getConfig(confDir); this.krbSetting = new KrbSetting(commonOptions, krbConfig); }
/** * Constructor with conf dir * @param confDir The conf dir * @throws KrbException e */ public KrbClientBase(File confDir) throws KrbException { this.commonOptions = new KOptions(); this.krbConfig = ClientUtil.getConfig(confDir); this.krbSetting = new KrbSetting(commonOptions, krbConfig); }
krbConfig = ClientUtil.getConfig(confDir); } catch (KrbException e) { throw new HasException("Errors occurred when getting the config from conf dir. "
krbConfig = ClientUtil.getConfig(confDir); } catch (KrbException e) { throw new HasException("Errors occurred when getting the config from conf dir. "