Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2006

Tip: Looking for answers? Try searching our database.

Authentication for web clients and Swing clients

Thread view: 
Francesco - 26 Dec 2006 09:10 GMT
Dear all,
I have to design for University thesis a full j2ee system, with EJB
middle tier and both web clients and Swing Clients.

My dilemma is how can I handle authentication successfully for both web
clients and swing clients ?

I'm thinking to connect swing/web clients to a Business Delegate and
use declarative security in the EJB deployment descriptors.

Will it work ?

And should I need any additional class (besides Business Delegate),
like Login Manager ? or the container will handle it all for me ?
I ask this because I have to draw a Class Diagram, so if any additional
classes are needed I have to draw them.

Thanks a lot and merry XMas to all !
Francesco
Arne Vajhøj - 27 Dec 2006 03:10 GMT
> I have to design for University thesis a full j2ee system, with EJB
> middle tier and both web clients and Swing Clients.
[quoted text clipped - 11 lines]
> I ask this because I have to draw a Class Diagram, so if any additional
> classes are needed I have to draw them.

It is not a problem to do login for a web app or to do login
for a fat client.

The problem is to do both against the same user database.

I can see two routes:

1) setup form based login in the web app against a database
   and let your fat client requests be validated against the
   same database.

2) setup form based login to work with JAAS and also use JAAS
   for your fat client (and let JAAS authenticate against whetever).

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.