hosted.IM: user authentication against your company database
ProcessOne - Juan Pablo Carlino (Process One) - October 27, 2011Hosting.IM, the leading Cloud-based Instant Messaging service by ProcessOne, has extended further its user management integration features for larger companies. Please read about this new service below.
A common feature requested by many hosted.IM customers is the ability to authenticate users according to a pre-existent company database. Since then, we have implemented the possibility to authenticate against your POP3 or IMAP server. However it requires that your instant messaging domain name matches the domain from your e-mail addresses.
Several companies already have an intranet authentication backend, like LDAP, Active Directory or an Ad-Hoc database. On the other hand our experience with large sized companies is that is not a good idea to expose LDAP or Active Directory to the internet.
To overcome this problematic scenario we have added a new authentication method, which consists on delegating the authentication to an external REST API, acting as a façade to your own intranet database.
The behaviour expected by hosted.IM is fairly straightforward. Your API must answer a GET query with details about the user that is trying to authenticate to your IM domain with ‘true’ or ‘false’ depending on whether the user is authorized or not.
In the image below we see how mydomain.com administrator sets https://mydomain.com/auth as the REST URL and clicks on the highlighted Verify your service link to ensure hosted.IM is able to contact it:

The next step would be to click on the ‘Switch’ button and that’s all!. Now hosted.IM will authenticate users against your company data source.
Below is the specification of the authorization API:
| URL | Configured on hosted.IM user administration form. Could be HTTPS (recommended) or HTTP | |
| Method | GET | |
| Parameters | username | Username part of the user ID to be validated |
| password | Password sent by the user to be validated | |
| domain | Domain part of the user ID to be validated | |
| secret | Arbitrary string defined on hosted.IM user administration form | |
| Expected reply | Code | 200 OK |
| Content-type | application/json | |
| Body | true if authorized; otherwise false | |
| Error | Code | Any HTTP code, according to the error type. It will deny user access. |
This release also includes other improvements suggested by our users. It contains also bug fixes.
As we continue improving daily our service, we will greatly welcome your feedback. There is already much more to come soon. Thank you!
Links:
Categories: Companies ProcessOne
Erlang on Twitter
» Technigami (Technigami): @alfamale156 Erlang: +100 points :)
» ErlangInfo (Erlang!): RT @FrancescoC: Hackers in Berlin, @joeerl has just agreed to speak at the Berlin Erlang Factory Lite October 16th.
» Erlang_07 (Erlang ): @jimmyAhmd wkwk
» erinta_ (E.Chartica Ratu.P): Bobo sama dek erlang *peluk*
» SNSList (SNS一覧): Apache Thrift:これはソフトウェアスタックとコード生成エンジンを組み合わせることで、 C++ C# Java Perl Python PHP Erlang Ruby などの言語間にて効率的かつシームレスに動作するサービ http://t.co/JyEqvczH7m
» tajgur (Martin Wiso): RT @FrancescoC: Hackers in Berlin, @joeerl has just agreed to speak at the Berlin Erlang Factory Lite October 16th.
» ferranepifanio (EPI / エピ): Starting to read the @joeerl ‘s Programming Erlang second edition Beta release. #erlang http://t.co/kr623PqTko
» Erlang_07 (Erlang ): @tita_titutt waduuhh bahasaan malemm y berani. Wkwkwkwk
» tita_titutt (Shinta N. Mayliyanti): Yaudah yaudah, sinih bobok manis n romantis sama princess *eehh akakaaa “@Erlang_07: @tita_titutt ya iylah. Kan zeus y kudu bobo maniss.
» Erlang_07 (Erlang ): @tita_titutt ya iylah. Kan zeus y kudu bobo maniss. Wkwkwkwk
Statistics
Number of aggregated posts: 10649
Most recent article: May 19, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…