You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I have obtained the value of the JSESSIONID cookie (I've logged in using the plain API, not the java client), I'm trying to create a RundeckClienti with which I could run the other requests to the Rundeck server. Here is a snippet of my code:
where "jsessionid" is the value of the cookie, that I took from the password authentication (it is NOT null). The execution of this snippet throws the following exception:
java.lang.IllegalArgumentException: sessionId cannot be blank
at org.rundeck.api.util.AssertUtil.notBlank(AssertUtil.java:49)
at org.rundeck.api.RundeckClientBuilder.build(RundeckClientBuilder.java:94)
Am I missusing the API? Please, help.
The text was updated successfully, but these errors were encountered:
After I have obtained the value of the JSESSIONID cookie (I've logged in using the plain API, not the java client), I'm trying to create a RundeckClienti with which I could run the other requests to the Rundeck server. Here is a snippet of my code:
RundeckClientBuilder clientBuilder = RundeckClient.builder();
clientBuilder.url(rundeckServerUrl);
clientBuilder.sessionId(jsessionid);
rundeckClient = clientBuilder.build();
where "jsessionid" is the value of the cookie, that I took from the password authentication (it is NOT null). The execution of this snippet throws the following exception:
java.lang.IllegalArgumentException: sessionId cannot be blank
at org.rundeck.api.util.AssertUtil.notBlank(AssertUtil.java:49)
at org.rundeck.api.RundeckClientBuilder.build(RundeckClientBuilder.java:94)
Am I missusing the API? Please, help.
The text was updated successfully, but these errors were encountered: