Qs on authentication and databases in openMRS

0 views
Skip to first unread message

coolsoft

unread,
Jun 20, 2012, 12:07:22 PM6/20/12
to d...@openmrs.org
Hello all!
Brand Newbie Here.
Just digging thru the docs; Would appreciate if someone can tell me

a) Does the current release 1.9 has inbuilt postgresql db creation?
 I checked out the code from the trunk; not sure  if I picked the right one.

b) Where is the authentication module? or its just a LoginServlet ?
Which one verifies the credentials?

I am glad that this is servlet-based so inter-op with other frameworks is easy.

Thanks a  bunch in advance.

Ben Wolfe

unread,
Jun 22, 2012, 1:00:46 PM6/22/12
to d...@openmrs.org
I'm going to pass on the postgres question as you opened a separate thread for that: https://groups.google.com/a/openmrs.org/forum/?fromgroups#!topic/dev/Zod6faDOyso
(but the answer is yes, postgres should install with 1.9+)

LoginServlet will accept the submitted credentials and pass it to the api: Context.authenticate(String, String)

The webapp uses LoginServlet.  Other uses of the api should use the Context method.

Ben

-- OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org

Reply all
Reply to author
Forward
0 new messages