diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 7233e10..ebda522 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -17,7 +17,7 @@ Steps to reproduce the behavior.
A clear and concise description of what you expected to happen.
**Please complete the following information about the solution:**
-- [ ] Version: [e.g. v1.0.0]
+- [ ] Version: [e.g. v1.0.1]
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0021) - Video On Demand workflow with AWS Step Functions, MediaConvert, MediaPackage, S3, CloudFront and DynamoDB. Version **v5.0.0**_". If the description does not contain the version information, you can look at the mappings section of the template:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c704ac..109ad9e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,45 @@
# Change Log
+
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.0.1] - 2024-07-01
+
+### Fixed
+
+- Fix the outdated segmentCache selection strategy runtime config [#11](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/11)
+- Fix log/metrics endpoints when fips enabled [#14](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/14)
+
+### Added
+
+- allow solution to config internal system [#7](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/7)
+- Update zk netplan render to handle docker bridge network interface[#8](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/8)
+- add support to define custom oidc scopes [#9](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/9)
+- Bump CloudWatch Synthetics runtime version [#10](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/10)
+- Add vpc to all lambdas, allow users to self manage install bucket assets [#15](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/15)
+- setup nvme disk for data/historical/middlemanager [#16](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/16)
+- Use proper cfn endpoint, update name tag to include tier [#22](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/22)
+- adding graceful shutdown for druid process [#23](https://github.com/aws-solutions/scalable-analytics-using-apache-druid-on-aws/pull/23)
+
+### Changed
+
+- for pac4j version change: OidcAuthenticator.java, OidcConfig.java, OidcFilter.java, OidcSessionStore.java
+- ec2 user data for provisioning changes
+- deprecated RDS certificate name changed from RDS_CA_RDS2048_G1 to RDS_CA_RSA2048_G1
+- deprecated CloudWatch VPC endpoint name changed from CLOUDWATCH to CLOUDWATCH_MONITORING
+- README instructions
+- cdk version updated to 2.146.0
+- Druid release to 29.0.1
+- braces package to 3.0.3 due to CVE-2024-4068
+- unit test improvements
+- pac4j package to 4.5.7 due to CVE-2021-44878
+- druid-oidc to 29.0.1
+- guava to 32.0.0-jre due to CVE-2023-2976
+
## [1.0.0] - 2024-01-09
+
### Added
+
- All files, initial version
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 67db858..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,175 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
diff --git a/NOTICE b/NOTICE
deleted file mode 100644
index 616fc58..0000000
--- a/NOTICE
+++ /dev/null
@@ -1 +0,0 @@
-Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
diff --git a/NOTICE.txt b/NOTICE.txt
index 2041dcb..62f7c2f 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -13,7 +13,7 @@ This software includes third party software subject to the following copyrights:
./source
==========
-@aws-cdk/lambda-layer-kubectl-v23@2.0.8 Apache-2.0
+@aws-cdk/lambda-layer-kubectl-v29@2.0.0 Apache-2.0
@aws-cdk/aws-servicecatalogappregistry-alpha@2.99.1-alpha.0 Apache-2.0
@aws-sdk/client-elastic-load-balancing-v2@3.421.0 Apache-2.0
@aws-sdk/client-route-53@3.370.0 Apache-2.0
diff --git a/deployment/build-s3-dist.sh b/deployment/build-s3-dist.sh
index d90d156..91f40e5 100755
--- a/deployment/build-s3-dist.sh
+++ b/deployment/build-s3-dist.sh
@@ -21,7 +21,7 @@
# Parameters:
# - source-bucket-base-name: Name for the S3 bucket location where the template will source the Lambda
# code from. The template will append '-[region_name]' to this bucket name.
-# For example: ./build-s3-dist.sh solutions v1.0.0
+# For example: ./build-s3-dist.sh solutions v1.0.1
# The template will then expect the source code to be located in the solutions-[region_name] bucket
# - solution-name: name of the solution for consistency
# - version-code: version of the package
@@ -33,7 +33,7 @@ normal=$(tput sgr0)
# SETTINGS
#------------------------------------------------------------------------------
# Important: CDK global version number
-cdk_version=2.115.0
+cdk_version=2.140.0
# Note: should match package.json
template_format="json"
run_helper="false"
@@ -60,7 +60,7 @@ usage()
{
echo "Usage: $0 bucket solution-name version"
echo "Please provide the base source bucket name, trademarked solution name, and version."
- echo "For example: ./build-s3-dist.sh mybucket my-solution v1.0.0"
+ echo "For example: ./build-s3-dist.sh mybucket my-solution v1.0.1"
exit 1
}
diff --git a/source/DruidCloudwatchExtension/pom.xml b/source/DruidCloudwatchExtension/pom.xml
index 2263bf2..aa8db87 100644
--- a/source/DruidCloudwatchExtension/pom.xml
+++ b/source/DruidCloudwatchExtension/pom.xml
@@ -26,7 +26,7 @@
org.projectlomboklombok
- 1.18.20
+ 1.18.30
@@ -37,7 +37,7 @@
junitjunit
- 4.12
+ 4.13.1test
@@ -157,4 +157,4 @@
-
\ No newline at end of file
+
diff --git a/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitter.java b/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitter.java
index 10fea7e..ccc5e7b 100644
--- a/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitter.java
+++ b/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitter.java
@@ -81,7 +81,8 @@ public class CloudwatchEmitter implements Emitter {
private final ObjectMapper jsonMapper;
- private final CloudwatchEmitterConfig config;
+ // set to nosonar because it causes a false positive
+ private final CloudwatchEmitterConfig config; // NOSONAR
private final DruidMonitoringMetricsFactory druidMonitoringMetricsFactory;
diff --git a/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfig.java b/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfig.java
index fd65025..c08ce95 100644
--- a/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfig.java
+++ b/source/DruidCloudwatchExtension/src/main/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfig.java
@@ -24,7 +24,7 @@
@Data
public class CloudwatchEmitterConfig {
static final int CLOUDWATCH_METRICS_MEMORY_LIMIT = 100000000;
- static final String SOLUTION_VERSION = "v1.0.0";
+ static final String SOLUTION_VERSION = "v1.0.1";
@JsonProperty("batchSize")
@Nullable
diff --git a/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfigTest.java b/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfigTest.java
index 5c5e681..87b88a8 100644
--- a/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfigTest.java
+++ b/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterConfigTest.java
@@ -57,7 +57,7 @@ public void testGetBatchSize_withDefaultBatchSize() {
@Test
public void testToString_withValidConfig() {
// arrange
- CloudwatchEmitterConfig config = new CloudwatchEmitterConfig("test-cluster", 200, "v1.0.0");
+ CloudwatchEmitterConfig config = new CloudwatchEmitterConfig("test-cluster", 200, "v1.0.1");
// act
String actual = config.toString();
@@ -65,7 +65,7 @@ public void testToString_withValidConfig() {
// assert
Assert.assertTrue(actual.contains("test-cluster"));
Assert.assertTrue(actual.contains("200"));
- Assert.assertTrue(actual.contains("v1.0.0"));
+ Assert.assertTrue(actual.contains("v1.0.1"));
Assert.assertTrue(actual.contains("CloudwatchEmitterConfig"));
}
diff --git a/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterTest.java b/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterTest.java
index 12a7df5..a01f43c 100644
--- a/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterTest.java
+++ b/source/DruidCloudwatchExtension/src/test/java/com/amazon/solutions/druid/cloudwatch/CloudwatchEmitterTest.java
@@ -30,6 +30,8 @@
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.mockito.Spy;
+
+import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
@@ -37,6 +39,8 @@
import com.amazonaws.services.cloudwatch.model.PutMetricDataRequest;
import com.amazonaws.services.cloudwatch.model.StandardUnit;
import static org.junit.Assert.*;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Mockito.*;
public class CloudwatchEmitterTest {
@@ -95,8 +99,17 @@ public void testSendMetricToCloudwatch() throws InterruptedException {
eventMetricDatum.setMetricName("event-metric");
eventMetricDatum.setValue(1.0);
eventMetricDatum.setUnit(StandardUnit.Count);
+
+ Dimension dimensionEventMetric = new Dimension();
+ dimensionEventMetric.setName("test-dimension");
+ dimensionEventMetric.setValue("test-value");
+ List dimensionsEventMetric = new ArrayList<>();
+ dimensionsEventMetric.add(dimensionEventMetric);
+
eventMetricDatum.setDimensions(
- List.of(new Dimension().withName("test-dimension").withValue("test-value")));
+ dimensionsEventMetric
+ );
+
ObjectContainer eventMetricContainer =
emitter.getObjectContainer(eventMetricDatum);
metricQueue.offer(eventMetricContainer);
@@ -105,8 +118,15 @@ public void testSendMetricToCloudwatch() throws InterruptedException {
alertMetricDatum.setMetricName("alert-metric");
alertMetricDatum.setValue(1.0);
alertMetricDatum.setUnit(StandardUnit.Count);
+
+ Dimension dimensionAlertMetric = new Dimension();
+ dimensionAlertMetric.setName("test-dimension");
+ dimensionAlertMetric.setValue("test-value");
+ List dimensionsAlertMetric = new ArrayList<>();
+ dimensionsAlertMetric.add(dimensionEventMetric);
+
alertMetricDatum.setDimensions(
- List.of(new Dimension().withName("test-dimension").withValue("test-value")));
+ dimensionsAlertMetric);
ObjectContainer alertMetricContainer =
emitter.getObjectContainer(alertMetricDatum);
alertQueue.offer(alertMetricContainer);
diff --git a/source/DruidOidcExtension/pom.xml b/source/DruidOidcExtension/pom.xml
index cbf5689..b806345 100644
--- a/source/DruidOidcExtension/pom.xml
+++ b/source/DruidOidcExtension/pom.xml
@@ -26,15 +26,15 @@
druid-oidcdruid-oidcdruid-oidc
- 25.0.0
+ 29.0.1
- 3.8.3
+ 4.5.71.7
- 7.9
- 6.5
+ 8.22.1
+ 8.22881.8
@@ -44,7 +44,7 @@
org.apache.druiddruid-server
- 25.0.0
+ 29.0.1provided
@@ -56,7 +56,7 @@
org.apache.druiddruid-processing
- 25.0.0
+ 29.0.1provided
@@ -90,7 +90,7 @@
com.google.guavaguava
- 25.0-jre
+ 32.0.0-jreprovided
@@ -111,12 +111,6 @@
provided2.10.0
-
- org.apache.druid
- druid-core
- 25.0.0
- provided
- org.pac4jpac4j-core
@@ -133,7 +127,13 @@
junitjunittest
- 4.13
+ 4.13.1
+
+
+ org.mockito
+ mockito-core
+ test
+ 5.0.0org.easymock
diff --git a/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcAuthenticator.java b/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcAuthenticator.java
index 431828a..981a3b7 100644
--- a/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcAuthenticator.java
+++ b/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcAuthenticator.java
@@ -148,4 +148,4 @@ private Config createPac4jConfig(OidcConfig oidcConfig) {
return new Config(OidcCallbackResource.SELF_URL, oidcClient);
}
-}
+}
\ No newline at end of file
diff --git a/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcConfig.java b/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcConfig.java
index 1b513ca..bc2adca 100644
--- a/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcConfig.java
+++ b/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcConfig.java
@@ -142,4 +142,4 @@ public String getDruidUsername() {
public PasswordProvider getDruidPassword() {
return druidPassword;
}
-}
+}
\ No newline at end of file
diff --git a/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcFilter.java b/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcFilter.java
index f2d12ae..808a129 100644
--- a/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcFilter.java
+++ b/source/DruidOidcExtension/src/main/java/com/amazon/solutions/druid/oidc/OidcFilter.java
@@ -23,14 +23,15 @@
import org.apache.druid.server.security.AuthConfig;
import org.apache.druid.server.security.AuthenticationResult;
import org.pac4j.core.config.Config;
-import org.pac4j.core.context.J2EContext;
+import org.pac4j.core.context.JEEContext;
import org.pac4j.core.context.session.SessionStore;
import org.pac4j.core.engine.CallbackLogic;
import org.pac4j.core.engine.DefaultCallbackLogic;
import org.pac4j.core.engine.DefaultSecurityLogic;
import org.pac4j.core.engine.SecurityLogic;
-import org.pac4j.core.http.adapter.HttpActionAdapter;
+import org.pac4j.core.http.adapter.JEEHttpActionAdapter;
import org.pac4j.core.profile.CommonProfile;
+import org.pac4j.core.profile.UserProfile;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
@@ -48,11 +49,9 @@ public class OidcFilter implements Filter {
private final Config pac4jConfig;
private final OidcConfig oidcConfig;
- private final SecurityLogic securityLogic;
- private final CallbackLogic callbackLogic;
- private final SessionStore sessionStore;
- private static final HttpActionAdapter NOOP_HTTP_ACTION_ADAPTER = (int code,
- J2EContext ctx) -> null;
+ private final SecurityLogic