Exemple #1
0
        /// <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);
        }
Exemple #2
0
        protected BaseCommand(IXClient client, Settings settings, T parameters, CheckResult checkResult)
        {
            Settings    = settings;
            Parameters  = parameters;
            Client      = client;
            CheckResult = checkResult;

            Log.Debug("Created BaseCommand");
        }
Exemple #3
0
        /// <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)
 {
 }
Exemple #5
0
 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)
 {
 }
Exemple #7
0
 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)
 {
 }
Exemple #9
0
 public LoginCommand(IXClient client, Settings settings, EloLoginParameters parameters, CheckResult checkResult) : base(client, settings,
                                                                                                                        parameters, checkResult)
 {
 }
Exemple #10
0
 /// <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())
 {
 }
Exemple #11
0
 public DocCountCommand(IXClient client, Settings settings, DocCountParameters parameters, CheckResult checkResult) : base(client,
                                                                                                                           settings, parameters, checkResult)
 {
 }
Exemple #12
0
 public WebappCommand(IXClient client, Settings settings, WebappParameters parameters, CheckResult checkResult) : base(client, settings,
                                                                                                                       parameters, checkResult)
 {
     Log.Debug("Created Webapp Command");
 }
Exemple #13
0
 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)
 {
 }
Exemple #15
0
 public IxSessionCommand(IXClient client, Settings settings, IxSessionParameters parameters, CheckResult checkResult) : base(client,
                                                                                                                             settings, parameters, checkResult)
 {
 }
Exemple #16
0
 /// <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();
 }