Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple secured application

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ,

I need to develop a secured application (logging by username and password) i need it too simple , so what is the best design for it , is using JAAS ? or retriving username and password from DB or authentication via DD , or there any other good ideas ?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of application is this - web app? desktop app? Both, using the same backend?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:What kind of application is this - web app? desktop app? Both, using the same backend?


Sorry i forgot to mention this , it's web application ..
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case, JAAS seems like overkill. See http://www.coderanch.com/t/438113/Java-General-intermediate/java/Authentication-authorization for my answer to a very similar question.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:In that case, JAAS seems like overkill. See http://www.coderanch.com/t/438113/Java-General-intermediate/java/Authentication-authorization for my answer to a very similar question.

So you recommend using the Servelts API security and retrieving the username and password from the Db ... right ?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks i got it , appreciate your help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic