Identity object for EJB is not available for JavaFX client

24 views
Skip to first unread message

ugiwolf

unread,
Nov 20, 2014, 6:06:20 AM11/20/14
to gran...@googlegroups.com
Hello!

I have a short question: 

On JavaFX client, the identity object for login, logout, ... is only as Spring object or as CDI object available. (org.granite.client.javafx.tide.spring.Identity and org.granite.client.javafx.tide.cdi.Identity)

All examples are implemented for Spring and the tutorial "tutorial-data" is implemented without Identity example. The documentation of the JavaFX client says, that it is recommended to use a real DI container such as Spring or CDI. For Flex clients, the EJB objects are available. There is also only a SimpleContextManager for EJB. 

Is it necessary to switch from EJB to Spring or CDI, if I want the full functionality from GraniteDS in combination with JavaFX? 

Thanks for answering my question!

Best regards,

Juergen

ugiwolf

unread,
Dec 10, 2014, 2:41:13 AM12/10/14
to gran...@googlegroups.com
Hello!

Are there any answers to my question? Is it planned to provide a security implementation for EJB in a future version or can I use the Spring Identity version for server login? I have no idea, how this should work. Or is no security functionality for EJB server available and it is better to switch from EJB to Spring (or CDI), if I want to use GraniteDS with JavaFX?

Thanks for your help in advance!

Best regards,

Juergen

ugiwolf

unread,
Dec 18, 2014, 4:48:26 AM12/18/14
to gran...@googlegroups.com
Hello!

OK. I found out the solution for my problem. 

For authentication of EJB, a special Identity version is not available. So I use for authentication the BaseIdentity implemented in package org.granite.client.tide.BaseIdentity;

Best regards,

Juergen
Reply all
Reply to author
Forward
0 new messages