summaryrefslogtreecommitdiff
path: root/java/client-java14/src
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-04-05 09:29:22 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-04-05 09:29:22 +0000
commit11e02d37fedbb0bb847bcfe2f7929416340cd98b (patch)
tree61435475e8f9d47c2c3546253f4360c1b95d9389 /java/client-java14/src
parent2057518593b06f4bbb3d99e817332f784f786c6e (diff)
downloadqpid-python-11e02d37fedbb0bb847bcfe2f7929416340cd98b.tar.gz
QPID-414 : Addition of CRAM-MD5-HASHED authentication. Same as CRAM-MD5 but 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
Diffstat (limited to 'java/client-java14/src')
0 files changed, 0 insertions, 0 deletions