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
Copy file name to clipboardExpand all lines: README.md
+8-5
Original file line number
Diff line number
Diff line change
@@ -78,16 +78,19 @@ Refer to [Repository and proxy modifications](https://openliberty.io/docs/ref/co
78
78
79
79
## Enterprise Functionality
80
80
81
-
This section describes the optional enterprise functionality that can be enabled via the Dockerfile during `build` time, by setting particular build-arguments (`ARG`) and calling `RUN configure.sh`. Each of these options trigger the inclusion of specific configuration via XML snippets (except for `VERBOSE`), described below:
81
+
This section describes the optional enterprise functionality that can be enabled via the Dockerfile during `build` time, by setting particular build-arguments (`ARG`) and calling `RUN configure.sh`. Each of these options trigger the inclusion/exclusion of specific configuration via XML snippets (except for `VERBOSE`), described below:
82
82
83
-
*`TLS` (`SSL` is deprecated)
84
-
* Description: Enable Transport Security in Liberty by adding the `transportSecurity-1.0` feature (includes support for SSL).
85
-
* XML Snippet Location: [keystore.xml](/releases/latest/kernel-slim/helpers/build/configuration_snippets/keystore.xml).
86
83
*`HZ_SESSION_CACHE`
87
84
* Description: Enable the persistence of HTTP sessions using JCache by adding the `sessionCache-1.0` feature.
88
85
* XML Snippet Location: [hazelcast-sessioncache.xml](/releases/latest/kernel-slim/helpers/build/configuration_snippets/hazelcast-sessioncache.xml)
86
+
*`SKIP_SSO_FEATURE_INSTALL`
87
+
* Description: Disable the install of `appSecurity-2.0` and `socialLogin-1.0` when `SEC_SSO_PROVIDERS` is set. (see [SECURITY.md](/SECURITY.md) for usage.)
88
+
* XML Snippet Location: [sso-features.xml](/releases/latest/kernel-slim/helpers/build/configuration_snippets/sso-features.xml)
89
+
*`TLS` (`SSL` is deprecated)
90
+
* Description: Enable Transport Security in Liberty by adding the `transportSecurity-1.0` feature (includes support for SSL).
91
+
* XML Snippet Location: [keystore.xml](/releases/latest/kernel-slim/helpers/build/configuration_snippets/keystore.xml).
89
92
*`VERBOSE`
90
-
* Description: When set to `true` it outputs the commands and results to stdout from `configure.sh`. Otherwise, default setting is `false` and `configure.sh`is silenced.
93
+
* Description: When set to `true` it outputs the commands and results to stdout from `features.sh` and `configure.sh`. Otherwise, default setting is `false` and `features.sh` and `configure.sh`are silenced.
Copy file name to clipboardExpand all lines: SECURITY.md
+14-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,20 @@ The following variables configure container security for Single Sign-On using th
38
38
39
39
* Providers usually require the use of HTTPS. Specify `ARG TLS=true` in your Dockerfile.
40
40
41
-
* Your Dockerfile must call `RUN configure.sh` for these to take effect.
41
+
* Your Dockerfile must call `RUN configure.sh` for these to take effect.
42
+
43
+
#### The `<feature>` and `appSecurity-2.0` configured features include an incompatible combination of features.
44
+
45
+
* When specifying the `SEC_SSO_PROVIDERS` ARG, you might get an incompatible set of features with `appSecurity-2.0` similar to the snippet below:
46
+
47
+
```
48
+
CWWKF0044E: The persistence-3.1 and appSecurity-2.0 features cannot be loaded at the same time.
49
+
The persistence-3.1 feature of Jakarta EE 10 is incompatible with the appSecurity-2.0 feature of Java EE 6.
50
+
The persistence-3.1 and appSecurity-2.0 configured features include an incompatible combination of features.
51
+
Your configuration is not supported. Update the configuration to use features that support either the Jakarta EE or Java EE programming models, but not both.
52
+
```
53
+
54
+
* To avoid this error, set `ARG SKIP_SSO_FEATURE_INSTALL=true` in your Dockerfile.
42
55
43
56
### Configuration needed at image build time or at container deploy time:
0 commit comments