Skip to content

[#2217] Feature: Support specifying type for JAAS keystores#2118

Merged
jbonofre merged 1 commit into
apache:karaf-4.4.xfrom
mattrpav:karaf-2117
Dec 2, 2025
Merged

[#2217] Feature: Support specifying type for JAAS keystores#2118
jbonofre merged 1 commit into
apache:karaf-4.4.xfrom
mattrpav:karaf-2117

Conversation

@mattrpav
Copy link
Copy Markdown
Contributor

@mattrpav mattrpav commented Oct 16, 2025

Sample jaas config blueprint

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.2.0">
  <jaas:keystore name="jmx-truststore.ks"
                 type="PKCS12"
                 rank="1"
                 path="file:etc/truststore.jks"
                 keystorePassword="a..z"/>
  <jaas:keystore name="jmx-keystore.ks"
                 type="PKCS12"
                 rank="2"
                 path="file:etc/keystore.jks"
                 keystorePassword="z...a"
                 keyPasswords="karaf-server.company.com=z..a"/>
</blueprint>

@mattrpav mattrpav self-assigned this Oct 16, 2025
@mattrpav mattrpav changed the title [#2217] [#2217] Feature: Support specifying type for JAAS keystores Oct 16, 2025
@mattrpav mattrpav changed the title [#2217] Feature: Support specifying type for JAAS keystores WIP: [#2217] Feature: Support specifying type for JAAS keystores Oct 17, 2025
@jbonofre jbonofre linked an issue Nov 21, 2025 that may be closed by this pull request
@mattrpav mattrpav requested a review from jbonofre December 2, 2025 02:30
@jbonofre jbonofre changed the title WIP: [#2217] Feature: Support specifying type for JAAS keystores [#2217] Feature: Support specifying type for JAAS keystores Dec 2, 2025
@jbonofre jbonofre merged commit cebc22e into apache:karaf-4.4.x Dec 2, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New feature: JAAS Keystore configuration support keystore type

2 participants