This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
java-openliberty: use ENV variables for security credentials
- Loading branch information
1 parent
516d028
commit 262c8aa
Showing
7 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
.../templates/default/src/main/liberty/config/configDropins/defaults/default-credentials.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<server> | ||
<!-- These are default credentials provided for local development. | ||
This XML file is removed when the application is deployed. --> | ||
<variable name="stack.username" defaultValue="admin"/> | ||
<variable name="stack.password" defaultValue="${keystore_password}"/> | ||
</server> |
3 changes: 0 additions & 3 deletions
3
...templates/default/src/main/liberty/config/configDropins/defaults/quick-start-security.xml
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...a-openliberty/templates/default/src/main/liberty/config/configDropins/defaults/server.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<server description="Default security configuration"> | ||
|
||
<quickStartSecurity userName="${stack.username}" userPassword="${stack.password}" /> | ||
|
||
</server> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters