manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: MCF API Services
Date Tue, 09 Jun 2015 08:21:57 GMT
org.apache.manifoldcf.core.system.ManifoldCF.obfuscate(String) will
obfuscate a password.

Karl


On Tue, Jun 9, 2015 at 4:12 AM, Smitha S <Smitha_S09@infosys.com> wrote:

>  Thanks Karl.
>
>
>
> As per our requirement, the connectors needs to be created on the go. So I
> think I should programmatically obfuscate the password. Do I need to use
> the obfuscation-utility or is there any MCF jar I can use to do this
> programmatically.
>
>
>
> For getting the history, is there any REST API available? I can see
> “History query parameters” mentioned in link
> http://manifoldcf.apache.org/release/trunk/en_US/programmatic-operation.html
>
> But not sure how to form the URL.
>
>
>
> Appreciate your help very much.
>
>
>
> Thanks & Regards,
>
> Smitha
>
>
>
> *From:* Karl Wright [mailto:daddywri@gmail.com]
> *Sent:* Tuesday, June 9, 2015 1:29 PM
> *To:* Smitha S
> *Subject:* Re: MCF API Services
>
>
>
> Hi Smitha,
>
> (1) The passwords need to be obfuscated.  Probably the safest thing to do
> is to obfuscate them by hand using the script provided.  But you can also
> obfuscate them programmatically.
>
> (2) The job status will contain only the current job information.  To get
> history, you need to fetch the job's history information and filter it
> accordingly.
>
> Thanks,
>
> Karl
>
>
>
> On Mon, Jun 8, 2015 at 9:18 PM, Smitha S <Smitha_S09@infosys.com> wrote:
>
>  Hi Karl,
>
>
>
> I am using MCF REST API services for creating connectors and jobs. I am
> stuck in two places. Could you please help me here.
>
>
>
> 1.       Repository Connector Creation: How do we specify password for
> creating a repository connector with window share. Is MCF expecting the
> password to be encrypted in any special format. When I try to pass the
> password as a normal string, the connector is created with a connection
> status as “Couldn't connect to server: Logon failure: unknown user name or
> bad password.”. How do I pass password here.
>
>
>
> 2.       Job Status history: I have created and scheduled a job using MCF
> Rest API. The requirement is to get the job running history with info of
> job start time, job end time, number of documents processed etc. Using
> jobstatus/jobid, I can get the last job run details. But how do I fetch the
> previous run details.
>
>
>
> Could you please provide some insights for the above two points. I really
> appreciate your help in resolving all MCF queries.
>
>
>
> Thanks in advance
>
>
>
> Regards,
>
> Smitha
>
>
>
>
>

Mime
View raw message