Skip to content

Commit e335554

Browse files
authored
Merge branch 'master' into patch-11
2 parents 37b8b31 + e354e5d commit e335554

File tree

98 files changed

+1562
-1081
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1562
-1081
lines changed

build/checkstyle-import.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<allow pkg="java.security"/>
3939

4040
<allow pkg="org.apache.catalina"/>
41+
<allow pkg="org.apache.coyote"/>
4142

4243
<!-- chai -->
4344
<allow pkg="com.novell.ldapchai"/>

client/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@
1818
<project.root.basedir>${project.basedir}/..</project.root.basedir>
1919
</properties>
2020

21+
<profiles>
22+
<profile>
23+
<id>skip-frontend</id>
24+
<properties>
25+
<skip.npm>true</skip.npm>
26+
</properties>
27+
</profile>
28+
</profiles>
29+
2130
<build>
2231
<plugins>
2332
<plugin>

data-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<dependency>
141141
<groupId>org.apache.commons</groupId>
142142
<artifactId>commons-lang3</artifactId>
143-
<version>3.8.1</version>
143+
<version>3.9</version>
144144
</dependency>
145145
<dependency>
146146
<groupId>com.sun.mail</groupId>

data-service/src/main/java/password/pwm/receiver/SummaryBean.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,8 @@ static SummaryBean fromStorage( final Storage storage, final TimeDuration maxAge
125125
final Statistic statistic = Statistic.forKey( statKey );
126126
if ( statistic != null )
127127
{
128-
if ( statistic.getType() == Statistic.Type.INCREMENTER )
129-
{
130-
final int count = Integer.parseInt( bean.getStatistics().get( statKey ) );
131-
incrementCounterMap( statCount, statistic.getLabel( null ), count );
132-
}
128+
final int count = Integer.parseInt( bean.getStatistics().get( statKey ) );
129+
incrementCounterMap( statCount, statistic.getLabel( null ), count );
133130
}
134131
}
135132
}

docker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<plugin>
3535
<groupId>com.google.cloud.tools</groupId>
3636
<artifactId>jib-maven-plugin</artifactId>
37-
<version>1.0.2</version>
37+
<version>1.1.0</version>
3838
<executions>
3939
<execution>
4040
<id>make-docker-image</id>

onejar/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<properties>
1919
<project.root.basedir>${project.basedir}/..</project.root.basedir>
20-
<tomcat.version>9.0.16</tomcat.version>
20+
<tomcat.version>9.0.19</tomcat.version>
2121
</properties>
2222

2323
<build>

onejar/src/main/java/password/pwm/onejar/TomcatOnejarRunner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.apache.catalina.connector.Connector;
2626
import org.apache.catalina.startup.Tomcat;
2727
import org.apache.catalina.util.ServerInfo;
28+
import org.apache.coyote.http2.Http2Protocol;
2829

2930
import javax.servlet.ServletException;
3031
import java.io.BufferedReader;
@@ -159,6 +160,7 @@ private Connector makeConnector( final OnejarConfig onejarConfig, final Properti
159160
}
160161
connector.setSecure( true );
161162
connector.setScheme( "https" );
163+
connector.addUpgradeProtocol( new Http2Protocol() );
162164
connector.setAttribute( "SSLEnabled", "true" );
163165
connector.setAttribute( "keystoreFile", onejarConfig.getKeystoreFile().getAbsolutePath() );
164166
connector.setAttribute( "keystorePass", onejarConfig.getKeystorePass() );

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
<dependency>
248248
<groupId>com.github.spotbugs</groupId>
249249
<artifactId>spotbugs</artifactId>
250-
<version>3.1.12</version>
250+
<version>4.0.0-beta1</version>
251251
</dependency>
252252
</dependencies>
253253
<configuration>
@@ -291,7 +291,7 @@
291291
<dependency>
292292
<groupId>com.github.spotbugs</groupId>
293293
<artifactId>spotbugs-annotations</artifactId>
294-
<version>3.1.12</version>
294+
<version>4.0.0-beta1</version>
295295
<scope>provided</scope>
296296
</dependency>
297297
</dependencies>

server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
<dependency>
250250
<groupId>org.apache.commons</groupId>
251251
<artifactId>commons-lang3</artifactId>
252-
<version>3.8.1</version>
252+
<version>3.9</version>
253253
</dependency>
254254
<dependency>
255255
<groupId>commons-validator</groupId>

server/src/main/java/password/pwm/AppProperty.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public enum AppProperty
7878
CONFIG_EDITOR_QUERY_FILTER_TEST_LIMIT ( "configEditor.queryFilter.testLimit" ),
7979
CONFIG_EDITOR_IDLE_TIMEOUT ( "configEditor.idleTimeoutSeconds" ),
8080
CONFIG_GUIDE_IDLE_TIMEOUT ( "configGuide.idleTimeoutSeconds" ),
81-
CONFIG_MANAGER_ZIPDEBUG_MAXLOGLINES ( "configManager.zipDebug.maxLogLines" ),
81+
CONFIG_MANAGER_ZIPDEBUG_MAXLOGBYTES ( "configManager.zipDebug.maxLogBytes" ),
8282
CONFIG_MANAGER_ZIPDEBUG_MAXLOGSECONDS ( "configManager.zipDebug.maxLogSeconds" ),
8383
CLUSTER_DB_ENABLE ( "cluster.db.enable" ),
8484
CLUSTER_DB_HEARTBEAT_SECONDS ( "cluster.db.heartbeatSeconds" ),
@@ -194,6 +194,8 @@ public enum AppProperty
194194
HEALTHCHECK_MIN_CHECK_INTERVAL ( "healthCheck.minimumCheckIntervalSeconds" ),
195195
HEALTHCHECK_MAX_RECORD_AGE ( "healthCheck.maximumRecordAgeSeconds" ),
196196
HEALTHCHECK_MAX_FORCE_WAIT ( "healthCheck.maximumForceCheckWaitSeconds" ),
197+
HEALTH_SUPPORT_BUNDLE_WRITE_INTERVAL_SECONDS ( "health.supportBundle.file.writeIntervalSeconds" ),
198+
HEALTH_SUPPORT_BUNDLE_FILE_WRITE_COUNT ( "health.supportBundle.file.writeRetentionCount" ),
197199
HEALTH_CERTIFICATE_WARN_SECONDS ( "health.certificate.warnSeconds" ),
198200
HEALTH_LDAP_CAUTION_DURATION_MS ( "health.ldap.cautionDurationMS" ),
199201
HEALTH_LDAP_PROXY_WARN_PW_EXPIRE_SECONDS ( "health.ldap.proxy.pwExpireWarnSeconds" ),

0 commit comments

Comments
 (0)