/[Apache-SVN]
ViewVC logotype

Revision 1071301


Jump to revision: Previous Next
Author: gtully
Date: Wed Feb 16 16:12:18 2011 UTC (13 years, 8 months ago)
Changed paths: 7
Log Message:
https://issues.apache.org/jira/browse/AMQ-3182 - JAAS PropertiesLoginModule does not maintain internal validity state, so will commit in error after an invalid login attempt
https://issues.apache.org/jira/browse/AMQ-3183 - Set JMSXUserID value based on authenticated principal
Fixed up PropertiesLoginModule such that it maintains login state and only commits on success. Added attribute brokerService useAuthenticatedPrincipalForJMXUserID to indicate
that the first authenticated user principal should be used for the userName and hense by the userId broker when populateJMSXUserID is set. In the absense of a principal the
userName is unchanged.

Changed paths

Path Details
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/UserIDBroker.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/security/JaasDualAuthenticationBroker.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/test/java/org/apache/activemq/security/XBeanSecurityWithGuestTest.java added
Directoryactivemq/trunk/activemq-core/src/test/resources/login.config modified , text changed
Directoryactivemq/trunk/activemq-core/src/test/resources/org/apache/activemq/security/jaas-broker-guest.xml added
Directoryactivemq/trunk/activemq-jaas/src/main/java/org/apache/activemq/jaas/PropertiesLoginModule.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26