You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Unger Richard <ru...@camino.at> on 2002/12/12 14:14:55 UTC

SlideRealmHelper <-> AclMethod

Hi!

The changes I made to integrate the SlideRealm Helper class, as it is now
known, affected the org.apache.slide.security.SecurityImpl.

As I was merging the CVS head into my version yesterday I noticed that
someone has made changes to the SecurityImpl class and created a
SecurityImplAllGrant class. If I understand correctly, the original class
implements the original behaviour, while the new class extends SecurityImpl
overriding the hasPermission() method to implement a different WebDav ACL
method.

Unfortunately, since the users, groups and roles are stored differently and
access is now via the RealmHelper the hasPermission() method changed quite a
bit in my version of SecurityImpl.

As a methodolgy I think that writing one subclass of SecurityImpl for each
method is the right way to go. If you could summarize the difference between
the two methods briefly then I will alter the SecurityImplAllGrant to match
the new scheme. If it is a lot of effort to explain, I will go RTFM...


Richie

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>