Michael Young 16 Years Ago - Edited We can probably get rid of JAAS altogether if we implement BASIC auth ourselves. It should only be a few lines of code. See http://www.alemoi.com/dev/httpaccess/ for a servlet example. We can probably take care of this in the SecureFilter. One immediate improvement this will bring (besides appserver dependence) is that since we are taking auth into our own hands, we can authenticate by screenname, email, or userid since we now have the company id. Please sign in to reply. Reply as... Cancel
Jorge Ferrer 16 Years Ago Very Nice Alex, I've been wanting to have those features for a long time.@Mike: you have my vote! Please sign in to reply. Reply as... Cancel
Shepherd Ching 16 Years Ago Tomcat 5.x works.Is WebDAV working at Tomcat 6.0.16 now ? Please sign in to reply. Reply as... Cancel
Alvaro Del Castillo 16 Years Ago Hi Alexander, I have played quickly with WebDAV in 4.4.2 trying to use it from Nautilus in GNOME and later with cavader command line utility. The first strange/unnatural thing is to use the userid in the login. I have tried it before using my email, as I normally do in the web client. I think that a nice default could be to use the email as it is also the default in the auth you use in the liferay bundles.The next thing is that you can not add documents until you have created a folder. Once I have created the folder, using the web interface, then I have uploaded sucessfully a document using cadaver. A quick test with Nautilus does not work but I need to test it more in Ubuntu Gutsy. Please sign in to reply. Reply as... Cancel Alexander Chow Alvaro Del Castillo 16 Years Ago Hi Alvaro,Yes, the way users login is perhaps the number one complaint about our WebDAV implementation. It was due to our dependency on JAAS and not knowing which company the user was logging in with.If you read my other blog post at http://www.liferay.com/web/achow/home/blogs/tunnel_web_without_jaas, the JAAS dependency has been removed for 5.0. So, you can now log in with the email address or screen name -- whatever the portal is configured to. In regards to the need to create a folder before adding documents, well, that is a business rule around document library. Depending on your WebDAV client (I haven't used cadaver before), you may not be able to create folders. OS X, for example, requires the server to be class 2 compliant before allowing you any write privileges on the server. Please sign in to reply. Reply as... Cancel
Alexander Chow Alvaro Del Castillo 16 Years Ago Hi Alvaro,Yes, the way users login is perhaps the number one complaint about our WebDAV implementation. It was due to our dependency on JAAS and not knowing which company the user was logging in with.If you read my other blog post at http://www.liferay.com/web/achow/home/blogs/tunnel_web_without_jaas, the JAAS dependency has been removed for 5.0. So, you can now log in with the email address or screen name -- whatever the portal is configured to. In regards to the need to create a folder before adding documents, well, that is a business rule around document library. Depending on your WebDAV client (I haven't used cadaver before), you may not be able to create folders. OS X, for example, requires the server to be class 2 compliant before allowing you any write privileges on the server. Please sign in to reply. Reply as... Cancel
Marcelo Ruiz Camauër 15 Years Ago What is the current state of webdav in 5.0? Does it have class 2 compliance? can you sign in with regular screen id/email? URLs look reasonable? If so, EXCELLENT!! Thanks!But when will 5.0 final be out? Please sign in to reply. Reply as... Cancel Mohamed El Moussaoui Marcelo Ruiz Camauër 14 Years Ago I am trying to get webdav R/W access from a new portlet.I did the bit about extending BaseWebDAVStorageImpl and updating portal-ext.properties with the new token and class.But I don't know where to go from there.Any pointer would be greatly appreciated. Please sign in to reply. Reply as... Cancel Alexander Chow Mohamed El Moussaoui 14 Years Ago @Marcelo Take a look at http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 Please sign in to reply. Reply as... Cancel asif aftab Alexander Chow 8 Years Ago http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 This link has an empty page, nothing is there.Please provide a working example on this or at least some code example to implement this.Thanks Please sign in to reply. Reply as... Cancel
Mohamed El Moussaoui Marcelo Ruiz Camauër 14 Years Ago I am trying to get webdav R/W access from a new portlet.I did the bit about extending BaseWebDAVStorageImpl and updating portal-ext.properties with the new token and class.But I don't know where to go from there.Any pointer would be greatly appreciated. Please sign in to reply. Reply as... Cancel Alexander Chow Mohamed El Moussaoui 14 Years Ago @Marcelo Take a look at http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 Please sign in to reply. Reply as... Cancel asif aftab Alexander Chow 8 Years Ago http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 This link has an empty page, nothing is there.Please provide a working example on this or at least some code example to implement this.Thanks Please sign in to reply. Reply as... Cancel
Alexander Chow Mohamed El Moussaoui 14 Years Ago @Marcelo Take a look at http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 Please sign in to reply. Reply as... Cancel asif aftab Alexander Chow 8 Years Ago http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 This link has an empty page, nothing is there.Please provide a working example on this or at least some code example to implement this.Thanks Please sign in to reply. Reply as... Cancel
asif aftab Alexander Chow 8 Years Ago http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 This link has an empty page, nothing is there.Please provide a working example on this or at least some code example to implement this.Thanks Please sign in to reply. Reply as... Cancel