Re: Get Property Type Date Compare
Hi Aslam, Aslam Bari wrote: Dear All, I have two small issues. Can some body help me. I hope I can help you out. 1. I want search with DASL query all resources which have creationdate 2006-06-06. The d:gt and d:lt operators works well on date. But when i am giving Following query it does not giving me anything. D:eq D:prop D:creationdate/ /D:prop D:literal 2006-06-06 /D:literal /D:eq I have seen in resources they have creationdate like 2006-06-06T07:33:42Z. Is this is problem of format? If i want to ignore time part what it will do? Yes I think the problem is the format. I'm not sure what type of slide configuration you have but there are two more operators that you could use. S:property-contains D:propu:abstract//D:prop D:literalWord/D:literal /S:property-contains or propcontains S:propcontainsD:propD:author//D:propD:literalroot*/D:literal/S:propcontains More little more information can be found at: http://wiki.apache.org/jakarta-slide/DaslConfiguration 2. If there is any Webdav request to get Property type like displayname is of type string, creationdate is of type DATE, contentlengh is of type INT etc. Thanks in Advance. I'm afraid that based on a propfind the property will always be a string in the returned XML. Kind regards, Jeroen Reijn Hippo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
list function
I failed to list all files and subdirectories(folders) by calling listBasic(). Can any one give me some help? The listBasic() retuen nothing if there is no file at all in the directory even there are some subdirectories. -Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem authentication with new user
Hi David, I'm not 100% sure, but I think you can't nest users, so you will have to keep them at the top level. That is: /slide/users/ So you will get /slide/users/fox and /slide/users/MSN Kind regards, Jeroen Reijn Hippo -Original Message- From: David Chapelet [mailto:[EMAIL PROTECTED] Sent: vrijdag 8 september 2006 18:38 To: slide-user@jakarta.apache.org Subject: Problem authentication with new user Hi, I use Jakarta Slide 2.1 with Tomcat 5.0.28. I want created a collection called 'MSN' under /slide/users/fox ('fox' is a new collection too). So, First of all, I created a new user called 'fox' with password 'vdm' under the directory 'users' (uri=/users/fox) assigned with the role 'users'. The test logon is successfully at http://127.0.0.1:8080/slide/users/fox with login:fox and password:vdm. Then, I create a new user called 'MSN' with password 'vdm' under the directory 'fox' (uri=/users/fox/MSN) assigned with a new role 'fox' (user 'MSN' added to the list of users allowed in the role 'fox') When I try connect to the directory http://127.0.0.1:8080/slide/users/fox/MSN with login:MSN and password:vdm, the logon failed ! 8 sept. 2006 17:05:42 org.apache.catalina.realm.JAASRealm authenticate ATTENTION: Exception lors de l'authentification par login du nom d'utilisateur M SN javax.security.auth.login.LoginException: No such user at org.apache.slide.jaas.spi.SlideLoginModule.login(SlideLoginModule.jav a:183) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1 29) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java :607) at javax.security.auth.login.LoginContext.login(LoginContext.java:534) at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:316) at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(Bas icAuthenticator.java:129) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:504) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16 0) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:683) at java.lang.Thread.run(Thread.java:534) Thank you for your help. Regards. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: concatenating files
Hello Tiffany, Yes it's possible, thanks to Slide's event feature. Check this out: http://jakarta.apache.org/slide/javadoc/org/apache/slide/event/package-summa ry.html The feature allows the detection of certain actions and allows the addiction of behavior to them, before or after the actions have been processed. For example, you could produce a service that detects that someone uploaded 2 files, and then concatenates the two files ;). Hope this helps, Miguel Figueiredo -Original Message- From: Tiffany Dodge [mailto:[EMAIL PROTECTED] Sent: domingo, 10 de Setembro de 2006 10:19 To: slide-user@jakarta.apache.org Subject: concatenating files Hello, I have a question about concatenating files that I feel is probably not possible to do using slide's client library (and Apache's mod_dav), but I'm trying to be optimistic. After a client application uploads two files using slide, is it possible for the client app to then somehow concatenate the two files into one file on the webdav server? Any help or ideas would be appreciated. Thanks, Tiff - 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]
personalize thd documents
Hello, I implemented my server slide, and if a user connects himself, it can see the document of the other users can you help me to personalize the documents thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: personalize thd documents
On 9/11/06, ould sid'ahmed [EMAIL PROTECTED] wrote: Hello, I implemented my server slide, and if a user connects himself, it can see the document of the other users can you help me to personalize the documents thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi, you have to implement ACL see : http://jakarta.apache.org/slide/howto-acl.html hope this helps Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: personalize thd documents
thank for your response, I use ACL for authentication, but can the user connect, I don't arrive to personalize its documents can you know what? Marco Ferretti a écrit : On 9/11/06, ould sid'ahmed [EMAIL PROTECTED] wrote: Hello, I implemented my server slide, and if a user connects himself, it can see the document of the other users can you help me to personalize the documents thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi, you have to implement ACL see : http://jakarta.apache.org/slide/howto-acl.html hope this helps Marco - 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: personalize thd documents
Hi Ould, for the personilization of content you will have to set some permissions based on ACL's in your slide repository. More information on security can be found at: (http://jakarta.apache.org/slide/howto-acl.html) Regards, Jeroen Reijn Hippo -Original Message- From: ould sid'ahmed [mailto:[EMAIL PROTECTED] Sent: maandag 11 september 2006 13:45 To: Slide Users Mailing List Subject: personalize thd documents Hello, I implemented my server slide, and if a user connects himself, it can see the document of the other users can you help me to personalize the documents thanks. - 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]
Copying a file but getting a directory
Hi, I am running WCK and I am getting a strange behavior with the copyMethod/moveMethod: // just copying a file to another directory res.setPath(/slide/files/directoryX/fileA.rtf); boolean result = res.copyMethod(/slide/files/directoryY/fileA.rtf); But at the end of this execution I got a directory called fileA.rtf instead a file. Someone knows what am I doing wrong? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: personalize thd documents
On 9/11/06, Jeroen Reijn [EMAIL PROTECTED] wrote: Hi Ould, for the personilization of content you will have to set some permissions based on ACL's in your slide repository. More information on security can be found at: (http://jakarta.apache.org/slide/howto-acl.html) Regards, Jeroen Reijn Hippo -Original Message- From: ould sid'ahmed [mailto:[EMAIL PROTECTED] Sent: maandag 11 september 2006 13:45 To: Slide Users Mailing List Subject: personalize thd documents Hello, I implemented my server slide, and if a user connects himself, it can see the document of the other users can you help me to personalize the documents thanks. Hi, if you've set up correctly the web.xml it should work out of the box . Also, put attention on roles and groups as they may slip between the fingers of the configurator ! As a quick explanation of how ACL works, take a look at the wiki too : http://wiki.apache.org/jakarta-slide/Security hope it helps Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: Copying a file but getting a directory
Debugging I saw that the resourcetype property of the fileA.rtf has the value collection/. Thus, the if expression below returns true (WebdavStoreAdapter.java), the file is deleted and a directory with the same name of the file is created: // in initialzation phase there might be no other way to tell // this actually is a collection // if it turns out to be so we need to revoke our decission and // remove the resource and create a folder // instead if (tentativeResourceCreated.remove(uri.toString()) revisionDescriptor.getResourceType().equals(NodeRevisionDescriptor.COLLE CTION_TYPE)) { store.removeObject(uri.toString()); store.createFolder(uri.toString()); } Does anyone have any ideas? -Mensagem original- De: Alexandre Da Silva Duarte [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 11 de setembro de 2006 10:25 Para: slide-user@jakarta.apache.org Assunto: Copying a file but getting a directory Hi, I am running WCK and I am getting a strange behavior with the copyMethod/moveMethod: // just copying a file to another directory res.setPath(/slide/files/directoryX/fileA.rtf); boolean result = res.copyMethod(/slide/files/directoryY/fileA.rtf); But at the end of this execution I got a directory called fileA.rtf instead a file. Someone knows what am I doing wrong? Thanks in advance - 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]
encrypted password
Hello, We are using the Dav Explorer to connect to the Slide server. We created users and set the password as given in http://jakarta.apache.org/slide/howto-create-users.html. The password now appears in the property sheet for the collection. Is it possible to have an encrypted password so that others can not see the password? Thanks in advance. mridu -- View this message in context: http://www.nabble.com/encrypted-password-tf2256860.html#a6260040 Sent from the Jakarta Slide - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]