You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Aleksei Lukin <lu...@stu.cn.ua> on 2008/08/15 15:18:52 UTC

usage pattern of upcoming security features?

Hello, All!

I saw a lot of code uploaded in svn had implementing new security model for JR.
Could please someone explain in few words idea of new JackRabbit security framework?

I develop new simple CMS based on JR and OCM and in current implementation  user http session is bound to
JCR session so each logged in user have his own session.

What hooks I must create to integrate with upcoming security framework? 

May be there is some code already in tests (svn version)  to look at?

TNX
-- 
SY, Alex Lukin
RIPE NIC HDL: LEXA1-RIPE

Re: usage pattern of upcoming security features?

Posted by Angela Schreiber <an...@day.com>.
hi aleksei

the current security code will be reworked, since the
access control section has been refactored recently.
please be aware that you will have to adjust your code.

apart from that:
yes, there are tests ins jackrabbit-core for both the
API and the impl.

regarding the integration:
it depends on your needs. take a look at the public
review of JSR 283. it is not at the latest state but
you will still get an idea of what will be provided.

hope that helps
angela


Aleksei Lukin wrote:
> Hello, All!
> 
> I saw a lot of code uploaded in svn had implementing new security model for JR.
> Could please someone explain in few words idea of new JackRabbit security framework?
> 
> I develop new simple CMS based on JR and OCM and in current implementation  user http session is bound to
> JCR session so each logged in user have his own session.
> 
> What hooks I must create to integrate with upcoming security framework? 
> 
> May be there is some code already in tests (svn version)  to look at?
> 
> TNX


Re: usage pattern of upcoming security features?

Posted by Alexander Klimetschek <ak...@day.com>.
On Fri, Aug 15, 2008 at 3:18 PM, Aleksei Lukin <lu...@stu.cn.ua> wrote:
> I saw a lot of code uploaded in svn had implementing new security model for JR.
> Could please someone explain in few words idea of new JackRabbit security framework?
>
> I develop new simple CMS based on JR and OCM and in current implementation  user http session is bound to
> JCR session so each logged in user have his own session.
>
> What hooks I must create to integrate with upcoming security framework?
>
> May be there is some code already in tests (svn version)  to look at?

The new access control code in Jackrabbit's trunk is an implementation
for the upcoming JCR 2.0 standard (JSR-283). The specification is
almost ready (albeit not final) and it contains the description of the
concepts and the API for access control. You'll find the PDF under
[1]. The access control is described in section 6.11.

[1] http://jcp.org/en/jsr/detail?id=283

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com