*
The moose likes Security and the fly likes Web login page versus Swing Login UI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Web login page versus Swing Login UI" Watch "Web login page versus Swing Login UI" New topic
Author

Web login page versus Swing Login UI

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

So with Web and J2EE we have this great integration with a FORM simple web page and passing the Principal to the Servlets and on to Services. This is great, easy to do.

But what if you have a Swing application and you have a Swing login page to login, How do you pass the Principal down to say EBJ3 Session Beans that are declared that the called needs to be in a role. I don't seem to find any nice integration like you have in Web UIs.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Set Cruz
Greenhorn

Joined: Jan 31, 2008
Posts: 26
Mark, I would declare my remote to take a Principal argument, and intercept the call to authenticate/authorize.


SCJP, Oracle PL/SQL Developer
 
jQuery in Action, 2nd edition
 
subject: Web login page versus Swing Login UI
 
Similar Threads
Valtira Rolecall 1.1 Identity Management Framework
Swing client communication...
Valtira Rolecall 1.1 Identity Management Framework
Java - Getting Login ID
how to let Java login tomcat form authorization