1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 20:42:06 +01:00
Commit graph

510 commits

Author SHA1 Message Date
Gaston Dombiak
1cbfdcc7db Updated Base64 implementation. SMACK-241
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10408 b35dd754-fafc-0310-a699-88a17e54d16e
2008-05-19 22:56:15 +00:00
Gaston Dombiak
c795fd7423 Fixed typo condition name. SMACK-236
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10019 b35dd754-fafc-0310-a699-88a17e54d16e
2008-02-28 01:49:13 +00:00
Gaston Dombiak
9876d05d52 Fixed typo in SASL name.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9803 b35dd754-fafc-0310-a699-88a17e54d16e
2008-01-21 23:05:05 +00:00
Daniel Henninger
0a5229f7ad Changing PKCS to PKCS11 and config to library for proper terminology.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9692 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 16:38:25 +00:00
Daniel Henninger
a0021b17be We're using an inputstream now, not a string.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9690 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 16:17:58 +00:00
Daniel Henninger
5c92ced702 Checking for PKCS support in java and punting if it doesn't exist.
Using bytestream config instead of full config.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9689 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 16:15:57 +00:00
Daniel Henninger
048e5b679c [SMACK-235] Switched to a much faster, but also thread safe, concurrenthashmap for entries list.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9687 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 15:54:56 +00:00
Daniel Henninger
0a455fe195 This hasn't been updated to the proper version in a while.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9673 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-26 01:28:22 +00:00
Daniel Henninger
e5791ee5c6 Added ability to force an immediate reconnection. Not sure I'm fond of it, but it's doing the trick.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9669 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-23 23:25:02 +00:00
Daniel Henninger
882d47fb6c Silenced some stderr messages.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9552 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-04 03:14:32 +00:00
Daniel Henninger
bad22775e9 Fixed spelling for unsubscription_pending variable.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9548 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-03 00:00:03 +00:00
Daniel Henninger
c5507a5a28 Removed accidental commit.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9547 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-01 02:45:52 +00:00
Daniel Henninger
bf93dd6aee [SMACK-175] Returning UNSUBSCRIPTION_PENDING instead of SUBSCRIPTION_PENDING when the pending state is set to unsubscribe
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9546 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-01 02:45:11 +00:00
Jay Kline
e51e9432f2 Fixed a problem where not fully setting up PKI results in
failed logins.


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9543 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 22:11:04 +00:00
Jay Kline
1b5203d24e Fix some ordering.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9539 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 20:02:01 +00:00
Jay Kline
d3ee0e2f3e Added support for key and trust stores when making SSL/TLS connections
that require the client authenticate itself.  This supports PKCS#11 devices.


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9538 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 19:40:31 +00:00
Jay Kline
13b8d313ba Big change for authentication, which now supports more SASL mechanisms and
callbacks.  This should address issues SMACK-210 and SMACK-142, as well as 
set the stage for SMACK-234. 



git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9498 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-14 16:27:47 +00:00
Matt Tucker
85a92b600b License header fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9227 b35dd754-fafc-0310-a699-88a17e54d16e
2007-09-26 23:14:51 +00:00
Matt Tucker
0971f5fffd Fix for SMACK-224.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8503 b35dd754-fafc-0310-a699-88a17e54d16e
2007-06-07 17:35:26 +00:00
Matt Tucker
466b7e2d08 Fix offline presence info, including test case (SMACK-219).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8275 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-10 22:48:24 +00:00
Matt Tucker
bdc61a2db2 Use the FQDN for SASL auth -- fixes GSSAPI (SMACK-224).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8272 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-10 21:45:26 +00:00
Alex Wenckus
ff2900653c Fixed possible NPE
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8187 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-04 18:35:47 +00:00
Matt Tucker
5dbf96d109 Fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8177 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-03 23:59:09 +00:00
Matt Tucker
eb56f8a557 GSSAPI work by Jay Kline (SMACK-218).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8155 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-02 23:11:10 +00:00
Alex Wenckus
8e08a8ba4a Added support for multiple message bodies and language on the message. SMACK-99
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8113 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-26 06:22:55 +00:00
Matt Tucker
b858614843 Javadoc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8087 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-21 20:14:40 +00:00
Gaston Dombiak
eb3d196bce Use Integer.MIN_VALUE as default value to indicate that no priority presence has been set. SMACK-214
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7962 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-10 18:44:08 +00:00
Matt Tucker
a86cb5a5d3 Removing method (doesn't help with anything).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7687 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-24 20:49:57 +00:00
Derek DeMoro
93766ee788 Changed flushing type of jzlib to fix hang in client.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7613 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-20 22:09:15 +00:00
Matt Tucker
c7fc4734b8 Added ability to get the local network address that connects to the server.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7525 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-15 02:53:01 +00:00
Alex Wenckus
6bb444fdaf NULL thread IDs no longer an issue. SMACK-203
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7424 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-09 17:27:20 +00:00
Matt Tucker
e9f049adc9 Adding max queue size to throttle traffic (avoids OOM). (SMACK-208).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7419 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-09 02:02:27 +00:00
Matt Tucker
2c0984815b Javadoc tweak.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7334 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-01 18:44:08 +00:00
Matt Tucker
0f0c423480 Small tweak.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7234 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-21 17:38:05 +00:00
Matt Tucker
1eb4841970 New listener implementation for packet reader (SMACK-205).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7232 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-21 00:57:31 +00:00
Gaston Dombiak
87fb2df3ec Check that roster is not null when disconnecting (fixed NPE).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7221 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 18:48:26 +00:00
Derek DeMoro
1f8cb4452b 1 - Small fix in Roster to return unavailable presence with from.
2 - Throw exception if parsing of vCard fails.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7217 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 17:02:39 +00:00
Matt Tucker
0bd96e5156 Moving variable to private. Why was it protected?
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7199 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 22:24:07 +00:00
Matt Tucker
3aa94b2a4e Set connected to false before closing reader and writer (SMACK-196).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7186 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:38:19 +00:00
Matt Tucker
2e5f42aa39 Added support for offline presence, code cleanup (SMACK-74, SMACK-201).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7185 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:35:05 +00:00
Matt Tucker
3e4a1ed5b5 Optimized concurrency in packet writer, better job of cleanup on disconnect.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7183 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 05:48:57 +00:00
Matt Tucker
319dcd408f Added convenience methods (SMACK-200).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7179 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-17 19:43:44 +00:00
Matt Tucker
e155c302ad Another collection change.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7168 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 01:56:16 +00:00
Matt Tucker
7c847dad6a Switched from volatile collection to copy on write array. Fixes concurrency bugs and leaking resources, but may have performance ramifications.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7159 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 00:12:17 +00:00
Matt Tucker
5d30c8ac26 Fixed another possible null case.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7083 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 16:21:24 +00:00
Matt Tucker
1303db9703 Fixed a case where null was returned.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7082 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 16:19:26 +00:00
Matt Tucker
322292cad9 Added ability to sign off with a custom presence packet (SMACK-195).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7081 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 02:23:28 +00:00
Matt Tucker
5f9456db0d Close trust store after loading (SMACK-188).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7074 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 03:08:40 +00:00
Matt Tucker
7329435c8e Javadoc cleanup.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7073 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 01:14:30 +00:00
Matt Tucker
b25b9d5d7c Default to null presence mode (SMACK-193).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7072 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 01:11:09 +00:00