On 11/26/2013 06:31 PM, Jaehwa Shin wrote:
Thanks for your corrections. I'd just read a few documents and thought
the plug-ins run in gsignond process. It sounds great that plug-ins run
in separate processes(I considered providing this model on Native SSO
framework layer). I agree that my concerns about gSSO's plug-in system
are not valid with the current gSSO plug-in system. And have some
questions. What is the life-cycle of the plug-in processes? Are they
created per session? or per plug-in?
The plug-in processes are created per plugin and shared between
sessions. Each session holds a reference to a plugin process, and when
the reference count drops to zero, the plugin process is terminated
(after waiting a few seconds in case another session appears).
This design is not set in stone, it can be changed, but it's the most
simple and still provides good user experience. We can increase the
degree of parallelism and have a separate plugin process for each
identity. Also see Jussi's message for a detailed explanation of how and
why authentication requests to plugins are serialized.
The reason for not providing Native gSSO wrapper is that we do not want
to expose two similar concepts to application developers : account and
(gSSO) identity
Tizen already supports account management and there is a set of Native
APIs for it. We want application developers to use SSO without knowing
the concept of identity which can be confused with account, so we will
provide SSO by extending the Tizen account module. Of course, we will
use libgsignon-glib library to implement the SSO features in account
management module.
However we will provide Native gSSO plug-in library for Native gSSO
plug-in developers. (Native means Tizen C++ API)
Looks good.
Do you have (or are you going to have) a public repository where these
projects are developed? We'd like to take a look and perhaps provide
guidance and help during development.
Regards,
Alexander
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev