summaryrefslogtreecommitdiff
path: root/java/broker
Commit message (Collapse)AuthorAgeFilesLines
...
* git-svn-id: ↵Bhupendra Bhusman Bhardwaj2007-04-111-2/+2
| | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-444 : added CRAM-MD5-HASHED mechanism for saslBhupendra Bhusman Bhardwaj2007-04-115-22/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527499 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Missed the commit of JMXManagedObjectRegistry change on ↵Martin Ritchie2007-04-111-10/+12
| | | | | | verifyPassword char[] to String git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527493 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 AMQUserManagementMBean Initial implementation of user management ↵Martin Ritchie2007-04-116-63/+558
| | | | | | | | | | | in authentication file. UserManagement - Added annotations for MBeanOperations PrincipalDatabase - Added new methods to update,create,delete Principal. - Implemented method on all PrincipalDatabase implementations, most return false to say not complete except Base64MD5PasswordFilePrincipalDatabase - which now stores in memory the password file and flushes any changes to disk. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527487 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Initial MBean framework.Martin Ritchie2007-04-102-0/+171
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527182 13f79535-47bb-0310-9956-ffa450edef68
* QueueDeclareHandler.java - Added more detail to error messages. Such as ↵Martin Ritchie2007-04-101-27/+25
| | | | | | returning the queue name that was attempted to be declared but failed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527050 13f79535-47bb-0310-9956-ffa450edef68
* Got rid of some uses of System.out instead of log4j logging.Robert Greig2007-04-092-84/+139
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526803 13f79535-47bb-0310-9956-ffa450edef68
* Stopped throwing away exception causes.Robert Greig2007-04-099-111/+187
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526776 13f79535-47bb-0310-9956-ffa450edef68
* Purged logging from exception constructors.Robert Greig2007-04-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526714 13f79535-47bb-0310-9956-ffa450edef68
* QPID-444 : added log statements and some config parameters.Bhupendra Bhusman Bhardwaj2007-04-095-5/+7
| | | | | | | | Removed the autoDelete parameter from createNewQueue method used from Management Console. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526692 13f79535-47bb-0310-9956-ffa450edef68
* Added bdbbackup script.Robert Greig2007-04-091-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526684 13f79535-47bb-0310-9956-ffa450edef68
* Updated so the FileAppender includes time stamps by default.. ↵Martin Ritchie2007-04-091-5/+3
| | | | | | ConversionPattern made the same as STDOUT and RollingFileAppender git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-414 - Initial script to run the passwd gen. Martin Ritchie2007-04-061-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-444 : adding jmxport, which is used when out of the box JMXAgent is ↵Bhupendra Bhusman Bhardwaj2007-04-061-0/+1
| | | | | | not used git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526159 13f79535-47bb-0310-9956-ffa450edef68
* QPID-444 : Enabling the Qpid to use SASL. jmxmp can be plugged into for ↵Bhupendra Bhusman Bhardwaj2007-04-068-5/+476
| | | | | | SASL. Can be configured to use security. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526157 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Robert Godfrey2007-04-061-12/+1
| | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-416 Update to Access control to allow simply read/write permissions per ↵Martin Ritchie2007-04-0611-21/+165
| | | | | | | | | | | | | | | Virtual host. access - updated file to have examples of access control. Changed AMQProtocolSession to record an authorized Principal not just a String. - Required Added AccessRights files needed for VirtualHostAccess control. Updated ConnectionOpenMethodHandler to allow Principals with any access to connect not just read. UsernamePrincipal - Added a toString git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-416 Update to Access control to allow simply read/write permissions per ↵Martin Ritchie2007-04-068-21/+81
| | | | | | | | | | | Virtual host. access - updated file to have examples of access control. AccessManager - Deprecated old isAuthorised method Implemented new isAuthorized method on all AccessManagers git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526091 13f79535-47bb-0310-9956-ffa450edef68
* QPID-416 Provided simple update to Access Control via FileAccessManager to ↵Martin Ritchie2007-04-053-1/+172
| | | | | | | | allow access rights for a virtualhost to be stored in a separate file. Updated PrincipalDatabaseAccessManager to use the default AccessManager if the specified PrincipalDatabase is not an AccessManager. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-443 : Fix to transactionality of message publishingRobert Godfrey2007-04-051-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525862 13f79535-47bb-0310-9956-ffa450edef68
* Updated scripts to work correctly under solaris and bash 2.0Martin Ritchie2007-04-052-13/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525829 13f79535-47bb-0310-9956-ffa450edef68
* Update to qpid stop scripts to properly check for existing broker instances ↵Martin Ritchie2007-04-052-17/+12
| | | | | | and promptly stop them. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-414 update to config.xml to give usage example.Martin Ritchie2007-04-051-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-440 - added comments in the code relating to this bug.Martin Ritchie2007-04-052-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525786 13f79535-47bb-0310-9956-ffa450edef68
* QPID-414 : Addition of CRAM-MD5-HASHED authentication. Same as CRAM-MD5 but ↵Martin Ritchie2007-04-0510-35/+351
| | | | | | | | | | | | | | | | | | | | | | | | | the client uses the hash of the password rather than the original password. This allows the broker to store the hash not the original password. Added initial tool for generation passwords. Broker: Renamed MD5PasswordFilePrincipalDatabase.java to Base64MD5PasswordFilePrincipalDatabase.java as that more accurately represents the file contents. PlainPasswordVhostFilePrincipalDatabase.java - import tidy up PrincipalDatabaseAuthenticationManager.java - Changed to add our SASL providers at the start of the SASL list. CRAMMD5Hashed* - New SASL mechanism that delegates to CRAM-MD5 but understands that the password to use is the hash of the users password. JCAProvider - Removed the addProvider() line as this is done after the construction in PrincipalDatabaseAuthenticationManager. PlainSaslServerFactory - White Space Passwd.java - New util stub for managing passwords ala htpasswd. Client Added CRAM-MD5-HASHED to CallbackHandlerRegistry Added ClientFactory for CRAMMD5Hashed that returns the first CRAM-MD5 SaslClient. DynamicSaslRegistrar.java - Tidied imports added new JCAProviders at the start of the Sasl lists. DynamicSaslRegistrar.properties - Added CRAM-MD5-HASHED handler. JCAProvider.java - as with broker stopped JCAProvider.java adding itself as the DynamicSaslRegistrar.java does this on the client. UsernameHashedPasswordCallbackHandler.java - New callback handler that is used by CRAM-MD5-HASHED. It hashes the client's password and uses that in the CRAM-MD5 algorithm. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525777 13f79535-47bb-0310-9956-ffa450edef68
* Added comments and logging to track down bug.Robert Greig2007-04-042-15/+191
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@525535 13f79535-47bb-0310-9956-ffa450edef68
* Added verify password method to PrincipalDatabaseMartin Ritchie2007-04-025-1/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@524763 13f79535-47bb-0310-9956-ffa450edef68
* Reversed accidental replacing of the word 'initialize' in comments to ↵Robert Greig2007-03-281-89/+100
| | | | | | 'establishConnection' through a method refactoring. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@523245 13f79535-47bb-0310-9956-ffa450edef68
* Test added for durability of messages under broker failure.Robert Greig2007-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@522994 13f79535-47bb-0310-9956-ffa450edef68
* Added additional commentsMartin Ritchie2007-03-271-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@522991 13f79535-47bb-0310-9956-ffa450edef68
* fixed error where script wouldn't pickup running pidsMartin Ritchie2007-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@522989 13f79535-47bb-0310-9956-ffa450edef68
* Added echo of progress and reduced timeoutMartin Ritchie2007-03-271-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@522981 13f79535-47bb-0310-9956-ffa450edef68
* updated config filesMartin Ritchie2007-03-273-2/+253
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@522977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-421 displaying AMQMessage properties in user understandable format in ↵Bhupendra Bhusman Bhardwaj2007-03-266-16/+47
| | | | | | Management Console, like Persistent instead of 1. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@522567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-408Bhupendra Bhusman Bhardwaj2007-03-261-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@522463 13f79535-47bb-0310-9956-ffa450edef68
* QPID-420 (merged from trunk) And r518998:518999 and r520846:520850Bhupendra Bhusman Bhardwaj2007-03-234-6/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@521782 13f79535-47bb-0310-9956-ffa450edef68
* QPID-423 Authentication per virtualhostMartin Ritchie2007-03-231-1/+1
| | | | | | Improved error handling when hostconfig is not specifed. Was NPE-ing git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@521715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-419 Access Control QPID-423 Authentication per virtualhostMartin Ritchie2007-03-235-8/+28
| | | | | | Improved error handling when hostconfig is not specifed. Was NPE-ing git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@521710 13f79535-47bb-0310-9956-ffa450edef68
* Updated the new Log4j appender to compress the backup files and move them to ↵Martin Ritchie2007-03-222-666/+980
| | | | | | a new location.(Compression occurs async so as not to slow down the main program). Enable the logger in the log4j.xml Disabled by default. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@521363 13f79535-47bb-0310-9956-ffa450edef68
* Added a new Appender from the Log4j contrib code base as ↵Martin Ritchie2007-03-212-1/+719
| | | | | | QpidCompositeRollingAppender. This will allow us to roll the broker log files on a set time frame AND to a maximum file size. The CompositeRollingAppender was contributed by Kevin Steppe to the log4j project but as it is not part of the log4j.jar we must include it in our own code base until log4j provide a core implementation. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@520938 13f79535-47bb-0310-9956-ffa450edef68
* Added two scripts to stop the running broker without having to first record ↵Martin Ritchie2007-03-212-0/+178
| | | | | | the running pid. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@520843 13f79535-47bb-0310-9956-ffa450edef68
* Moved the principal-database and access sections in the xml under security.Martin Ritchie2007-03-199-150/+56
| | | | | | | | Updated PlainPasswordFilePrincipalDatabase to include an AMQPLAIN authentication mechanism Changed PlainPasswordVhostFilePrincipalDatabase to extend PlainPasswordFilePrincipalDatabase as it was the same code. A few other whitespace changes and additional logging to better show why an error occurred such as was shown by the python tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@519909 13f79535-47bb-0310-9956-ffa450edef68
* Correctly moved amqplain and plain sasl implementationsMartin Ritchie2007-03-166-0/+474
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@518989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-70 InVM Authentication QPID-419 Access Control QPID-423 Authentication ↵Martin Ritchie2007-03-1643-1012/+1849
| | | | | | | | | | | | | | per virtualhost Restructured auth package. Enabled InVM Authentication Initial changes to allow authenticators per virtualhost. Initial access control classes. Initial work to allow access control testing through inVM broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@518988 13f79535-47bb-0310-9956-ffa450edef68
* - DeliveryManager.getMessage is reimplmented because the ↵Bhupendra Bhusman Bhardwaj2007-03-153-35/+68
| | | | | | | | | | ConcurrentLinkedMessageQueueAtomicSize.toArray is not implemented - Not creating lock while doing startMovingMessages.Just setting movingMessage to true, because that can stop the sync delivery. - And some tidy up of the code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@518669 13f79535-47bb-0310-9956-ffa450edef68
* Short pause to help ensure connection.close comes after last message ack, ↵Robert Greig2007-03-153-11/+22
| | | | | | added to PropertyValueTest git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@518667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-415Bhupendra Bhusman Bhardwaj2007-03-153-1/+39
| | | | | | Default configuration for queues in virtualHost.xml doesn't get applied to the queue created after broker startup git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@518570 13f79535-47bb-0310-9956-ffa450edef68
* QPID-170Bhupendra Bhusman Bhardwaj2007-03-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@518569 13f79535-47bb-0310-9956-ffa450edef68
* MBean test moved to broker module because it relates very closely to the Broker.Bhupendra Bhusman Bhardwaj2007-03-141-0/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@518086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-411 : ClearQueue functionality of AMQQueue doesn't reset the queue depthBhupendra Bhusman Bhardwaj2007-03-133-0/+245
| | | | | | AMQQueueMBeanTest.java moved to Broker tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@517745 13f79535-47bb-0310-9956-ffa450edef68