Re: Making specific jenkins request as public request without authentication

2018-09-24 Thread Mukesh Singal
Thankyou Robert & Jesse. It solved my problem. On Monday, September 24, 2018 at 11:35:37 PM UTC+5:30, Jesse Glick wrote: > > On Mon, Sep 24, 2018 at 10:38 AM Robert Sandell > wrote: > > You will probably also need to define a CrumbExclusion. > > Not for GET requests, and for recent versions

Making specific jenkins request as public request without authentication

2018-09-24 Thread Mukesh Singal
Hi Everyone, I have implemented a Remote API which tells slaves *healthCheck *status. But Jenkins redirect users to authenticate first. I want to skip authentication for on a specific below URL. *http://localhost:8080/jenkins/healthCheckPlugin/api/xml* I have tried to create Filter and but

Re: java function call on onclick event

2018-01-25 Thread MUKESH SINGAL
Anyone have any idea how to pass CSRF crumb while making javascript call .. I am kinda blocked on this.. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

java function call on onclick event

2018-01-24 Thread MUKESH SINGAL
Hi , Currenly i am working on a Jenkins plugin where i need to disable job with OnClick event of a button. For this I am calling a java function (doDisable) from Java script onclick event. When I am trying, I am getting below error. Jan 24, 2018 6:48:04 PM hudson.security.csrf.CrumbFilter