"Nevermann, Dr., Peter" <[EMAIL PROTECTED]> writes: > Hi, > > I verified that SlideRealm in now compatible with the changes made for ACL-draft-12 > compliance some time ago. After a few fixes, the testsuite now runs fine with: > > tprocessor.cmd -davauth default -pattern *cases\\functional* -exclude *multi-user* > > === > Activating SlideRealm I first got the following exception: > > ServerLifecycleListener: processContainerAddChild: MBeanException > java.lang.Exception: ManagedBean is not found with SlideRealm > at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:642) > at > org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:462) > at > org.apache.catalina.mbeans.ServerLifecycleListener.processContainerAddChild(ServerLifecycleListener.java:1358) > at > org.apache.catalina.mbeans.ServerLifecycleListener.containerEvent(ServerLifecycleListener.java:189) > at > org.apache.catalina.core.ContainerBase.fireContainerEvent(ContainerBase.java:1404) > <...> > > Apparently, the server anyway runs fine. But to get rid of it, I resurrected a > shortened version of src/wrappers/wrappers/catalina slide-descriptors.xml which is > needed to properly configure the ServerLifecycleListener in server.xml of TC 4.x: > > <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" > descriptors="/wrappers/catalina/slide-descriptors.xml" debug="0"/> > > Probably, Remy can better explain why that is needed. Also, I have no idea whether > it is required for TC 5.x as well. >
> Finally, there is some stuff related to the "old" roles implementation, which is not > needed anymore when going through WebDAV and using ACLSecurityImpl: > > - src/roles (completely) > - NamespaceConfig: roleMappings, roleClassMappings and defaultProperties > - Security, SecurityImpl, ACLSecurityImpl: methods > * boolean hasRole(ObjectNode object, String role) > * Enumeration getRoles(ObjectNode object) > and usages of it ... in particular, a very strange piece of code in > create() and store() of StructureImpl titled "Checking roles" ... hmm?? > > Shall we keep that anyway for compatibility? Opinions? If we want to get rid of it, now is the best time. Once 2.0 is out, we have to care about compatibility. +1 for removing this. > === > Well, and one more point: I run my tests by starting the server in my IDE. So, I > didn't work out how classes are to be deployed in Tomcat ... e.g. SlideRealm has to > reside below tomcat/server which implies that some classes of > org.apache.slide.common are expected below tomcat/common ... . Has somebody already > a solution for that? AFAIK if you want to use the slide realm all of slide execept the webdav stuff should be in common/lib. The SlideServerListener would start slide, when Tomcat starts. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
