tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiago Veronezi <thi...@veronezi.org>
Subject Re: leverage the sucurity with a application desktop
Date Wed, 11 Sep 2013 15:07:34 GMT
Hi mauro,

http://tomee.apache.org/clients.html

Check "Remote Client with HTTP (in TomEE)". It shows how to inform the user
credentials.

[]s,
Thiago.



On Wed, Sep 11, 2013 at 3:33 AM, mauro2java2011 <mauro2java2011@gmail.com>wrote:

> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message