HI. All .
I have developped a web application with Ejb and security check .
The methods of ejb declare the role Allow for security .
Into the file configuration i have declarated the roles. and users .
NOw i have to write a desktop application that leverage the business logic 
deployed int omy web application.
I use the call remote for ejb . 

I wolud into my desktop application that the first phase it is to log into
application and leverage the security integrated with tomee .

If i use only the web version i get form the browser the page with the
username and password for control the user .
But into the desktop i would log the user  for leverage the same tecnic of
control of security .

I have to embedded the page of login into my application desktop into a
JPanel swing for log into the system ???????
IF yes how i  can embedded the page login from the web application into the
JPanel for visualize into the JFrame ??'

or i can use another tecnic for log with the security constrain that i have
out of the box into the tomee ???

I know that i can write a SessionBEan Statefull and interceptor for all
methods int oall Ejb but i would leverage all business logic that is is
already integrated into my web application without into the methods
declaration with annotation and not wite other code or interceptors......

mauro



--
View this message in context: 
http://openejb.979440.n4.nabble.com/leverage-the-sucurity-with-a-application-desktop-tp4665047.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to