Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #10 from jenkinsci/typo-fix
Browse files Browse the repository at this point in the history
[JENKINS-44894] - Fix typo in the System property
  • Loading branch information
oleg-nenashev committed Jun 16, 2017
2 parents 4957ee2 + 2cb912b commit 7ce7d17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -20,14 +20,14 @@ The default lifetime of these cookies is 1 day, hence in some cases you may get

Starting from version `TODO`, it is possible to customize the behavior via System Properties:

* `executableWar.jetty.disableCustomSeesionIdCookieName` -
* `executableWar.jetty.disableCustomSessionIdCookieName` -
(`boolean`, default: `false`) -
Disables usage of the custom cookie names when starting the WAR file.
If the flag is specified, the session ID will be defined by the internal Jetty logic.
In such case it becomes configurable via [Jetty configuration](http://www.eclipse.org/jetty/documentation/9.4.x/quick-start-configure.html) (XML config file, etc.).
* `executableWar.jetty.sessionIdCookieName` -
(`string`, default: `null`) -
Sets a custom Session ID Cookie name when `disableCustomSeesionIdCookieName` is `false`.
Sets a custom Session ID Cookie name when `disableCustomSessionIdCookieName` is `false`.
In such case the Jenkins administrator is responsible for preventing cookie collisions between Jenkins instances.


2 changes: 1 addition & 1 deletion src/main/java/Main.java
Expand Up @@ -84,7 +84,7 @@ public class Main {
* @since TODO
*/
private static final boolean DISABLE_CUSTOM_JSESSIONID_COOKIE_NAME =
Boolean.getBoolean("executableWar.jetty.disableCustomSeesionIdCookieName");
Boolean.getBoolean("executableWar.jetty.disableCustomSessionIdCookieName");

/**
* Reads <tt>WEB-INF/classes/dependencies.txt and builds "groupId:artifactId" -> "version" map.
Expand Down

0 comments on commit 7ce7d17

Please sign in to comment.