manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: script to schedule MCF Jobs by crontab login unauthorized
Date Tue, 19 Jun 2018 13:41:25 GMT
There have been no security changes for many releases.

Karl


On Tue, Jun 19, 2018 at 9:25 AM Bisonti Mario <Mario.Bisonti@vimar.com>
wrote:

> Hallo, I used a script to start remotely a job from crontab on MCF 2.9.1
> and it worked
>
> The sam script, now, in MCF 2.10 not ork.
>
>
>
> Now, I tried this command:
>
>
>
> curl -c "cookie" -XPOST 'http://localhost:8080/mcf-api-service/json/LOGIN'
> -d @/SCRIPTS/user.json
>
>
>
> wher user.json:
> {
>
> "user":"admin",
>
> "password":"admin"
>
> }
>
>
>
> And, in the log of Tomcat I obtain the error Unauthorized 401:
>
> POST /mcf-api-service/json/LOGIN HTTP/1.1" 401
>
>
>
> Is the security of command called remotely changed?
>
>
>
> Thanks a lot
>
>
>
> Mario
>

Mime
View raw message