> What is the goal of your bundle ?
The bundle manage specific post handlers for my application so I extend for 
each of them the SlingPostOperation.

> Why do you want to do that ?
> Do you want to access an existing repository ?
On the website, I have a login form that I send to one of the previous handlers 
when submission button is pressed. Once I reach the handler, I log in the 
repository, create a session with specific access, and I can allow or deny 
access to some parts of my application.

Ad example, if my repository is like that:
-- /content/tb_monitoring
---- hospitals
---- idents
---- ...
I want that an admin can access all nodes, but a doctor should not access to 
the node idents. So I have defined ACL on nodes and now I need a login system 
into the repository.

I use the following code:
            Repository repository = new TransientRepository();

            Session session = repository.login(new SimpleCredentials(login, 
password));
(same as here http://jackrabbit.apache.org/first-hops.html)

Why isn't it suitable in my case?

Which other piece of code should I use instead?


> And most importantly: do not export jackrabbit.core bundles, this is
> most probably not correct.
If I don't export that, it's no more working properly... Do you have any idea 
what could be wrong in my pom.xml?

Thanks in advance,

Audrey

                                          
_________________________________________________________________
Vivez Noël avant l'heure avec Hotmail Magic Moment !
http://www.hotmailmagicmoment.com

Reply via email to