authenticating with XMPP ID (jabber address)
Posted May 28, 2008 11:13 UTC (Wed) by
jamesh (subscriber, #1159)
In reply to:
authenticating with XMPP ID (jabber address) by martinfick
Parent article:
The problem(s) with OpenID
Given that people have been deploying HA solutions for the technologies OpenID is based on for a long time, why do you say that OpenID doesn't help with HA?
- The discovery phase of OpenID is basically just a few plain HTTP requests. It should be no more difficult to add redundancy here than for any other web site (round robin DNS, load balancers, etc).
- The preferred discovery mechanism for OpenID 2.0 is to serve and XRDS document, which includes a priority list of service endpoints. The RP will pick the highest priority service with a supported protocol. This provides a way to specify that multiple OpenID providers can make assertions about a single URL, and provides an entry point for doing round-robin provider selection.
- The only long-lived state an OpenID provider keeps with a relying party is an association (a shared secret used to sign the response). If load balancing is used within a provider, the association store will need to be shared between the balanced servers. There are redundant solutions for databases or filesystems, so this is also a solved problem.
- In the case where the association store is lost/corrupted or the RP uses an association for the request that the provider doesn't recognise, the provider can inform the RP that the association is invalid and use a one-time association for the response (the RP then needs to make another call to verify the response using this new association).
- OpenID doesn't specify how the provider should authenticate the user, so that can be done however you like. Various LDAP solutions do a good job of replication, so that is one option to base things on. Similarly, a clustered or replicated RDBMS might fit the bill.
So it looks like you can introduce HA to pretty much any part of the protocol. Depending on your requirements, you may not require redundancy at all levels (e.g. a single HA OpenID provider might be enough).
As for the independence issue, things seem similar to email. Maintaining your independence while setting up an HA mail system will involve setting up redundant servers. You can delegate some of this to other organisations as backup MX, but this involves giving them control over some portion of your incoming email stream. I guess the answer here is to not delegate authority/control to people you don't trust.
(
Log in to post comments)