There's an error in the JMS 2.0 spec as submitted. It includes a reference to Java EE password aliases despite this
feature not being included in the final Java EE 7 spec.
I've logged this as a bug in the spec
https://java.net/jira/browse/JMS_SPEC-119
It's too late to update the current release of the spec so we will need to fix this in a maintenance release (the
procedure for correcting errors is fairly straightforward).
Although this is unfortunate and confusing I don't think that it is a problem in practice: the JMS spec makes it clear
that this is really just a cross-reference to a Java EE feature.
Thank you to those who reported this.
If anyone spots any other errors or typos please let me know (or log a JIRA issue). I've started a list at
https://java.net/projects/jms-spec/pages/JMS21Planning#Bugs_in_JMS_2.0
Nigel
-------- Original Message --------
Subject: [jms-spec issues] [JIRA] Created: (JMS_SPEC-119) Remove reference to password alias
Date: Fri, 26 Apr 2013 11:45:58 +0000 (UTC)
From: Nigel Deakin (JIRA) <jira-no-reply_at_java.net>
Reply-To: issues_at_jms-spec.java.net
To: issues_at_jms-spec.java.net
Remove reference to password alias
----------------------------------
Key: JMS_SPEC-119
URL:
https://java.net/jira/browse/JMS_SPEC-119
Project: jms-spec
Issue Type: Bug
Affects Versions: 2.0
Reporter: Nigel Deakin
The JMS 2.0 specification includes the following reference to password aliases in Java EE:
{quote}
Since it is undesirable to hardcode clear text passwords in an application, the password may be specified as an alias:
{noformat}
@Inject
@JMSPasswordCredential(
username="admin",
password="${ALIAS=myAdminPassword}")
private JMSContext context;
{noformat}
The use of a password alias allows the password to be defined in a secure manner separately from the application. See
the Java EE 7 platform specification for more information on password aliases.
{quote}
Although password aliases were discussed for Java EE they were not included in the final release, so this reference is
incorrect and should be removed.