Fw: WCK Building Error
Hi, Oliver, - Which target do you yourself compile to? I changed in build.properties to "target=1.3." (was 1.4.) - Why did you modify build.xml? my mistake. I did not modify build.xml - Are the libraries you collected needed by your code? Slide and WCK come with all libraries they require... Slide binary published on the web page http://jakarta.apache.org/site/binindex.cgi are all 2.0. WCK works with 2.2. What is the correct procedure to get Slide 2.2 comparable jar files? Required jar files were listed in my last email (please see below.) Thank you very much for help, Jane - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 30, 2004 5:16 AM Subject: Re: WCK Building Error A few questions: - Which target do you yourself compile to? - Why did you modify build.xml? - Are the libraries you collected needed by your code? Slide and WCK come with all libraries they require... Oliver On Tue, 30 Nov 2004 00:16:28 -0500, Jane [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I changed the target =1.3. Still getting the same error. Some of the libraries I am using may not be the right version. But where should I go to get the right version for all the required libraries: What I have done is: (1) downloaded source code from WCK CVS. (2) got some libraries. Got the libraries from everywhere here may be the problem (3) modified build.properties, build.xml (4) wrote my own code to glue WebDav to my content mgmt system. (5) Build. Problem as described before. Please help. Thanks, Jane - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, November 26, 2004 12:36 PM Subject: Re: WCK Building Error > Maybe it is due to a mismatch of the compile target set in the > build.properties. The sample file for WCK set it to 1.4 and the one > for Slide is 1.3. I will align them... > > Oliver > > On Thu, 25 Nov 2004 15:14:43 -0500, Jane [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am building WCK with my added custom store to do Tomcat+WCK+my own >> file >> mgmt system. Can anyone tell me why I am >> >> getting the following error? >> >> Thanks, >> >> Jane >> >> == >> >> build: >> >> [echo] Building WCK >> >> [javac] Compiling 17 source files to >> D:\eclipse\workspace\webdav\build\classes >> >> BUILD FAILED: java.lang.UnsupportedClassVersionError: >> com/sun/tools/javac/Main (Unsupported major.minor version 49.0) >> >> Total time: 891 milliseconds >> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WCK Building Error
Hi, Oliver, Please see below. A few questions: - Which target do you yourself compile to? I changed in build.properties to "target=1.3." was 1.4. - Why did you modify build.xml? my mistake. I did not modify build.xml - Are the libraries you collected needed by your code? Slide and WCK come with all libraries they require... Slide binary published on the web page http://jakarta.apache.org/site/binindex.cgi are all 2.0. WCK works with 2.2. What is the correct procedure to get Slide 2.2 comparable jar files? Required jar files were listed in my last email (please see below.) Thank you very much for help, Jane - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 30, 2004 5:16 AM Subject: Re: WCK Building Error A few questions: - Which target do you yourself compile to? - Why did you modify build.xml? - Are the libraries you collected needed by your code? Slide and WCK come with all libraries they require... Oliver On Tue, 30 Nov 2004 00:16:28 -0500, Jane [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I changed the target =1.3. Still getting the same error. Some of the libraries I am using may not be the right version. But where should I go to get the right version for all the required libraries: What I have done is: (1) downloaded source code from WCK CVS. (2) got some libraries. Got the libraries from everywhere here may be the problem (3) modified build.properties, build.xml (4) wrote my own code to glue WebDav to my content mgmt system. (5) Build. Problem as described before. Please help. Thanks, Jane - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, November 26, 2004 12:36 PM Subject: Re: WCK Building Error > Maybe it is due to a mismatch of the compile target set in the > build.properties. The sample file for WCK set it to 1.4 and the one > for Slide is 1.3. I will align them... > > Oliver > > On Thu, 25 Nov 2004 15:14:43 -0500, Jane [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am building WCK with my added custom store to do Tomcat+WCK+my own >> file >> mgmt system. Can anyone tell me why I am >> >> getting the following error? >> >> Thanks, >> >> Jane >> >> == >> >> build: >> >> [echo] Building WCK >> >> [javac] Compiling 17 source files to >> D:\eclipse\workspace\webdav\build\classes >> >> BUILD FAILED: java.lang.UnsupportedClassVersionError: >> com/sun/tools/javac/Main (Unsupported major.minor version 49.0) >> >> Total time: 891 milliseconds >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WCK Building Error
I changed the target =1.3. Still getting the same error. Some of the libraries I am using may not be the right version. But where should I go to get the right version for all the required libraries: What I have done is: (1) downloaded source code from WCK CVS. (2) got some libraries. Got the libraries from everywhere here may be the problem (3) modified build.properties, build.xml (4) wrote my own code to glue WebDav to my content mgmt system. (5) Build. Problem as described before. Please help. Thanks, Jane - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, November 26, 2004 12:36 PM Subject: Re: WCK Building Error Maybe it is due to a mismatch of the compile target set in the build.properties. The sample file for WCK set it to 1.4 and the one for Slide is 1.3. I will align them... Oliver On Thu, 25 Nov 2004 15:14:43 -0500, Jane [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I am building WCK with my added custom store to do Tomcat+WCK+my own file mgmt system. Can anyone tell me why I am getting the following error? Thanks, Jane == build: [echo] Building WCK [javac] Compiling 17 source files to D:\eclipse\workspace\webdav\build\classes BUILD FAILED: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0) Total time: 891 milliseconds - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
WCK Building Error
Hi, I am building WCK with my added custom store to do Tomcat+WCK+my own file mgmt system. Can anyone tell me why I am getting the following error? Thanks, Jane == build: [echo] Building WCK [javac] Compiling 17 source files to D:\eclipse\workspace\webdav\build\classes BUILD FAILED: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0) Total time: 891 milliseconds
Re: authentication store
I am trying to the same thing: integrate my content management application with webDav with a single sign on. Reading WCK, it seems that implementing slide.simple.authentication.SessionAuthenticationManager plus change some configuration files will do. I am starting too... Jane - Original Message - From: "Warwick Burrows" <[EMAIL PROTECTED]> To: "'Slide Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, November 23, 2004 9:16 PM Subject: RE: authentication store > > My goal would be that when Slide calls to the security implementation to > make an access check that I would replace the authorization piece here with > my own ACL implementation that identifies the incoming user by a username > set in the HTTP request headers by our external security service which will > have already authenticated the user. I would also like to be able to define > my own access permissions and store them outside of Slide. Ie. replace the > security store implementation if that's where permissions are defined. > > Ideally, I'd like to replace the ACL implementation so that the form and > storage of permissions, the form and identification of users and the actual > authorization decision itself is defined by me but that it would be > transparent to Slide so that the AclMethod would continue to work. We'll see > whether that's actually possible :-) > > Warwick > > > > -Original Message- > > From: James Mason [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 23, 2004 8:01 PM > > To: Slide Users Mailing List > > Subject: RE: authentication store > > > > > > You can implement the Security interface to provide your own > > custom permission logic. An easier way might be to extend > > SecurityImpl, or even ACLSecurityImpl. > > > > Be aware that the WebDAV ACL specification has specific > > requirements beyond just how ACLs are evaluated. If all of > > your security management will happen outside of Slide then it > > should be enough to remove or disable AclMethod (not sure the > > best way to do this), since you won't need Slide to implement > > the ACL spec. > > > > -James > > > > On Tue, 2004-11-23 at 09:19 -0800, Warwick Burrows wrote: > > > Great summary James. I'll need to reimplement Slide > > authorization at > > > some time so this is good information for me too. If I want to > > > reimplement the entire ACL implementation is there a nice clean > > > interface layer that I can implement? Will I be able to remove the > > > user store from the process since I'm not using Slide ACL > > > implementation? > > > > > > Thanks, > > > Warwick > > > > > > > > > > -Original Message- > > > > From: James Mason [mailto:[EMAIL PROTECTED] > > > > Sent: Monday, November 22, 2004 9:50 PM > > > > To: Slide Users Mailing List > > > > Subject: Re: authentication store > > > > > > > > > > > > Slide delegates all authentication to the app server, so any > > > > authentication source your app server supports (db, xml file, > > > > ldap) can be used to authenticate users to Slide. In order to > > > > expose Slide's internal user's to the app server Slide > > > > provides a JAAS implementation. > > > > > > > > For authorization Slide needs to be able to access principals > > > > (users and > > > > roles) according to the webdav ACL specification. Part of > > > > that specification says all principals need to be accessible > > > > at a URI. This means that for Slide to do authorization every > > > > user and role needs to be be a node in Slide. > > > > > > > > You have three basic options for custom user management: > > > > > > > > 1) Implement a custom authentication mechanism for your app > > > > server (probably JAAS) and turn on auto-create-users to make > > > > Slide aware of your users. > > > > > > > > 2) Implement a custom Store for Slide to expose your users > > > > and roles as nodes in Slide. You'll need a "password" > > > > property in the Slide namespace in order for Slide's app > > > > server integration to work. > > > > > > > > 3) A combination of the first two. The JNDIStore takes this > > > > approach, taking advantage of most app server's built-in > > > > ability to authenticate against LDAP. > > > > > > > > -James > > > > > > > > On Mon, 2004-11-22 at 09:43 -0600, Chris O'Connell wrote: > > > > > Another newbie question... > > > > > > > > > > I need to integrate my content management application with > > > > an existing > > > > > suite of applications that all use a single sign-on > > > > framework. I see > > > > > lots of references to using a custom authentication mechanism > > > > > (presumably, instead of creating users in the Domain.xml). > > > > I really > > > > > want to do this, since having to modify Domain.xml every > > > > time I want > > > > > to add a new user, role etc. is not acceptable. Can anyone > > > > point me > > > > > at a link or some resource that provides some steps to > > > > implement this? > > > > > How do I tell Slide to use my mechanism? What is the > > > > interfa
Implementing BasicWebdavStore.java
Hi, I am having trouble mapping my lower layer EFS session into WebDavStore. In my lower layer EFS software, I need to create a session (authenticate user) before create a folder ,file and do anything else. For the following method in BasicWebdavStore, should be session be mapped into Service or Object(connection)? Is there any document to help me out? begin(Service, Principal, Object, LoggerFacade, Hashtable) I have the following in SessionManager: public class EfsSessionManager implements SessionAuthenticationManager { private LibrarySession session = null; public Object getAuthenticationSession(String user) { return session; } public Object getAuthenticationSession(String user, String password) throws Exception { session = new LibrarySession(user,password); return session; } public void closeAuthenticationSession(Object session) { } } thanks, Jane
Re: Can not find File org.apache.slide.store.MacroStore, Please help
Hi, Oliver, Thanks a lot for your help. I deleted file org.apache.slide.store.MacroStore. Modified build.properties. Recompiled. Got a java.lang.UnsupportedClassVersionError. (Please see below). What does this mean? thanks, Jane = build: [echo] Building WCK [javac] Compiling 14 source files to D:\eclipse\workspace\webdav\build\classes BUILD FAILED: java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0) Total time: 781 milliseconds - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 23, 2004 10:55 AM Subject: Re: Can not find File org.apache.slide.store.MacroStore, Please help > If you are compiling against 2.1 and not CVS HEAD you will have to > adjust build.properties and comment out > > supports.macro.store > > as this is not supported in 2.1. > > Oliver > > > On Mon, 22 Nov 2004 22:52:04 -0500, Jane [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Hi, > > I downloaded WCK from CVS and included all the jars required by build.xml. However, there is a file org.apache.slide.store.MacroStore imported in WebdavStoreMacroAdapter.java > > I just can not find. > > > > Can anyone point out where I can find this file? > > ( It also complained about 12 unimplemented files in WebdavStoreMacroAdapter.java ) > > I am trying to add WebDav API onto my file Management system. > > > > Thanks, > > > > Utterly frustrated Jane > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can not find File org.apache.slide.store.MacroStore, Please help
Hi, I downloaded WCK from CVS and included all the jars required by build.xml. However, there is a file org.apache.slide.store.MacroStore imported in WebdavStoreMacroAdapter.java I just can not find. Can anyone point out where I can find this file? ( It also complained about 12 unimplemented files in WebdavStoreMacroAdapter.java ) I am trying to add WebDav API onto my file Management system. Thanks, Utterly frustrated Jane
Fw: WebDav User Authentication
Looks like I have to implement PoolingConnectionManager.java Thanks, Jane - Original Message - From: "Jane [EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 1:06 PM Subject: WebDav User Authentication Hi, I just started to add WebDav to my Document/File Management System. I have a session in my File Mgmt System. To start using the File Mgmt System, a user has to obtain a session. (Authentication is done here). I want to let WebDav authentication to call this obtaining session authentication. Will the following code do the trick? public class EfsSessionManager implements SessionAuthenticationManager { private LibrarySession session = null; public Object getAuthenticationSession(String user) { return session; } public Object getAuthenticationSession(String user, String password) throws Exception { session = new LibrarySession(user,password); return session; } Any advice welcome. Thanks, Jane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
WebDav User Authentication
Hi, I just started to add WebDav to my Document/File Management System. I have a session in my File Mgmt System. To start using the File Mgmt System, a user has to obtain a session. (Authentication is done here). I want to let WebDav authentication to call this obtaining session authentication. Will the following code do the trick? public class EfsSessionManager implements SessionAuthenticationManager { private LibrarySession session = null; public Object getAuthenticationSession(String user) { return session; } public Object getAuthenticationSession(String user, String password) throws Exception { session = new LibrarySession(user,password); return session; } Any advice welcome. Thanks, Jane
Re: NewComer: Add WebDav to my Document Management System
Thanks, Oliver. I guess I will combine the jar obtained from Slide Release 2.2 beta 2 (compiled with my change) with TomCat 5.0.19. regards, Jane - Original Message - From: "Oliver Zeigermann" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 12:00 PM Subject: Re: NewComer: Add WebDav to my Document Management System > On Mon, 22 Nov 2004 11:58:23 -0500, Jane [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Hi, > > I just started to add WebDav to my Document/File Management System. I have only 1 week to finish this (a customer demo need it).(It seems a rather simple process from the document.. but..) > > Anyone with experience please point out a direction if you notice anything wrong. Below is what I did and my plan for next: > > > > (1) I downloaded source code of Jakarta-Slide Release 2.2 beta 2 into my Eclipse workspace > > (2) I fetched the latest WCK from CVS and compiled along with Slide Release 2.2 beta 2. I did notice some uncompliances (copyRec vs. copy.; I just changed copyRec to copy.) > > Could you explain? > > > (3) I have also downloaded jakarta-slide-2.0-tomcat-5.0.19 binary, and installed. It seems working on my machine. > > (4) I plan to implement BasicWebdavStore. and then replace the jar in jakarta-slide-2.0-tomcat-5.0.19 binary. then test to see if it works. > > WCK will not work with Slide 2.0 > > Oliver > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NewComer: Add WebDav to my Document Management System
Hi, I just started to add WebDav to my Document/File Management System. I have only 1 week to finish this (a customer demo need it).(It seems a rather simple process from the document.. but..) Anyone with experience please point out a direction if you notice anything wrong. Below is what I did and my plan for next: (1) I downloaded source code of Jakarta-Slide Release 2.2 beta 2 into my Eclipse workspace (2) I fetched the latest WCK from CVS and compiled along with Slide Release 2.2 beta 2. I did notice some uncompliances (copyRec vs. copy.; I just changed copyRec to copy.) (3) I have also downloaded jakarta-slide-2.0-tomcat-5.0.19 binary, and installed. It seems working on my machine. (4) I plan to implement BasicWebdavStore. and then replace the jar in jakarta-slide-2.0-tomcat-5.0.19 binary. then test to see if it works. If you see any problem in my plan, or any suggestions to make this task easier, please kindly advice. I am a total new comer to WebDav... Thanks, Jane