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

            Log.Debug("Created BaseCommand");
        }
예제 #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);
        }
예제 #4
0
 public TomcatCommand(IXClient client, Settings settings, TomcatParameters parameters, CheckResult checkResult) : base(client, settings,
                                                                                                                       parameters, checkResult)
 {
 }
예제 #5
0
 protected EloCommand(IXClient client, Settings settings, T parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult)
 {
 }
예제 #6
0
 public WorkflowNodesCommand(IXClient client, Settings settings, WorkflowNodesParameters parameters, CheckResult checkResult) : base(
         client, settings, parameters, checkResult)
 {
 }
예제 #7
0
 public FileUploadCommand(IXClient client, Settings settings, FileUploadParameters parameters, CheckResult checkResult) : base(client,
                                                                                                                               settings, parameters, checkResult)
 {
 }
예제 #8
0
 public PasswordCommand(IXClient client, Settings settings, PasswordParameters parameters, CheckResult checkResult) : base(client, settings, parameters, checkResult)
 {
 }
예제 #9
0
 public LoginCommand(IXClient client, Settings settings, EloLoginParameters parameters, CheckResult checkResult) : base(client, settings,
                                                                                                                        parameters, checkResult)
 {
 }
예제 #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())
 {
 }
예제 #11
0
 public DocCountCommand(IXClient client, Settings settings, DocCountParameters parameters, CheckResult checkResult) : base(client,
                                                                                                                           settings, parameters, checkResult)
 {
 }
예제 #12
0
 public WebappCommand(IXClient client, Settings settings, WebappParameters parameters, CheckResult checkResult) : base(client, settings,
                                                                                                                       parameters, checkResult)
 {
     Log.Debug("Created Webapp Command");
 }
예제 #13
0
 public OcrCommand(IXClient client, Settings settings, OcrParameters parameters, CheckResult checkResult) : base(client, settings,
                                                                                                                 parameters, checkResult)
 {
 }
예제 #14
0
 public SqlConnectionCommand(IXClient client, Settings settings, SqlConnectionParameters parameters, CheckResult checkResult) : base(
         client, settings, parameters, checkResult)
 {
 }
예제 #15
0
 public IxSessionCommand(IXClient client, Settings settings, IxSessionParameters parameters, CheckResult checkResult) : base(client,
                                                                                                                             settings, parameters, checkResult)
 {
 }
예제 #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();
 }