/// <summary> /// Creates an object that provides the relogin mechanism. /// </summary> /// <param name="ixClient">IXClient object</param> /// <param name="ci">ClientInfo object</param> /// <param name="userName">User name</param> /// <param name="userPwd">User password</param> /// <param name="computerName">Computer name</param> /// <param name="runAs">Run as user</param> /// <param name="reportAs">Report as user</param> /// <param name="sessOpts">Session options</param> /// <param name="sso">Use Single Sign On supplied by ixlogin servlet.</param> /// <returns>Login object</returns> protected override IXConnLogin InternalCreateLoginObject(IXClient ixClient, ClientInfo ci, String userName, String userPwd, String computerName, String runAs, String reportAs, IXProperties sessOpts, bool sso) { IXConnLogin ixsl = new FWConnLoginEventHandler(ixClientVal, ci); return(ixsl); }
protected BaseCommand(IXClient client, Settings settings, T parameters, CheckResult checkResult) { Settings = settings; Parameters = parameters; Client = client; CheckResult = checkResult; Log.Debug("Created BaseCommand"); }
/// <summary> /// Creates a connection to IndexServer that is initialized by the /// session ticket of ELOFS. /// </summary> /// <param name="arcName">Archive name</param> /// <returns>Connection to IndexServer</returns> protected virtual FSConnection CreateConnection(String arcName) { String login_properties = getLoginPropertiesFileName(arcName); IXProperties lprops = new IXProperties(); lprops.Read(login_properties); String url = lprops["url"]; IXClient ixClient = new IXClient(url, nbOfConnections, timeoutSeconds); FSConnLogin connLogin = new FSConnLogin(ixClient, login_properties); IXProperties connProps = new IXProperties(); FSConnection conn = new FSConnection(config, arcName, new IXConnection(ixClient, connLogin, connProps)); return(conn); }
public TomcatCommand(IXClient client, Settings settings, TomcatParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
protected EloCommand(IXClient client, Settings settings, T parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
public WorkflowNodesCommand(IXClient client, Settings settings, WorkflowNodesParameters parameters, CheckResult checkResult) : base( client, settings, parameters, checkResult) { }
public FileUploadCommand(IXClient client, Settings settings, FileUploadParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
public PasswordCommand(IXClient client, Settings settings, PasswordParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
public LoginCommand(IXClient client, Settings settings, EloLoginParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
/// <summary> /// Constructor. IXConnFactory calls this constructor. /// </summary> /// <param name="ix">IndexServer interface object</param> /// <param name="ci">ClientInfo object.</param> public FWConnLoginEventHandler(IXClient ix, ClientInfo ci) : base(ix, ci, "", new IXProperties(), new IXProperties()) { }
public DocCountCommand(IXClient client, Settings settings, DocCountParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
public WebappCommand(IXClient client, Settings settings, WebappParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { Log.Debug("Created Webapp Command"); }
public OcrCommand(IXClient client, Settings settings, OcrParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
public SqlConnectionCommand(IXClient client, Settings settings, SqlConnectionParameters parameters, CheckResult checkResult) : base( client, settings, parameters, checkResult) { }
public IxSessionCommand(IXClient client, Settings settings, IxSessionParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult) { }
/// <summary> /// Constructor /// </summary> /// <param name="ix">IndexServer interface object</param> /// <param name="loginProperties">Path of login.properties</param> public FSConnLogin(IXClient ix, String loginProperties) : base(ix, new ClientInfo(), "", new IXProperties(), new IXProperties()) { this.loginProperties = loginProperties; login(); }