[
https://issues.apache.org/jira/browse/ARTEMIS-5102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-5102.
-------------------------------------
Resolution: Fixed
> TextFileCertificateLoginModule support normalisation of DN property values
> --------------------------------------------------------------------------
>
> Key: ARTEMIS-5102
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5102
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Configuration, JAAS
> Affects Versions: 2.37.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Major
> Fix For: 2.38.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The DN format for cert properties is an exact match string. This can lead to
> tricky dependency on the security provider and implementation.
> In addition if a properties file is generated from code, it needs to use a
> matching java tool.
> the DN string format and parsing is defined, so there is no reason we cannot
> parse and normalise the values, rather than just treating them as plain
> strings.
> the proposal is to add a normalise option, that will parse and format any DN
> into the local java x500Name such that it will match what is extracted from
> the certificate. This allows spaces and quotes and escapes to be respected
> (and ignored) as necessary.
> it will remove the ambiguity around DN names. However because this validation
> would potentially flag existing config, it is not enabled by default.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact