On 3/14/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote: > Hello! > > We need to provide access manager with mode access rights than > READ/WRITE/DELETE. > > But I found there are a lot of placed where constants defined in access > meneger used (ItemManager,ItemImpl etc). Should I also provide custom > implementation for all these modules or there is some simplier way?
i don't know what constants you're talking of but you certainly don't need to extend ItemImpl etc.. take a look at the o.a.j.c.security.AccessManager interface. all you have to do is to provide an implementation of this interface that handles your custom authorization. check out SimpleAccessManager (a mock access manager); there are todo comments in the source code that should hint you to those areas where you might want to insert your code. cheers stefan > > -- > Eugene N Dzhurinsky >