ok hooked on workflow and search components. Works just fine. Thanks !
J.
Bogdan Stefanescu wrote:
>
> Hi all,
>
> I've rewritten the login logic and also added a system login.
>
> Now there are 3 security domains:
>
> 1. nuxeo-ecm - used to protect nuxeo5 beans access by authenticating
> against NuxeoLoginModule
> This domain is used internally by EJB3 container to protected Nuxeo5
> beans.
>
> 2. nuxeo-system-login - used by clients to login as the security
> pseudo-user (the SystemLoginModule + ClientLoginModule is used)
> This domain can be used to login only from the local machine
> I am trying to find a solution to be able to login as the system user
> from a remote machine
>
> 3. nuxeo-client-login - used by clients to login using regular users
> (the JBoss ClientLoginModule is used)
> This domain can be used to login either from a remote machine or from
> the local one
>
>
> To login using nuxeo-client-login domain you can use:
> UserSession us = new UserSession("username", "password");
> us.login();
> ...
> us.logout();
>
>
> To login using nuxeo-system-login domain you can use:
> SystemSession ss = new SystemSession();
> ss.login();
> ...
> ss.logout();
>
>
> Bogdan
>
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
>
--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
