Michael Young 16 年之前 - 编辑过的 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. 请登录以投票。 以……回复 取消
Jorge Ferrer 16 年之前 Very Nice Alex, I've been wanting to have those features for a long time.@Mike: you have my vote! 请登录以投票。 以……回复 取消
Alvaro Del Castillo 16 年之前 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. 请登录以投票。 以……回复 取消 Alexander Chow Alvaro Del Castillo 16 年之前 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. 请登录以投票。 以……回复 取消
Alexander Chow Alvaro Del Castillo 16 年之前 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. 请登录以投票。 以……回复 取消
Marcelo Ruiz Camauër 16 年之前 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? 请登录以投票。 以……回复 取消 Mohamed El Moussaoui Marcelo Ruiz Camauër 14 年之前 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. 请登录以投票。 以……回复 取消 Alexander Chow Mohamed El Moussaoui 14 年之前 @Marcelo Take a look at http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 请登录以投票。 以……回复 取消 asif aftab Alexander Chow 8 年之前 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 请登录以投票。 以……回复 取消
Mohamed El Moussaoui Marcelo Ruiz Camauër 14 年之前 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. 请登录以投票。 以……回复 取消 Alexander Chow Mohamed El Moussaoui 14 年之前 @Marcelo Take a look at http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 请登录以投票。 以……回复 取消 asif aftab Alexander Chow 8 年之前 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 请登录以投票。 以……回复 取消
Alexander Chow Mohamed El Moussaoui 14 年之前 @Marcelo Take a look at http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3341528 请登录以投票。 以……回复 取消 asif aftab Alexander Chow 8 年之前 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 请登录以投票。 以……回复 取消
asif aftab Alexander Chow 8 年之前 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 请登录以投票。 以……回复 取消