Re: DocumentPolicyManagerWrapper question

2005-09-15 Thread Andreas Hartmann
Josias Thoeny wrote: On Thu, 2005-09-15 at 10:17 +0200, Andreas Hartmann wrote: [...] Actually I think we should not to store the request object in the DPMWrapper, but to pass the repository session in the getPolicy() method. But this would create a dependency from the access control components

Re: DocumentPolicyManagerWrapper question

2005-09-15 Thread Josias Thoeny
On Thu, 2005-09-15 at 10:17 +0200, Andreas Hartmann wrote: [...] > > Actually I think we should not to store the request object in the DPMWrapper, > but to pass the repository session in the getPolicy() method. But this would > create a dependency from the access control components to the CMS repo

Re: DocumentPolicyManagerWrapper question

2005-09-15 Thread Josias Thoeny
On Wed, 2005-09-14 at 17:19 +0200, Josias Thoeny wrote: > On Wed, 2005-09-14 at 16:48 +0200, Andreas Hartmann wrote: > > Josias Thoeny wrote: > > > Hi, > > > > > > While investigating on > > > http://issues.apache.org/bugzilla/show_bug.cgi?id=36494 > > > I have seen that DocumentPolicyManagerWrapp

Re: DocumentPolicyManagerWrapper question

2005-09-15 Thread Andreas Hartmann
Josias Thoeny wrote: On Wed, 2005-09-14 at 16:48 +0200, Andreas Hartmann wrote: Josias Thoeny wrote: Hi, While investigating on http://issues.apache.org/bugzilla/show_bug.cgi?id=36494 I have seen that DocumentPolicyManagerWrapper.java always uses the same request object. To get a policy url

Re: DocumentPolicyManagerWrapper question

2005-09-14 Thread Josias Thoeny
On Wed, 2005-09-14 at 16:48 +0200, Andreas Hartmann wrote: > Josias Thoeny wrote: > > Hi, > > > > While investigating on > > http://issues.apache.org/bugzilla/show_bug.cgi?id=36494 > > I have seen that DocumentPolicyManagerWrapper.java always uses the same > > request object. > > > > To get a pol

Re: DocumentPolicyManagerWrapper question

2005-09-14 Thread Andreas Hartmann
Josias Thoeny wrote: Hi, While investigating on http://issues.apache.org/bugzilla/show_bug.cgi?id=36494 I have seen that DocumentPolicyManagerWrapper.java always uses the same request object. To get a policy url, it uses Session session = RepositoryUtil.getSession(this.request, getLogger());