summaryrefslogtreecommitdiff
path: root/java/broker
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-480 : Avoid deadlock on UnacknowledgedMessageMap and ↵Robert Godfrey2007-05-071-1/+2
| | | | | | ConcurrentSelectorDeliveryManager git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536008 13f79535-47bb-0310-9956-ffa450edef68
* Management console users list display is updated.Bhupendra Bhusman Bhardwaj2007-05-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534763 13f79535-47bb-0310-9956-ffa450edef68
* Removed accidental inclusion of copyright notices.Robert Greig2007-05-026-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534478 13f79535-47bb-0310-9956-ffa450edef68
* Exchange MBeans updated - init method moved to super class. Bhupendra Bhusman Bhardwaj2007-05-025-70/+35
| | | | | | Exception handling of management console updated for SecurityException. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534473 13f79535-47bb-0310-9956-ffa450edef68
* Comments and Test changesMartin Ritchie2007-05-011-1/+12
| | | | | | | | VirtualHost Added comments HeapExhaustion - Updated to send transient messages. QpidClientConnection - Allowed specification of type of message to send. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534117 13f79535-47bb-0310-9956-ffa450edef68
* Added Apache legal headers and added qpid.start which logs the startup commandMartin Ritchie2007-04-273-0/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533131 13f79535-47bb-0310-9956-ffa450edef68
* Updated PrincipalDatabase implementations to return empty strings rather ↵Martin Ritchie2007-04-272-2/+4
| | | | | | than null. As this causes NPE on MC. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533078 13f79535-47bb-0310-9956-ffa450edef68
* Bin Updates: Qpid-Run removed new bash 3.x feature += replaced with ↵Martin Ritchie2007-04-272-21/+9
| | | | | | | | | option="${value1} ${value2}" constructs to support older bash 2.x renamed passwd qpid-passwd and fixed classpath loading errors. Moved bdbbackup script to live with the bdb module. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533077 13f79535-47bb-0310-9956-ffa450edef68
* QPID-473 Base64MD5PrincipalDatabase doesn't check password changes were ↵Martin Ritchie2007-04-271-17/+5
| | | | | | | | applied to disk before storing in memory Reversed the effects of the requested change if the changes cannot be persisted to disk git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-292 - Authentication not handled correctly.Martin Ritchie2007-04-261-2/+17
| | | | | | Copied handling from SecureOkMethod handler. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@532728 13f79535-47bb-0310-9956-ffa450edef68
* Reduced logging on requeue.Martin Ritchie2007-04-241-9/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531937 13f79535-47bb-0310-9956-ffa450edef68
* Defaulted the use of management.security-enabled security to false. As this ↵Martin Ritchie2007-04-241-1/+1
| | | | | | requires the jmxremote.jar from sun which is not Apache license friendly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531865 13f79535-47bb-0310-9956-ffa450edef68
* Defaulted the use of JMX SASL security to false. As this requries the ↵Martin Ritchie2007-04-241-1/+1
| | | | | | jmxremote.jar from sun which is not Apache license friendly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531859 13f79535-47bb-0310-9956-ffa450edef68
* QPID-290 - Java broker does not honor maximum number of channels thresholdMartin Ritchie2007-04-231-2/+13
| | | | | | Applied patch from Nuno Santos git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-445Bhupendra Bhusman Bhardwaj2007-04-232-17/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531524 13f79535-47bb-0310-9956-ffa450edef68
* White Space changesMartin Ritchie2007-04-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531518 13f79535-47bb-0310-9956-ffa450edef68
* Comment updates on the origin of the testsMartin Ritchie2007-04-231-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531517 13f79535-47bb-0310-9956-ffa450edef68
* Update to system test so that the run as part of the build process as they ↵Martin Ritchie2007-04-231-1/+1
| | | | | | | | were not running. Change to AMQMessage to ensure that the TxAckTest passes. Was failing as the reference count was being changed out of the increment/decrementReference methods git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-436 - topic exchange doesn't obey the mandatory flagMartin Ritchie2007-04-231-22/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-445 : Fixed the ClassCastExceptionBhupendra Bhusman Bhardwaj2007-04-231-29/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-394. Removed revision tags.Robert Greig2007-04-236-241/+316
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@531437 13f79535-47bb-0310-9956-ffa450edef68
* Added addition log when broker is ready to process.Martin Ritchie2007-04-201-1/+9
| | | | | | Updated HeapExhaustion - to use system.out.println so you can set amqj.logging.level=warn to speed up test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-468 Update to log4j.xml to ensure the new logger is at least at the ↵Martin Ritchie2007-04-201-0/+4
| | | | | | info level. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530819 13f79535-47bb-0310-9956-ffa450edef68
* QPID-471 User list not populated. Martin Ritchie2007-04-201-1/+1
| | | | | | This was due to the fact that the 'View User' has been marked as an ACTION. Changing to an INFO made the console work just fine. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530812 13f79535-47bb-0310-9956-ffa450edef68
* White space changes plus additional logging to aid in debuggingMartin Ritchie2007-04-201-13/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530800 13f79535-47bb-0310-9956-ffa450edef68
* QPID-445 Added checks to ensure UserManagement MBean is only accessed by ↵Martin Ritchie2007-04-205-75/+135
| | | | | | | | | Admin users. Allow Qpid JMX Management console to manage access file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530798 13f79535-47bb-0310-9956-ffa450edef68
* Updated PrincipalDatabase verifyPassword to match rest of API and take a char[]Martin Ritchie2007-04-204-45/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530797 13f79535-47bb-0310-9956-ffa450edef68
* QPID-468 Add Broker verison number to Listen print line in Main.java:367Martin Ritchie2007-04-201-25/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530796 13f79535-47bb-0310-9956-ffa450edef68
* Copied fix for invalid IP bytes greater than 127 from trunk.Robert Greig2007-04-201-15/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530777 13f79535-47bb-0310-9956-ffa450edef68
* QPID-445 : md5 hashed password will be sent from management console to QpidBhupendra Bhusman Bhardwaj2007-04-206-40/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530734 13f79535-47bb-0310-9956-ffa450edef68
* Moved string literal 'Qpid_HOME' to constant QPID_HOMEMartin Ritchie2007-04-201-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530686 13f79535-47bb-0310-9956-ffa450edef68
* QPID-454 - Message 'taken' notion is per message. Adjusted to be per message ↵Martin Ritchie2007-04-191-22/+78
| | | | | | | | per queue. Previous commit was not sufficiently tested and other bugs were causing problems that were not related to this change. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-459 - NoLocal broken when messages already exist on queue from ↵Martin Ritchie2007-04-191-3/+17
| | | | | | | | | | consumer. With test. ConcurrentSelectorDeliveryManager - method changes from hasFilter to filtersMessages. Forgot to include the file in the commit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-459 - NoLocal broken when messages already exist on queue from ↵Martin Ritchie2007-04-195-19/+26
| | | | | | | | | | | | | | consumer. With test. AMQChannel remove comment around setPublisher - this is used by noLocal implementation. Subscription - rename of hasFilters to filtersMessages AMQQueue/RemoteSubscriptionImpl/SubscriptionTestHelper/SubscriptionSet - rename of hasFilters to filtersMessages SubscriptionImpl - rename of hasFilters to filtersMessages and changes to include noLocal in that check. TopicSessionTest - Additional testing for NoLocal to ensure. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530432 13f79535-47bb-0310-9956-ffa450edef68
* QPID-458 Fix to make the CSDM check if a message is taken when deliverying ↵Martin Ritchie2007-04-181-4/+8
| | | | | | to browser. Removing the message from the queue and continuing if that is the caee. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-457 Fixed rollback inTran problem with test case Missed the actual file ↵Martin Ritchie2007-04-181-0/+1
| | | | | | fix. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-457 Fixed rollback inTran problem with test caseMartin Ritchie2007-04-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-454 Message 'taken' notion is per message. REVERTED as it just wasn't ↵Martin Ritchie2007-04-181-28/+21
| | | | | | right.. needs to be refactored. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530037 13f79535-47bb-0310-9956-ffa450edef68
* AMQUserManagementMBean.java - calling relaod within viewUsers method.Bhupendra Bhusman Bhardwaj2007-04-182-2/+4
| | | | | | Creating user list on management console instead of typing the user name. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-454 Message 'taken' notion is per message. But should be per message ↵Martin Ritchie2007-04-175-44/+67
| | | | | | | | | | | | | per queue AMQChannel - pass queue in on all take/release/getSubscriptionDelievered calls BasicRejectMethodHandler - pass queue in on getSubscriptionDelievered calls AMQMessage - Changes to require AMQQueue on all take/release/getSubscriptionDelievered calls ConcurrentSelectorDeliveryManager - pass queue in on take/release/getSubscriptionDelievered calls SubscriptionImpl - - pass queue in on release calls git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529659 13f79535-47bb-0310-9956-ffa450edef68
* QPID-352 ChangesMarnie McCormack2007-04-121-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@528003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446Martin Ritchie2007-04-122-0/+8
| | | | | | | Updated sample configs to contain jmx security options. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527972 13f79535-47bb-0310-9956-ffa450edef68
* refining the mbean operationsBhupendra Bhusman Bhardwaj2007-04-122-6/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527959 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Removed hashing of presented password in ↵Martin Ritchie2007-04-121-14/+1
| | | | | | Base64MD5PasswordFilePrincipalDatabase. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Update to send userList to JMX Management console.Martin Ritchie2007-04-126-186/+484
| | | | | | | | | | | | | | Currently niave implementation just sending ALL users in one go. If a LDAPPrincipalDatabase was created this could be quite a lot of data a) to send but b) to create in broker Heap. PrincipalDatabase - javadoc'd and getUsers method, -changed verifyPassword method to take String for username rather than Principal only the Managment Console uses this method and it the MC should be changed to use the Broker SASL modules directly rather than having very similar ones of its own. - Removed AccountNotFound exception from createPrincipal as it made no sence No-op implementation in PlainPasswordFilePrincipalDatabase and PropertiesPrincipalDatabase Base64MD5PasswordFilePrincipalDatabase changed local User class to implement Principal so current Map can be returned via getUsers - Added locking to ensure integrity of files in the face of multiple edits. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527843 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Update to write accessRights file and correctly write Base64 MD5 ↵Martin Ritchie2007-04-126-29/+133
| | | | | | | | | | | Hashed password to password file. MBeanInvocationHandlerImpl - made statics ADMIN,READONLY,READWRITE public so they can be used in writing the access file. AMQUserManagementMBean - Update to write the access File. PrincipalDatabase - create getUser(username) to retrieve a Principal from the database this is then implemented in all PDs. Used to check for existence of a user. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527803 13f79535-47bb-0310-9956-ffa450edef68
* QpiQPID-446 Update to ensure qpid.password file is correctly written in ↵Martin Ritchie2007-04-111-2/+48
| | | | | | savePasswordFile git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527558 13f79535-47bb-0310-9956-ffa450edef68
* Fixed Bug in convertPassword where data wasn't correctly updated ↵Martin Ritchie2007-04-111-1/+1
| | | | | | PropertiesPrincipalDatabase, git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527557 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Update to contain jmx config settings.Martin Ritchie2007-04-111-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Martin Ritchie2007-04-1110-57/+175
| | | | | | | | | | | | | | | | | | JMXManagedObjectRegistry - Split instantiation from starting up. To all the setting of the Access file when loaded later in the startup sequence. ManagedObjectRegistry - Added Start method MBeanInvocationHandlerImpl - Updated to allow the setting of the access properties object from the AMQUserManagementMBean NoopManagedObjectRegistry - implemented no-op start ConfigurationFileApplicationRegistry - Adjusted to split creation of ManagedObjectRegistry from starting server to allow the setting of access rights. AMQUserManagementMBean - Implemented reading of access rights file. Base64MD5PasswordFilePrincipalDatabase - added comment for future Management. PrincipalDatabaseManager - added initialiseManagement method ConfigurationFilePrincipalDatabaseManager - implemented general Management initialisation. PropertiesPrincipalDatabaseManager - no-op implementation git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527518 13f79535-47bb-0310-9956-ffa450edef68