Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

user management system for a website [closed]

I am currently writing a site that will require a login to use. I have never had to do this before and I am looking for advice on the best way to do it.

I am guessing there are already opensource logins that I can just impliment into my site, I just need advice on which one to use and advice on where to look about getting information on how to use them.

If anyone has any knowledge or advice on how to go about it I would greatly appreciate it

Thanks in advance

like image 960
Ian Avatar asked Jun 22 '12 14:06

Ian


2 Answers

You can have a look at Apache Shiro [1] : "Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management".

For Shiro with oAuth, see thread [2].

[1] http://shiro.apache.org/

[2] jersey RESTful & shiro & oAuth tutorial

like image 84
Arcadien Avatar answered Sep 28 '22 11:09

Arcadien


IMO Easiest thing to do would be to use an OAuth implementation for Java. OAuth lets your users auto-login using credentials from Google, etc

Check this out at Google: http://code.google.com/p/google-oauth-java-client/

like image 36
ControlAltDel Avatar answered Sep 28 '22 12:09

ControlAltDel