mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3183 - fix typo in useAuthenticatedPrincipalForJMSXUserID
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1080512 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3df3302c65
commit
286c9d0020
|
@ -114,7 +114,7 @@ public class BrokerService implements Service {
|
|||
private boolean enableStatistics = true;
|
||||
private boolean persistent = true;
|
||||
private boolean populateJMSXUserID;
|
||||
private boolean useAuthenticatedPrincipalForJMXUserID;
|
||||
private boolean useAuthenticatedPrincipalForJMSXUserID;
|
||||
|
||||
private boolean useShutdownHook = true;
|
||||
private boolean useLoggingForShutdownErrors;
|
||||
|
@ -1886,7 +1886,7 @@ public class BrokerService implements Service {
|
|||
broker = new TransactionBroker(broker, getPersistenceAdapter().createTransactionStore());
|
||||
if (isPopulateJMSXUserID()) {
|
||||
UserIDBroker userIDBroker = new UserIDBroker(broker);
|
||||
userIDBroker.setUseAuthenticatePrincipal(isUseAuthenticatedPrincipalForJMXUserID());
|
||||
userIDBroker.setUseAuthenticatePrincipal(isUseAuthenticatedPrincipalForJMSXUserID());
|
||||
broker = userIDBroker;
|
||||
}
|
||||
if (isMonitorConnectionSplits()) {
|
||||
|
@ -2378,12 +2378,12 @@ public class BrokerService implements Service {
|
|||
this.brokerId = new BrokerId(brokerId);
|
||||
}
|
||||
|
||||
public boolean isUseAuthenticatedPrincipalForJMXUserID() {
|
||||
return useAuthenticatedPrincipalForJMXUserID;
|
||||
public boolean isUseAuthenticatedPrincipalForJMSXUserID() {
|
||||
return useAuthenticatedPrincipalForJMSXUserID;
|
||||
}
|
||||
|
||||
public void setUseAuthenticatedPrincipalForJMXUserID(boolean useAuthenticatedPrincipalForJMXUserID) {
|
||||
this.useAuthenticatedPrincipalForJMXUserID = useAuthenticatedPrincipalForJMXUserID;
|
||||
public void setUseAuthenticatedPrincipalForJMSXUserID(boolean useAuthenticatedPrincipalForJMSXUserID) {
|
||||
this.useAuthenticatedPrincipalForJMSXUserID = useAuthenticatedPrincipalForJMSXUserID;
|
||||
}
|
||||
|
||||
public boolean isNetworkConnectorStartAsync() {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.apache.org/schema/core"
|
||||
populateJMSXUserID="true"
|
||||
useAuthenticatedPrincipalForJMXUserID="true">
|
||||
useAuthenticatedPrincipalForJMSXUserID="true">
|
||||
|
||||
<plugins>
|
||||
<!-- use JAAS to authenticate using the login.config file on the classpath to configure JAAS -->
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
<broker useJmx="false" persistent="false" xmlns="http://activemq.apache.org/schema/core"
|
||||
populateJMSXUserID="true"
|
||||
useAuthenticatedPrincipalForJMXUserID="true">
|
||||
useAuthenticatedPrincipalForJMSXUserID="true">
|
||||
|
||||
<plugins>
|
||||
<!-- use JAAS to authenticate using the login.config file on the classpath to configure JAAS -->
|
||||
|
|
Loading…
Reference in New Issue