aspose file tools*
The moose likes Java in General and the fly likes Simple secured application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Simple secured application " Watch "Simple secured application " New topic
Author

Simple secured application

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

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 ?


Thanks,
Sherif
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
What kind of application is this - web app? desktop app? Both, using the same backend?


Ping & DNS - my free Android networking tools app
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

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
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
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

Joined: Mar 05, 2007
Posts: 483

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
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
yes
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Thanks i got it , appreciate your help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Simple secured application