Skip to content

Commit

Permalink
JWt 4.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias committed Jan 20, 2025
1 parent f8bd612 commit 51d8acb
Show file tree
Hide file tree
Showing 120 changed files with 1,294 additions and 292 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<project name="jwt" default="all" basedir=".">
<!-- Name of project and version -->
<property name="proj.name" value="jwt"/>
<property name="proj.version" value="4.11.1"/>
<property name="proj.version" value="4.11.2"/>

<!-- Global properties for this build -->
<property name="src.java.dir" value="src"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/bobsmith/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/charts/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/composer/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/dialog/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/dragdrop/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
4 changes: 2 additions & 2 deletions examples/feature/auth1/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-auth-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-auth-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-simple-1.7.25.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/vt-password/bcprov-jdk15-1.45.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/feature/itemmodel/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/feature/mediaplayer/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/feature/serverpush/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/filetreetable/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/form/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/googlemap/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-mvn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>eu.webtoolkit</groupId>
<artifactId>jwt</artifactId>
<version>4.11.1</version>
<version>4.11.2</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion examples/hello/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/hellowidgetset/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/javascript/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/mandelbrot/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/mission/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/painting/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/planner/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/simplechat/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/style/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/textedit/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/treeview/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/servlet-api/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/treeviewdragdrop/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/gson-2.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
2 changes: 1 addition & 1 deletion examples/widgetgallery/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jakarta.servlet-api-4.0.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jwt-4.11.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-1.4.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.7.25.jar"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,14 @@ WWidget StyledTable() {
}

WWidget Tree() {
WContainerWidget container = new WContainerWidget();
WTree tree = new WTree();
container.addWidget(tree);
tree.setSelectionMode(SelectionMode.Extended);
WIconPair folderIcon =
new WIconPair("icons/yellow-folder-closed.png", "icons/yellow-folder-open.png", false);
WTreeNode node = new WTreeNode("Furniture", folderIcon);
final WTreeNode furnitureNode = node;
tree.setTreeRoot(node);
tree.getTreeRoot().getLabel().setTextFormat(TextFormat.Plain);
tree.getTreeRoot().setLoadPolicy(ContentLoading.NextLevel);
Expand All @@ -208,7 +211,29 @@ WWidget Tree() {
subtree_.addChildNode(new WTreeNode("Dopey"));
subtree_.addChildNode(new WTreeNode("Bashful"));
subtree_.addChildNode(new WTreeNode("Sleepy"));
return tree;
WPushButton imageButton = new WPushButton("Use Image Icons");
container.addWidget(imageButton);
imageButton
.clicked()
.addListener(
this,
() -> {
WIconPair icon =
new WIconPair(
"icons/yellow-folder-closed.png", "icons/yellow-folder-open.png", false);
furnitureNode.setLabelIcon(icon);
});
WPushButton FAButton = new WPushButton("Use Font-Awesome Icons");
container.addWidget(FAButton);
FAButton.clicked()
.addListener(
this,
() -> {
WIconPair icon = new WIconPair("folder", "folder-open", false);
icon.setIconsType(WIconPair.IconType.IconName);
furnitureNode.setLabelIcon(icon);
});
return container;
}

static WTreeTableNode addNode(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package eu.webtoolkit.jwt.examples.widgetgallery;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

Expand All @@ -24,6 +25,38 @@ public WidgetGalleryServlet() {
setTinyMCEVersion(4);
getProperties().put("leafletJSURL", "https://unpkg.com/[email protected]/dist/leaflet.js");
getProperties().put("leafletCSSURL", "https://unpkg.com/[email protected]/dist/leaflet.css");
setBotList(new ArrayList<String>(
List.of(".*Slurp.*",
".*crawl.*",
".*Crawl.*",
".*bot.*",
".*Bot.*",
".*spider.*",
".*Spider.*",
".*ia_archiver.*",
".*Twiceler.*",
".*Yandex.*",
".*Nutch.*",
".*Ezooms.*",
".*Scrapy.*",
".*Buck.*",
".*Barkrowler.*",
".*Censys.*",
".*Blogtrottr.*",
".*InternetMeasurement.*",
".*Owler.*",
".*centuryb.o.t9.*",
".*Turnitin.*",
".*MatchorySearch.*",
".*newspaper.*",
".*Go-http-client.*",
".*Mojolicious.*",
".*python-requests.*",
".*Python.*",
".*python-urllib.*",
".*Apache-HttpClient.*",
".*com.apple.WebKit.Networking.*",
".*NetworkingExtension.*")));
}

@Override
Expand Down
Loading

0 comments on commit 51d8acb

Please sign in to comment.