On 8/17/2015 5:39 AM, Thomas Raehalme wrote:
On Mon, Aug 17, 2015 at 12:35 PM, Stian Thorgersen <stian(a)redhat.com
<mailto:stian@redhat.com>> wrote:
I'm not convinced about this approach, I think it would end up being
complex and we'd continuously get request on tweaking it to support
other providers.
Having a simple Java interface with something like (just a quick
mock, not the suggested interface):
SMSProvider:
* Status sendMessage(String message, String phoneNumber)
Would be fairly easy for users to implement and would work for all
services.
Sure, the interface would be simple to implement, but nevertheless it
requires a customization to the install and Keycloak no longer works
out-of-the-box.
I'm not saying the interface should not be there, but that it would be
great to also have a simple HTTP implementation available.
From what I've researched, most of these simple services you have to
pay for. There's an OSS SMS proxy and library you can integrate and
test. But that's it.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com