Friday, 2013-05-03

*** m1hael (~mschmidt@kastor.sgbs.de) has joined #wikid07:14
m1haelhi, i am new to wikid. we have rest services (java), web frontend (java vaadin) and android apps which communicate via the rest services with the backend. we would like to add some authentication to the whole setup. does wikid support this out of the box?07:16
*** m1hael has quit (*.net *.split)09:10
*** m1hael (~mschmidt@kastor.sgbs.de) has joined #wikid09:11
*** m1hael has parted #wikid (None)09:11
*** m1hael (~mschmidt@kastor.sgbs.de) has joined #wikid09:11
m1haelhi, i am new to wikid. we have rest services (java), web frontend (java vaadin) and android apps which communicate via the rest services with the backend. we would like to add some authentication to the whole setup. does wikid support this out of the box?09:11
*** nowen1 (~nowen@50-194-249-125-static.hfc.comcastbusiness.net) has joined #wikid12:13
m1haelhi, i am new to wikid. we have rest services (java), web frontend (java vaadin) and android apps which communicate via the rest services with the backend. we would like to add some authentication to the whole setup. does wikid support this out of the box?12:51
*** nowen1 is now known as nowen_work12:51
nowen_workm1hael: are you still here?13:00
m1haelyep. still here13:00
nowen_worktell me what you are trying to do. I read the logs, but would like more info13:00
m1haelwe have some rest services deployed (java) which need authenticated access. we have some web frontends which need some form of authentication. the web frontends (java / vaadin) get the data from the previous mentioned rest services. we have also android apps which also gets their data via the rest services.13:02
m1haelwhat we need here is a form of authentication which works on all these locations: rest services, web and android13:03
nowen_workHave you seen our API?13:03
m1haelnot yet. i thought to ask question first before diving into any API or making any prototype setup13:03
nowen_workwell, our server is written in java. it's our primary lang.13:04
nowen_workI see no reason why this can't be done fairly easily13:04
nowen_workwe have an android token13:05
m1haelso the web client asks for user/pass and these are passed to the wikid system? what does the web client gets in response? a token?13:05
nowen_workno, it gets an XML response.13:06
nowen_workhttp://www.wikidsystems.com/support/wikid-support-center/manual/wikid-network-client-wclient-api-manual/transaction-examples-part-2 see online login13:06
nowen_workthe java client interprets this as a 'success'13:07
nowen_workhttp://www.wikidsystems.com/support/wikid-support-center/web-application-how-tos/how-to-use-wikid-in-a-jsp-application13:09
nowen_workmight also help13:09
m1haelit is pretty confusing and not as straightforward as i hoped it to be. but so it seems to be with auth.13:10
nowen_workwell, we have on the server a file called example.jsp. it shows how to implement all the functions of the api and is well documented13:11
m1haelwe have several android apps. the user should enter credentials at most only once, no matter what app it uses. can this be done?13:12
nowen_workperhaps you need info on how WiKID works in general?13:12
m1haeldoes the android client also works with the community edition or would we need to buy the commercial edition?13:14
nowen_workno - sorry, we use commercial encryption libraries for the smart phone tokens13:14
nowen_workhow many users do you have?13:15
m1haelwe have probably 30 android clients and one web app with about 40 users13:16
m1haelwhat is a good starting point for grasping the general concept of wikid?13:18
nowen_workhttp://www.wikidsystems.com/learn-more/how-it-works13:18
m1haelthanx i'll take a look into it thanx13:19
nowen_workessentially, the tokens create public/private keys and have an exchange with the server.  the user types their PIN into the token, it is encrypted & sent to the server.  If the PIN is correct, the account active and the encryption valid, an OTP is generated on the server, encrypted and returned13:20
nowen_workthe user enters the OTP into the app/vpn and on the back the api or a protocol like radius verifies it with the server13:20
m1haeland wikid provided a library which lets my app check if the OTP is valid?13:23
m1haelprovides13:23
nowen_workyes13:26
nowen_workit is lgpl licensed13:26
nowen_workwe also have python, ruby, php13:26
m1haelok. so the frontend client could send the token as a http header entry over a ssl connection to the server. the server could examine the header/token and check if it is valid. did i understand it correctly?13:27
nowen_workare you asking about session handling?13:28
m1haelno13:28
nowen_workour token clients don't use https, we use asymmetric encryption over port 8013:30
m1haelthe rest service needs somehow to know if the request is valid (comes from an authenticated source). if the token is sent as an http header entry it could check if the token is valid and so assume that the source is authenticated.13:30
m1haeli didn't mean the connection for registration/authentication but the rest call my applications do.13:31
nowen_workahh - ok - so your app gets the validation from our library and sets the header?13:33
m1haelyes13:33
m1haelsales question: does one year subscription mean we can use the software for only one year or does it mean we are on maintainance/support and are getting updates for one year?13:39
nowen_workboth.  the subscription is the right to use, support, everything all in one13:40
m1haelthanx for the info. i think i'll setup a test env.13:43
nowen_workgreat. for the record, we love IRC for support ;-)13:44
m1haelyes. i also love IRC. much faster feedback than forums, etc.13:46
*** m1hael has parted #wikid (None)13:48
nowen_workbiab13:55
*** nowen_work has quit (Read error: Connection reset by peer)15:59
*** nowen1 (~nowen@50-194-249-125-static.hfc.comcastbusiness.net) has joined #wikid16:00
*** nowen1 is now known as nowen_work16:45
joevanoand IRC support is much geekier :-D16:47
*** nowen_work has quit (Quit: Leaving.)20:13

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!