<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>slide-user@jakarta.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/</id>
<updated>2009-12-06T22:27:16Z</updated>
<entry>
<title>How can I use PropFindMethod?</title>
<author><name>Tanakorn Leesatapornwongsa &lt;tanakorn.lsv@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200905.mbox/%3c66134d120905032128l45845754pa6a6cc54cb177f8b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c66134d120905032128l45845754pa6a6cc54cb177f8b@mail-gmail-com%3e</id>
<updated>2009-05-04T04:28:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I want to use PropFindMethod to retrieves my interesting properties of the
file. When I used this, it didn't send XML properties name that I want to
the server.
My code like this,

       HttpClient http = new HttpClient();
&gt;        Credentials credentials = new
&gt; UsernamePasswordCredentials(SERVER_USERNAME, SERVER_PASSWORD);
&gt;        http.getState().setCredentials(new
&gt; AuthScope(SERVER_HOST,SERVER_PORT), credentials);
&gt;        http.getParams().setAuthenticationPreemptive(true);
&gt;        HostConfiguration hostConfig = new HostConfiguration();
&gt;        hostConfig.setHost(SERVER_HOST, SERVER_PORT, SERVER_PROTOCAL);
&gt;        PropFindMethod propFindMethod = new PropFindMethod();
&gt;        propFindMethod.setDepth(DepthSupport.DEPTH_0);
&gt;        propFindMethod.setPath(CALDAV_SERVER_WEBDAV_ROOT);
&gt;        propFindMethod.setType(PropFindMethod.BY_NAME);
&gt;        Vector&lt;PropertyName&gt; v = new Vector&lt;PropertyName&gt;();
&gt;        v.add(new PropertyName("DAV", "resourcetype"));
&gt;        v.add(new PropertyName("DAV", "calendar-home-set"));
&gt;        propFindMethod.setPropertyNames(v.elements());
&gt;        status = http.executeMethod(hostConfig, propFindMethod);
&gt;        System.out.println(status);
&gt;

But I found that my code didn't send properties "resourcetype" and
"calendar-home-set" to the server it only sent the header?
Is my code wrong?

Thank you.


</pre>
</div>
</content>
</entry>
<entry>
<title>Setting PR_CONVERSATION_INDEX</title>
<author><name>nitrogin &lt;nitrojin@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200904.mbox/%3c23052149.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23052149-post@talk-nabble-com%3e</id>
<updated>2009-04-15T04:02:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi all,

I'm trying to do a seemingly simple task of setting the
PR_CONVERSATION_INDEX  (PidTagConversationIndex) on my item before I send my
email out. I've tried to set other MAPI properties like PR_COVERSATION_TOPIC
using the proppatch method and they seem to go through fine. But for
PR_CONVERSATION_INDEX this doesn't quite fly since that property is of type
PT_BINARY. Looks like Slide's proppatch method is quite restrictive, as in
it requires that the value of the MAPI property you set is of type String.
So since PR_CONVERSATION_INDEX is of type PT_BINARY, things seem to not work
out in this case. Can anyone help out and let me know of a way to tackle
this issue?

One alternative that I was considering was to use Exchange Web Services
(EWS). Does anyone know if the same end can be achieved by using EWS? And if
so, how should I go about it?

All responses will be greatly appreciated.

Thanks,

Nitin
-- 
View this message in context: http://www.nabble.com/Setting-PR_CONVERSATION_INDEX-tp23052149p23052149.html
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>configure a namespace for each user</title>
<author><name>&quot;Jorge Fernando&quot; &lt;jorgefernando83@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200811.mbox/%3c8f33dbca0811170359l50ed18fbk790719bdd0eaf069@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8f33dbca0811170359l50ed18fbk790719bdd0eaf069@mail-gmail-com%3e</id>
<updated>2008-11-17T11:59:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

 I'm a new user of slide and I'd like to configure the namespace to create a
namespace for each user defined in Domain.xml. I don't wanna  justa create a
folder for each user, but I want that the users use the same path to save
the files and that files are saved in his own folders.

Im searching for it in the API, in the jakarta slide page and in the
google.

Someone know how to solve this problem?

thanks!!!



-- 
"Que homem  aquele que no pode fazer do mundo um lugar melhor"


</pre>
</div>
</content>
</entry>
<entry>
<title>accessing Exchange 2003</title>
<author><name>Michael Burkhardt &lt;mib@b-topia.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200804.mbox/%3c481659CB.2070208@b-topia.de%3e"/>
<id>urn:uuid:%3c481659CB-2070208@b-topia-de%3e</id>
<updated>2008-04-28T23:12:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

first of all, sorry for my English. Second, I'm using WebDAV since last friday.
But I have some problems to learn WebDAV.

I'm trying to connect to an Exchange server. Therefor I read on MSDN some
articles and use the examples from there, e.g.
http://www.msexchange.org/articles/Access-Exchange-2000-2003-Mailbox-WebDAV.html .

I tried to understand the example and execute it. Then I tried to make this
example with Java and Slide, but all the time I get an UnknownHostException when
I use a SearchMethod with query. If I just connect and disconnect like this

HttpURL httpURL = new HttpURL(...);
WebdavResource webdavResource = new WebdavResource(httpURL);
webdavResource.disconnect();

everything is fine.

May some of you guys have a little example with Slide for me to connect to a MS
Exchange server? That would be great.

Thanks a lot.

Ciao, Micha


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Alternative webdav client api?</title>
<author><name>=?ISO-8859-1?Q?Eir=EDkur_Sveinn_Hrafnsson?= &lt;eiki@idega.is&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200804.mbox/%3cDEE2AB45-0B1E-4F0B-A387-654C4AF8A38E@idega.is%3e"/>
<id>urn:uuid:%3cDEE2AB45-0B1E-4F0B-A387-654C4AF8A38E@idega-is%3e</id>
<updated>2008-04-07T09:35:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Good initiative :)

Eirikur S. Hrafnsson
Chief Software Engineer
Idega Software
http://www.idega.com

On Apr 7, 2008, at 1:12 AM, jharrop wrote:

&gt;
&gt;
&gt; Roland Weber wrote:
&gt;&gt;
&gt;&gt;&gt; Is there a natural migration path for my situation?
&gt;&gt;
&gt;&gt; If all you use is the client, there is no immediate hurry. However,
&gt;&gt; the Slide WebDAV client is based on an unsupported backlevel version
&gt;&gt; of HttpClient, besides being unsupported itself. As long as it works,
&gt;&gt; you're fine. As soon as a problem occurs, you're on your own.
&gt;&gt;
&gt;&gt; The Jackrabbit WebDAV client is your best option at Apache.
&gt;&gt; I don't know about any non-Apache WebDAV clients.
&gt;&gt;
&gt;
&gt; I've uploaded the slide webdav client code to
&gt; https://sourceforge.net/projects/webdavclient4j  where it can be
&gt; maintained/enhanced as necessary.
&gt;
&gt; I've replaced the unsupported HttpClient with the newer 3.0.1 client.
&gt; -- 
&gt; View this message in context: http://www.nabble.com/Alternative-webdav-client-api--tp13885439p16532022.html
&gt; Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;
&gt;


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Alternative webdav client api?</title>
<author><name>jharrop &lt;jason@plutext.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200804.mbox/%3c16532022.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c16532022-post@talk-nabble-com%3e</id>
<updated>2008-04-07T01:12:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


Roland Weber wrote:
&gt; 
&gt;&gt; Is there a natural migration path for my situation?
&gt; 
&gt; If all you use is the client, there is no immediate hurry. However,
&gt; the Slide WebDAV client is based on an unsupported backlevel version
&gt; of HttpClient, besides being unsupported itself. As long as it works,
&gt; you're fine. As soon as a problem occurs, you're on your own.
&gt; 
&gt; The Jackrabbit WebDAV client is your best option at Apache.
&gt; I don't know about any non-Apache WebDAV clients.
&gt; 

I've uploaded the slide webdav client code to
https://sourceforge.net/projects/webdavclient4j  where it can be
maintained/enhanced as necessary.

I've replaced the unsupported HttpClient with the newer 3.0.1 client.
-- 
View this message in context: http://www.nabble.com/Alternative-webdav-client-api--tp13885439p16532022.html
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: The state of WebDAV Clients</title>
<author><name>jharrop &lt;jason@plutext.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200804.mbox/%3c16531993.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c16531993-post@talk-nabble-com%3e</id>
<updated>2008-04-07T01:05:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


Roland Weber wrote:
&gt; 
&gt; Users of the current Slide codebase are welcome
&gt; to fork and support the code. They are even more
&gt; welcome to form a new project to move away from
&gt; the HttpClient 2.x/3.x API.

I've uploaded the slide webdav client code to
https://sourceforge.net/projects/webdavclient4j  where it can be
maintained/enhanced as necessary.  

The new name is intended to convey that this can (or rather, will, depending
on contributions) interoperate with a variety of webdav servers.



&gt;  I'm willing to invest
&gt; some effort into that next year, after we've
&gt; completed the HttpComponents move to TLP. But
&gt; at the moment, I don't see too many people working
&gt; on a WebDAV client. If you know any, please send
&gt; them our way :-) The best starting point for now
&gt; would be the Jackrabbit client code that is just
&gt; waiting for somebody to release it.
&gt; 
&gt; Of course you can always continue to use the
&gt; Slide WebDAV client. There wasn't much support
&gt; for some time, so the situation didn't really
&gt; change by the retirement. It is now just obvious
&gt; to anybody that the code is unsupported.
&gt; 

-- 
View this message in context: http://www.nabble.com/The-state-of-WebDAV-Clients-tp13950123p16531993.html
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>How scalable is the slide in terms of storage.</title>
<author><name>&quot;Abhijeet Ramdhave&quot; &lt;ARamdhave@saba.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200801.mbox/%3c9425E43B9FB1954A89306FDB385A047927667B@punex01.saba.com%3e"/>
<id>urn:uuid:%3c9425E43B9FB1954A89306FDB385A047927667B@punex01-saba-com%3e</id>
<updated>2008-01-23T11:56:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hello All,

We use the slide 2.1 milestone 1 as our repository solution.  
Recently we have faced an issue with the storage space.

With the large number of content of size around 500 MB each, the storage
space on single disk falls short.

Slide provides multiple stores.  We thought to leverage it for
supporting multiple disks with each store pointing to a new disk.

Unfortunately what you found is that for versioning support the root
store is always used.  In other words, all versions of any resource
located in any store are stored in the root store.  It defeats the sole
purpose of having multiple stores.

Is there anybody who can validate the above observation and if incorrect
suggest me a way to configure slide for storage space extensibility?

Also pointers on any other issues that might arise from such
configuration such as caching, transactions, etc are greatly
appreciated.

Regards,

Abhijeet
Technical Architect
Saba Software



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: The state of WebDAV Clients</title>
<author><name>&quot;Arne v.Irmer&quot; &lt;Arne.vonIrmer@uni-dortmund.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c474EB649.1040808@uni-dortmund.de%3e"/>
<id>urn:uuid:%3c474EB649-1040808@uni-dortmund-de%3e</id>
<updated>2007-11-29T12:53:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Raymond,
we have to face the facts: Many people are interested in using a
WebDAV-Server and Client-Lib that can be integrated easily in their
projects, but no one (or only one - hi oliver ;-) ) is implementing it.
The developer who should now help jackrabbit developers to implement a
webdav-server could do the development in slide, but they didn't.
I am in search for an alternative WebDAV-Server now for some weeks, and
I see many unvital project on client- and server-side webdav
implementations. (see DAVExplorer for example or jigsaw-Development: new
release in April 2007 last webdav-development in 2000)
Does webdav lose its spirit? What are the alternatives?

Yours
 Arne

Raymond Bourges schrieb:
&gt; Thank you for your answers Arne and Roland,
&gt;
&gt; But what do you think?
&gt;
&gt; Because our project wants to have additional WebDAV capacities I'd
&gt; prefer extend a existing server coming form a active community and not
&gt; fork from jackrabbit or slide WebDAV server and maintain this one.
&gt;
&gt; Do you think this is possible? Of course we have to make a clean work
&gt; in order to not disfigure jackrabbit WebDAV server with specific
&gt; package with extra WebDAV plug-ins for example.
&gt;
&gt; Additionally some work could have interest in a JCR approach. Excuse
&gt; for my poor knowledge about JCR… In our project we have interests in:
&gt; - Authentication (LDAP, SSO, Shibboleth)
&gt; - Authorization (ACP existing in jackrabbit. Isn’t it? + External
&gt; group management)
&gt; - Quota
&gt; Are these aspects may have some interest in Jackrabbit project?
&gt; Because of JCR approach I think (do you confirm?) that Quota is not
&gt; well locate in WebDAV server but what about AutN and AuthZ?
&gt;
&gt; Thanks a lot for your help.
&gt;
&gt; Arne v.Irmer a écrit :
&gt;&gt;&gt; Their "simple" or "default" WebDAV server. That doesn't mean it can't
&gt;&gt;&gt; be extended to JSR-170 + additional APIs for addressing additional
&gt;&gt;&gt; functionality. Of course that's something that would need to be
&gt;&gt;&gt; developed.
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;     
&gt;&gt; I agree with you. But that is not in the interest of the
&gt;&gt; Jackrabbit-Developers.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt;&gt;
&gt;&gt;   
&gt;
&gt; ------------------------------------------------------------------------
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: The state of WebDAV Clients</title>
<author><name>Raymond Bourges &lt;raymond.bourges@univ-rennes1.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c474E8713.6010108@univ-rennes1.fr%3e"/>
<id>urn:uuid:%3c474E8713-6010108@univ-rennes1-fr%3e</id>
<updated>2007-11-29T09:32:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thank you for your answers Arne and Roland,

But what do you think?

Because our project wants to have additional WebDAV capacities I'd 
prefer extend a existing server coming form a active community and not 
fork from jackrabbit or slide WebDAV server and maintain this one.

Do you think this is possible? Of course we have to make a clean work in 
order to not disfigure jackrabbit WebDAV server with specific package 
with extra WebDAV plug-ins for example.

Additionally some work could have interest in a JCR approach. Excuse for 
my poor knowledge about JCR... In our project we have interests in:
- Authentication (LDAP, SSO, Shibboleth)
- Authorization (ACP existing in jackrabbit. Isn't it? + External group 
management)
- Quota
Are these aspects may have some interest in Jackrabbit project? Because 
of JCR approach I think (do you confirm?) that Quota is not well locate 
in WebDAV server but what about AutN and AuthZ?

Thanks a lot for your help.

Arne v.Irmer a crit :
&gt;&gt; Their "simple" or "default" WebDAV server. That doesn't mean it can't
&gt;&gt; be extended to JSR-170 + additional APIs for addressing additional
&gt;&gt; functionality. Of course that's something that would need to be
&gt;&gt; developed.
&gt;&gt;
&gt;&gt;   
&gt;&gt;     
&gt; I agree with you. But that is not in the interest of the
&gt; Jackrabbit-Developers.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: The state of WebDAV Clients</title>
<author><name>&quot;Arne v.Irmer&quot; &lt;Arne.vonIrmer@uni-dortmund.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c474D4361.10303@uni-dortmund.de%3e"/>
<id>urn:uuid:%3c474D4361-10303@uni-dortmund-de%3e</id>
<updated>2007-11-28T10:30:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

&gt; Their "simple" or "default" WebDAV server. That doesn't mean it can't
&gt; be extended to JSR-170 + additional APIs for addressing additional
&gt; functionality. Of course that's something that would need to be
&gt; developed.
&gt;
&gt;   
I agree with you. But that is not in the interest of the
Jackrabbit-Developers.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: The state of WebDAV Clients</title>
<author><name>Roland Weber &lt;ossfwot@dubioso.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c474C5BC3.9060809@dubioso.net%3e"/>
<id>urn:uuid:%3c474C5BC3-9060809@dubioso-net%3e</id>
<updated>2007-11-27T18:02:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Arne v.Irmer wrote:
&gt; [...] jackrabbit does not want to replace slide. It is
&gt; focused on the jsr-170 compatible store and not on webdav. (No ACLs, no
&gt; Events, no Bindings) And this can't change, because their webdav server
&gt; should run on any jsr-170-container.

Their "simple" or "default" WebDAV server. That doesn't mean it can't
be extended to JSR-170 + additional APIs for addressing additional
functionality. Of course that's something that would need to be
developed.

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: The state of WebDAV Clients</title>
<author><name>&quot;Arne v.Irmer&quot; &lt;Arne.vonIrmer@uni-dortmund.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c474C428A.4080500@uni-dortmund.de%3e"/>
<id>urn:uuid:%3c474C428A-4080500@uni-dortmund-de%3e</id>
<updated>2007-11-27T16:15:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,
us you read the answer to my question in the Jackrabbit User-mailing
list you know, that jackrabbit does not want to replace slide. It is
focused on the jsr-170 compatible store and not on webdav. (No ACLs, no
Events, no Bindings) And this can't change, because their webdav server
should run on any jsr-170-container.
In my small search I didn't find an opensource project that is on the
level that slide was. Did you?

Yours
 Arne

Raymond Bourges schrieb:
&gt; Hi,
&gt;
&gt; About: â��Oliver made a fix in Subversion, but there was nobody who
&gt; could release a fixed Slide, either as a minor update to the last
&gt; Slide release years ago, or as a new release of the current code in
&gt; Subversion.â��
&gt;
&gt; In ESUP-Portail project we have made a lot of work over Slide. Perhaps
&gt; because of our poor English we didnâ��t communicate about this. Sorry.
&gt;
&gt; Slide is used in many universities in France and we make a patch for
&gt; Slide 2.1. You can find it here:
&gt; http://www.esup-portail.org/consortium/espace/Securite/ESUP-2007-AVI-004-COR.zip
&gt;
&gt; It takes the form of a patch of AbstractWebdavMethod Class in order to
&gt; use a special EntityResolver that avoid XML Entity attack. It works on
&gt; LOCK method like Oliverâ��s patch and with other commands like PROPFIND.
&gt;
&gt; About ESUP-Portail project work over Slide we have:
&gt; - Authentication Filter (LDAP, SSO with CAS and Shibboleth)
&gt; - Specific Slide stores for groups (uPortal groups and Shibbolethâ��s
&gt; attributes based groups)
&gt; - A Quota for WebDAV (RFC 4331) based on Slide event mechanism
&gt;
&gt; Of course we plan to use Jackrabbit WebDAV server now. But, at this
&gt; time, I donâ��t know if we can rewrite Slide extension in a jackrabbit
&gt; environment. I just sign on jackrabbit mailing lists.
&gt;
&gt; Jackrabbit seems to be to ACP compliant. I find some information in
&gt; â��Coming from Slide...â�� thread in users mailing list.
&gt; But have you some information on how to plug specific WebDAV group
&gt; implementations in Jackrabbit? Is it spring enabled for example?
&gt;
&gt; Thanks a lot.
&gt;
&gt; Some information about ESUP-Portail WebDAV project:
&gt; - Web site: http://sourcesup.cru.fr/esup-webdav-srv/current/index.html
&gt; - The project site: http://sourcesup.cru.fr/projects/esup-webdav-srv/
&gt; - A recent presentation of Shibboleth mechanism:
&gt; http://www.terena.org/activities/eurocamp/november07/slides/bourges-the-shibboleth-enabled-webdav.pdf
&gt;
&gt;
&gt; ossfwot@dubioso.net &lt;mailto:ossfwot@dubioso.net&gt; a Ã©critÂ :
&gt;&gt; Hello Chris,
&gt;&gt;
&gt;&gt;   
&gt;&gt;&gt; JackRabbit does not currently have a WebDAV client implementation
&gt;&gt;&gt; according to this post
&gt;&gt;&gt; (http://www.nabble.com/Webdav-Client-Examples--tf4803755.html#a13852979).
&gt;&gt;&gt;     
&gt;&gt; The way I read this post, they have the implementation.
&gt;&gt; It is just not released as a separate component.
&gt;&gt;
&gt;&gt; The released version of the Slide WebDAV client is
&gt;&gt; based on HttpClient 2.0, which has been unsupported
&gt;&gt; for years. It also includes contrib code from
&gt;&gt; HttpClient which was never supported in the first
&gt;&gt; place.
&gt;&gt;
&gt;&gt;   
&gt;&gt;&gt; I think it is clear that there is a need for
&gt;&gt;&gt; a project like this.
&gt;&gt;&gt;     
&gt;&gt; That is good to know.
&gt;&gt;
&gt;&gt;   
&gt;&gt;&gt; Has there been any though in starting an Apache
&gt;&gt;&gt; Commons project to provide WebDAV support?
&gt;&gt;&gt;     
&gt;&gt; Not as a Commons project, but it was discussed
&gt;&gt; as a part of HttpComponents. The most recent
&gt;&gt; discussion took place on general@jakarta:
&gt;&gt; http://www.nabble.com/-discuss--Slide-%2B-HttpComponents-%3D%3E-TLP-tf4207242.html
&gt;&gt;
&gt;&gt; We made sure that the scope of the new
&gt;&gt; HttpComponents TLP allows for releasing
&gt;&gt; a WebDAV client, whether that is based on
&gt;&gt; Slide or Jackrabbit or something else. But
&gt;&gt; projects depend on volunteers to do the work.
&gt;&gt;
&gt;&gt;   
&gt;&gt;&gt; My understanding was that the Slide client was
&gt;&gt;&gt; stable and would probably provide a good starting
&gt;&gt;&gt; point for a WebDAV client.
&gt;&gt;&gt;     
&gt;&gt; It has no unit tests, no developer community,
&gt;&gt; and is based on an HttpClient API scheduled
&gt;&gt; for replacement. The Jackrabbit WebDAV client
&gt;&gt; is also based on an HttpClient API scheduled
&gt;&gt; for replacement, but it has a developer community.
&gt;&gt; I don't know about their unit tests.
&gt;&gt;
&gt;&gt;   
&gt;&gt;&gt; For more information on my WebDAV research see this post:
&gt;&gt;&gt; http://pragmaticchris.blogspot.com/2007/11/java-webdav-clients.html
&gt;&gt;&gt;     
&gt;&gt; Thanks for the pointers. I may post a comment on
&gt;&gt; your blog later this week. For now: we did not retire 
&gt;&gt; Slide because Jackrabbit is a perfect replacement.
&gt;&gt; We retired Slide because it had no developer
&gt;&gt; community that could address a security vulnerability:
&gt;&gt; http://www.nabble.com/Warning%3A-Security-Bug-in-Slide-tf4736066.html
&gt;&gt;
&gt;&gt; Oliver made a fix in Subversion, but there was
&gt;&gt; nobody who could release a fixed Slide, either
&gt;&gt; as a minor update to the last Slide release years
&gt;&gt; ago, or as a new release of the current code in
&gt;&gt; Subversion. Projects that cannot address security
&gt;&gt; vulnerabilities need to be retired. This does not
&gt;&gt; depend on the availability of an alternative. It
&gt;&gt; depends only on the availability of a developer
&gt;&gt; community.
&gt;&gt;
&gt;&gt; Users of the current Slide codebase are welcome
&gt;&gt; to fork and support the code. They are even more
&gt;&gt; welcome to form a new project to move away from
&gt;&gt; the HttpClient 2.x/3.x API. I'm willing to invest
&gt;&gt; some effort into that next year, after we've
&gt;&gt; completed the HttpComponents move to TLP. But
&gt;&gt; at the moment, I don't see too many people working
&gt;&gt; on a WebDAV client. If you know any, please send
&gt;&gt; them our way :-) The best starting point for now
&gt;&gt; would be the Jackrabbit client code that is just
&gt;&gt; waiting for somebody to release it.
&gt;&gt;
&gt;&gt; Of course you can always continue to use the
&gt;&gt; Slide WebDAV client. There wasn't much support
&gt;&gt; for some time, so the situation didn't really
&gt;&gt; change by the retirement. It is now just obvious
&gt;&gt; to anybody that the code is unsupported.
&gt;&gt;
&gt;&gt; cheers,
&gt;&gt;   Roland
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt;&gt;
&gt;&gt;   
&gt;
&gt; ------------------------------------------------------------------------
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org


-- 
Dipl.-Phys. Arne v.Irmer
ITMC Technische Universität Dortmund
Raum 214
Hauert 12a
44227 Dortmund
&lt;http://maps.google.com/maps?f=d&amp;hl=de&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;saddr=&amp;daddr=51.490619,7.40209&amp;mra=mi&amp;mrsp=0&amp;sz=19&amp;sll=51.490708,7.402623&amp;sspn=0.001506,0.002666&amp;ie=UTF8&amp;t=k&amp;z=19&amp;om=1&gt;Tel.:
++49 231 755 7127
Fax : ++49 231 755 4597

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: The state of WebDAV Clients</title>
<author><name>Raymond Bourges &lt;raymond.bourges@univ-rennes1.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c474C34BD.9090207@univ-rennes1.fr%3e"/>
<id>urn:uuid:%3c474C34BD-9090207@univ-rennes1-fr%3e</id>
<updated>2007-11-27T15:16:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

About: “Oliver made a fix in Subversion, but there was nobody who could 
release a fixed Slide, either as a minor update to the last Slide 
release years ago, or as a new release of the current code in Subversion.”

In ESUP-Portail project we have made a lot of work over Slide. Perhaps 
because of our poor English we didn’t communicate about this. Sorry.

Slide is used in many universities in France and we make a patch for 
Slide 2.1. You can find it here: 
http://www.esup-portail.org/consortium/espace/Securite/ESUP-2007-AVI-004-COR.zip

It takes the form of a patch of AbstractWebdavMethod Class in order to 
use a special EntityResolver that avoid XML Entity attack. It works on 
LOCK method like Oliver’s patch and with other commands like PROPFIND.

About ESUP-Portail project work over Slide we have:
- Authentication Filter (LDAP, SSO with CAS and Shibboleth)
- Specific Slide stores for groups (uPortal groups and Shibboleth’s 
attributes based groups)
- A Quota for WebDAV (RFC 4331) based on Slide event mechanism

Of course we plan to use Jackrabbit WebDAV server now. But, at this 
time, I don’t know if we can rewrite Slide extension in a jackrabbit 
environment. I just sign on jackrabbit mailing lists.

Jackrabbit seems to be to ACP compliant. I find some information in 
“Coming from Slide...” thread in users mailing list.
But have you some information on how to plug specific WebDAV group 
implementations in Jackrabbit? Is it spring enabled for example?

Thanks a lot.

Some information about ESUP-Portail WebDAV project:
- Web site: http://sourcesup.cru.fr/esup-webdav-srv/current/index.html
- The project site: http://sourcesup.cru.fr/projects/esup-webdav-srv/
- A recent presentation of Shibboleth mechanism: 
http://www.terena.org/activities/eurocamp/november07/slides/bourges-the-shibboleth-enabled-webdav.pdf


ossfwot@dubioso.net a écrit :
&gt; Hello Chris,
&gt;
&gt;   
&gt;&gt; JackRabbit does not currently have a WebDAV client implementation
&gt;&gt; according to this post
&gt;&gt; (http://www.nabble.com/Webdav-Client-Examples--tf4803755.html#a13852979).
&gt;&gt;     
&gt;
&gt; The way I read this post, they have the implementation.
&gt; It is just not released as a separate component.
&gt;
&gt; The released version of the Slide WebDAV client is
&gt; based on HttpClient 2.0, which has been unsupported
&gt; for years. It also includes contrib code from
&gt; HttpClient which was never supported in the first
&gt; place.
&gt;
&gt;   
&gt;&gt; I think it is clear that there is a need for
&gt;&gt; a project like this.
&gt;&gt;     
&gt;
&gt; That is good to know.
&gt;
&gt;   
&gt;&gt; Has there been any though in starting an Apache
&gt;&gt; Commons project to provide WebDAV support?
&gt;&gt;     
&gt;
&gt; Not as a Commons project, but it was discussed
&gt; as a part of HttpComponents. The most recent
&gt; discussion took place on general@jakarta:
&gt; http://www.nabble.com/-discuss--Slide-%2B-HttpComponents-%3D%3E-TLP-tf4207242.html
&gt;
&gt; We made sure that the scope of the new
&gt; HttpComponents TLP allows for releasing
&gt; a WebDAV client, whether that is based on
&gt; Slide or Jackrabbit or something else. But
&gt; projects depend on volunteers to do the work.
&gt;
&gt;   
&gt;&gt; My understanding was that the Slide client was
&gt;&gt; stable and would probably provide a good starting
&gt;&gt; point for a WebDAV client.
&gt;&gt;     
&gt;
&gt; It has no unit tests, no developer community,
&gt; and is based on an HttpClient API scheduled
&gt; for replacement. The Jackrabbit WebDAV client
&gt; is also based on an HttpClient API scheduled
&gt; for replacement, but it has a developer community.
&gt; I don't know about their unit tests.
&gt;
&gt;   
&gt;&gt; For more information on my WebDAV research see this post:
&gt;&gt; http://pragmaticchris.blogspot.com/2007/11/java-webdav-clients.html
&gt;&gt;     
&gt;
&gt; Thanks for the pointers. I may post a comment on
&gt; your blog later this week. For now: we did not retire 
&gt; Slide because Jackrabbit is a perfect replacement.
&gt; We retired Slide because it had no developer
&gt; community that could address a security vulnerability:
&gt; http://www.nabble.com/Warning%3A-Security-Bug-in-Slide-tf4736066.html
&gt;
&gt; Oliver made a fix in Subversion, but there was
&gt; nobody who could release a fixed Slide, either
&gt; as a minor update to the last Slide release years
&gt; ago, or as a new release of the current code in
&gt; Subversion. Projects that cannot address security
&gt; vulnerabilities need to be retired. This does not
&gt; depend on the availability of an alternative. It
&gt; depends only on the availability of a developer
&gt; community.
&gt;
&gt; Users of the current Slide codebase are welcome
&gt; to fork and support the code. They are even more
&gt; welcome to form a new project to move away from
&gt; the HttpClient 2.x/3.x API. I'm willing to invest
&gt; some effort into that next year, after we've
&gt; completed the HttpComponents move to TLP. But
&gt; at the moment, I don't see too many people working
&gt; on a WebDAV client. If you know any, please send
&gt; them our way :-) The best starting point for now
&gt; would be the Jackrabbit client code that is just
&gt; waiting for somebody to release it.
&gt;
&gt; Of course you can always continue to use the
&gt; Slide WebDAV client. There wasn't much support
&gt; for some time, so the situation didn't really
&gt; change by the retirement. It is now just obvious
&gt; to anybody that the code is unsupported.
&gt;
&gt; cheers,
&gt;   Roland
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;
&gt;   



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: The state of WebDAV Clients</title>
<author><name>ossfwot@dubioso.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c14055094.2165211196091755412.JavaMail.servlet@kundenserver%3e"/>
<id>urn:uuid:%3c14055094-2165211196091755412-JavaMail-servlet@kundenserver%3e</id>
<updated>2007-11-26T15:42:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello Chris,

&gt; JackRabbit does not currently have a WebDAV client implementation
&gt; according to this post
&gt; (http://www.nabble.com/Webdav-Client-Examples--tf4803755.html#a13852979).

The way I read this post, they have the implementation.
It is just not released as a separate component.

The released version of the Slide WebDAV client is
based on HttpClient 2.0, which has been unsupported
for years. It also includes contrib code from
HttpClient which was never supported in the first
place.

&gt; I think it is clear that there is a need for
&gt; a project like this.

That is good to know.

&gt; Has there been any though in starting an Apache
&gt; Commons project to provide WebDAV support?

Not as a Commons project, but it was discussed
as a part of HttpComponents. The most recent
discussion took place on general@jakarta:
http://www.nabble.com/-discuss--Slide-%2B-HttpComponents-%3D%3E-TLP-tf4207242.html

We made sure that the scope of the new
HttpComponents TLP allows for releasing
a WebDAV client, whether that is based on
Slide or Jackrabbit or something else. But
projects depend on volunteers to do the work.

&gt; My understanding was that the Slide client was
&gt; stable and would probably provide a good starting
&gt; point for a WebDAV client.

It has no unit tests, no developer community,
and is based on an HttpClient API scheduled
for replacement. The Jackrabbit WebDAV client
is also based on an HttpClient API scheduled
for replacement, but it has a developer community.
I don't know about their unit tests.

&gt; For more information on my WebDAV research see this post:
&gt; http://pragmaticchris.blogspot.com/2007/11/java-webdav-clients.html

Thanks for the pointers. I may post a comment on
your blog later this week. For now: we did not retire 
Slide because Jackrabbit is a perfect replacement.
We retired Slide because it had no developer
community that could address a security vulnerability:
http://www.nabble.com/Warning%3A-Security-Bug-in-Slide-tf4736066.html

Oliver made a fix in Subversion, but there was
nobody who could release a fixed Slide, either
as a minor update to the last Slide release years
ago, or as a new release of the current code in
Subversion. Projects that cannot address security
vulnerabilities need to be retired. This does not
depend on the availability of an alternative. It
depends only on the availability of a developer
community.

Users of the current Slide codebase are welcome
to fork and support the code. They are even more
welcome to form a new project to move away from
the HttpClient 2.x/3.x API. I'm willing to invest
some effort into that next year, after we've
completed the HttpComponents move to TLP. But
at the moment, I don't see too many people working
on a WebDAV client. If you know any, please send
them our way :-) The best starting point for now
would be the Jackrabbit client code that is just
waiting for somebody to release it.

Of course you can always continue to use the
Slide WebDAV client. There wasn't much support
for some time, so the situation didn't really
change by the retirement. It is now just obvious
to anybody that the code is unsupported.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>The state of WebDAV Clients</title>
<author><name>&quot;Chris Dail&quot; &lt;chrisdail@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c7e0866a80711241722i3140071epf086eda09d1e0a47@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7e0866a80711241722i3140071epf086eda09d1e0a47@mail-gmail-com%3e</id>
<updated>2007-11-25T01:22:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am a bit concerned at the state of WebDAV client implementations in Java.

The slide project has been recently retired and Apache recommends
using JackRabbit as an alternative.
JackRabbit does not currently have a WebDAV client implementation
according to this post
(http://www.nabble.com/Webdav-Client-Examples--tf4803755.html#a13852979).
Others in the industry like Eclipse, are using slide as the basis for
their new EFS WebDAV implementation
(http://wiki.eclipse.org/WebDAV_EFS_Implementation).

In all of my searching, I have yet to find a viable alternative to
slide as a WebDAV client. I think it is clear that there is a need for
a project like this. Has there been any though in starting an Apache
Commons project to provide WebDAV support? My understanding was that
the Slide client was stable and would probably provide a good starting
point for a WebDAV client.

For more information on my WebDAV research see this post:
http://pragmaticchris.blogspot.com/2007/11/java-webdav-clients.html

Thanks

Chris Dail
http://pragmaticchris.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Alternative webdav client api?</title>
<author><name>Roland Weber &lt;ossfwot@dubioso.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c4745C295.50408@dubioso.net%3e"/>
<id>urn:uuid:%3c4745C295-50408@dubioso-net%3e</id>
<updated>2007-11-22T17:55:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello Florian,

&gt; the retirement announcement for Slide, mentions Jackrabbit as an alternative
&gt; to slide.
&gt; I am mostly interested in using the api to access an existing WebDav
&gt; repository, but
&gt; it seems Jackrabbit is mostly focused on the server side of webdav, not the
&gt; client.

That is correct. But they do have a WebDAV extension to HttpClient.
Besides, Slide was also mostly focused on the server side :-)

&gt; Is there a natural migration path for my situation?

If all you use is the client, there is no immediate hurry. However,
the Slide WebDAV client is based on an unsupported backlevel version
of HttpClient, besides being unsupported itself. As long as it works,
you're fine. As soon as a problem occurs, you're on your own.

The Jackrabbit WebDAV client is your best option at Apache.
I don't know about any non-Apache WebDAV clients.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Alternative webdav client api?</title>
<author><name>&quot;Ard Schrijvers&quot; &lt;a.schrijvers@hippo.nl&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3cF8E386B54CE3E6408F3A32ABB9A7908A5758D8@hai02.hippointern.lan%3e"/>
<id>urn:uuid:%3cF8E386B54CE3E6408F3A32ABB9A7908A5758D8@hai02-hippointern-lan%3e</id>
<updated>2007-11-22T08:28:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

&gt; 
&gt; Hi,
&gt; 
&gt; the retirement announcement for Slide, mentions Jackrabbit as 
&gt; an alternative to slide.
&gt; I am mostly interested in using the api to access an existing 
&gt; WebDav repository, but it seems Jackrabbit is mostly focused 
&gt; on the server side of webdav, not the client.
&gt; 
&gt; Is there a natural migration path for my situation?

There are already some mails about this on the jackrabbit user list. I
think you have a better chance of getting help on that list,

Regards Ard



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Alternative webdav client api?</title>
<author><name>&quot;Alon Salant&quot; &lt;alon@salant.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3cd35b77750711211358p5911e25fuf8209b0f4dc6e0d6@mail.gmail.com%3e"/>
<id>urn:uuid:%3cd35b77750711211358p5911e25fuf8209b0f4dc6e0d6@mail-gmail-com%3e</id>
<updated>2007-11-21T21:58:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
We have found the slide client to be stable and free of issues. I
would not immediately assume that it is not a good option because the
development effort has been retired.

Alon

On 11/21/07, Florian Kirchhoff &lt;Florian.Kirchhoff@qwest.com&gt; wrote:
&gt;
&gt; Hi,
&gt;
&gt; the retirement announcement for Slide, mentions Jackrabbit as an alternative
&gt; to slide.
&gt; I am mostly interested in using the api to access an existing WebDav
&gt; repository, but
&gt; it seems Jackrabbit is mostly focused on the server side of webdav, not the
&gt; client.
&gt;
&gt; Is there a natural migration path for my situation?
&gt;
&gt; Thanks in advance for any help,
&gt;
&gt; Florian
&gt; --
&gt; View this message in context: http://www.nabble.com/Alternative-webdav-client-api--tf4852654.html#a13885439
&gt; Sent from the Jakarta Slide - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Alternative webdav client api?</title>
<author><name>Florian Kirchhoff &lt;Florian.Kirchhoff@qwest.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c13885439.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c13885439-post@talk-nabble-com%3e</id>
<updated>2007-11-21T20:35:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

the retirement announcement for Slide, mentions Jackrabbit as an alternative
to slide.
I am mostly interested in using the api to access an existing WebDav
repository, but
it seems Jackrabbit is mostly focused on the server side of webdav, not the
client.

Is there a natural migration path for my situation?

Thanks in advance for any help,

Florian
-- 
View this message in context: http://www.nabble.com/Alternative-webdav-client-api--tf4852654.html#a13885439
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>[ANNOUNCEMENT] Jakarta Slide is retired</title>
<author><name>Roland Weber &lt;ossfwot@dubioso.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c4731FCB0.6070609@dubioso.net%3e"/>
<id>urn:uuid:%3c4731FCB0-6070609@dubioso-net%3e</id>
<updated>2007-11-07T17:58:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The Apache Jakarta PMC is sorry to announce the retirement
of the Jakarta Slide subproject. After it's last release in
December 2004, development activity was significantly reduced
and came to a total standstill this year. Without a minimum
developer community that can release security fixes, we have
no choice but to retire Slide. We'll keep at least one of
the mailing lists open for a transition period, so users can
discuss alternatives and migration away from Slide. Further
use of the Slide codebase is discouraged.

One alternative to Slide is provided by the Apache Jackrabbit
project. Jackrabbit has a healthy, active developer community
and provides, among others things:
- a server-side content repository
- a WebDAV server component for access to the repository
- a WebDAV client component
Please visit http://jackrabbit.apache.org/ for more information.

We apologize for the inconveniences.

Roland Weber
  (wearing an Apache Jakarta PMC hat)

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Warning: Security-Bug in Slide</title>
<author><name>&quot;Oliver Zeigermann&quot; &lt;ozeigermann@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200711.mbox/%3c9da4f4520711020126o47a937ddw5e2770bff5c07848@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9da4f4520711020126o47a937ddw5e2770bff5c07848@mail-gmail-com%3e</id>
<updated>2007-11-02T08:26:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Folks!

As described here

http://www.milw0rm.com/exploits/4567

there is a security bug in the current Slide release. Using the LOCK
methode it is possible to display content from your local file system.
This works by passing over literate XML that contains entities that
refer to your local file system.

AFAIK this can not be prevented by the XML implementation Slide uses (JDOM).

A quick fix would be to disable the LOCK method in the web.xml by
commenting it out or removing it.

I have also committed a patched LockMethod.java that does not return
literate XML at all. This may cause trouble with the owner filed that
some clients require, but it is the best I can do for now.

It is checked in in the Slide 2.1 release branch and in the HEAD
branch. For existing Slide 2.1 installations it would suffice to check
out, compile and replace the LockMethod class. You can do so by
copying it in the the WEB-INF/class folder including all package
directories.

If you grant outside access to your Slide WebDAVServer be sure to take
care of this bug.

Cheers

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Reading ok, trouble writing</title>
<author><name>&quot;Seth Tager&quot; &lt;seth.tager@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3ce49011500710291223q22406a53r2db0ef13f8515f6a@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce49011500710291223q22406a53r2db0ef13f8515f6a@mail-gmail-com%3e</id>
<updated>2007-10-29T19:23:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have slide running on two servers, call them A and B. The slide
setups are identical, as far as I can tell.

On both A and B I can retrieve files in a web browser using the slide urls.

On A I can connect to the server using the 'Connect to Server' feature
of my Mac Finder, and I can view and update the webdav, but I cannot
connect to B in the same way. I get the message:

"You cannot connect to this server because it cannot be found on the
network. Try again later or try a different URL"

I'm also unable to update the slide server on B programmatically, so I
suspect there is some general problem writing to slide on server B and
its giving me that cryptic message on my mac. (The same code on A
works fine)

Any thoughts on what might be the problem, or suggestions for figuring it out?

Thanks

Seth

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Not all collections get listed.</title>
<author><name>Florian Kirchhoff &lt;Florian.Kirchhoff@qwest.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c13411069.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c13411069-post@talk-nabble-com%3e</id>
<updated>2007-10-25T17:07:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I am new to Slide (version 2.1) and I am trying something pretty simple:
1) Connect to a WebDAV server 
2) list the resources in the root collection.

The code snippet is here:
	HttpURL url = new HttpURL("kirchhof", "******","localhost", 9888);
	wdr = new WebdavResource(url,"/",true);
	wdr.setDebug(1);
	String[] list = wdr.list();
	for (String f : list) {
		System.out.println(f);
	}


It runs fine, but the listed resources are incomplete, I get all the Files,
but only one Collection. If  switched debugging on I see all the right
resources listed (see attached sample
http://www.nabble.com/file/p13411069/response.txt response.txt ). But the
list array only contains 2 entries:
the name of the 1 file resouces and an empty string.

I started stepping into the slide code to understand what's is going on. The
action seems to be
in the setWebdavProperties method of the WebdavResource class, since it
builds the childResources member of type WebsavResources. That latter class
contains a hashtable which WebdavResource
elements as values and the name property as key. Here is the problem: for
collection entries in the
response the key (WevdavResource.getName() is an empy string). The reason
for this is to be found
in setWebdavProperties  where the HttpUrl property is set for each resource:

Line 1076                char[] childURI = (myURI + (myURI.endsWith("/") ?
"" : "/")
Line 1077                                   +
URIUtil.getName(href)).toCharArray();
Line 1078                HttpURL childURL = httpURL instanceof HttpsURL
Line 1079                                   ? new HttpsURL(childURI)
Line 1080                                   : new HttpURL(childURI);
Line 1081               
childURL.setRawAuthority(httpURL.getRawAuthority());
Line 1082                workingResource.setHttpURL(childURL, NOACTION,
defaultDepth);

The problem is in Line 1077: URIUtil.getName(href) returns an empty string
because for a collection webdav resource href ends with a "/" (e.g.
"/somecollection/"). 

What am I missing?

Thanks for any help with this?

Florian
-- 
View this message in context: http://www.nabble.com/Not-all-collections-get-listed.-tf4692120.html#a13411069
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Can not log on</title>
<author><name>&quot;Hassan Schroeder&quot; &lt;hassan.schroeder@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c4eedb92a0710220749p55143c82of707d3e06305a4ff@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4eedb92a0710220749p55143c82of707d3e06305a4ff@mail-gmail-com%3e</id>
<updated>2007-10-22T14:49:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 10/21/07, leep leep &lt;leepname@gmail.com&gt; wrote:

&gt; I have tried the work around from MS, it seems it doesn't help.

&gt; 4. use DAV explorer to connect

Ah, sorry, missed that -- the MS tip was for the native "Web folders"
approach.

Afraid I didn't use the Slide realm so no experience setting it up.

Best of luck,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Can not log on</title>
<author><name>&quot;leep leep&quot; &lt;leepname@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c3a21b7a00710210858h486e6f8fqa61fdb8612419055@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3a21b7a00710210858h486e6f8fqa61fdb8612419055@mail-gmail-com%3e</id>
<updated>2007-10-21T15:58:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!
Many thanks for a quick reply.
I have tried the work around from MS, it seems it doesn't help.

Maybe I missed something, following is what I did:
1. install Tomact 5.25
2. start Tomact
3. Just deploy the file slide.war
4. use DAV explorer to connect

Any ideas?

Regards,
Lee

On 10/20/07, Hassan Schroeder &lt;hassan.schroeder@gmail.com&gt; wrote:
&gt; On 10/20/07, leep leep &lt;leepname@gmail.com&gt; wrote:
&gt;
&gt; &gt; I have installed Slide and Tomcat on a Windows XP. When I use DAV
&gt; &gt; Explorer to log on, I got log on prompt. But when I type in root/root,
&gt; &gt; it doesn't let me in. I checked the file, it says root has passwd
&gt; &gt; root.
&gt; &gt;
&gt; &gt; Any ideas?
&gt;
&gt; &lt;http://support.microsoft.com/kb/841215&gt;
&gt;
&gt; Excerpt:
&gt;
&gt; "For security purposes, Windows Vista and Windows XP SP2 disable
&gt;  Basic authentication in the Web Distributed Authoring and Versioning
&gt;  (WebDAV) Redirector."
&gt;
&gt; HTH,
&gt; --
&gt; Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Can not log on</title>
<author><name>&quot;Hassan Schroeder&quot; &lt;hassan.schroeder@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c4eedb92a0710200812o4a48ee28u2fa655b63604c5ee@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4eedb92a0710200812o4a48ee28u2fa655b63604c5ee@mail-gmail-com%3e</id>
<updated>2007-10-20T15:12:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 10/20/07, leep leep &lt;leepname@gmail.com&gt; wrote:

&gt; I have installed Slide and Tomcat on a Windows XP. When I use DAV
&gt; Explorer to log on, I got log on prompt. But when I type in root/root,
&gt; it doesn't let me in. I checked the file, it says root has passwd
&gt; root.
&gt;
&gt; Any ideas?

&lt;http://support.microsoft.com/kb/841215&gt;

Excerpt:

"For security purposes, Windows Vista and Windows XP SP2 disable
 Basic authentication in the Web Distributed Authoring and Versioning
 (WebDAV) Redirector."

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Can not log on</title>
<author><name>&quot;leep leep&quot; &lt;leepname@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c3a21b7a00710200733x17b8a604w7c95366ca2a5a307@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3a21b7a00710200733x17b8a604w7c95366ca2a5a307@mail-gmail-com%3e</id>
<updated>2007-10-20T14:33:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!
I have installed Slide and Tomcat on a Windows XP. When I use DAV
Explorer to log on, I got log on prompt. But when I type in root/root,
it doesn't let me in. I checked the file, it says root has passwd
root.

Any ideas?

Regards,
Lee

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Clearing failed transaction leftovers...</title>
<author><name>Jeff Hillier &lt;hillier1@llnl.gov&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c6bn1li$h8r4s@smtp.llnl.gov%3e"/>
<id>urn:uuid:%3c6bn1li$h8r4s@smtp-llnl-gov%3e</id>
<updated>2007-10-19T19:44:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all-

We've been using slide to manage publishing files to our web sites 
for about 6 months now and everything is working very well.

We are using the J2ee store backed by an oracle DB for the nodeStore 
and a TxFileContentStore for the file store.

Our users move files from a staging environment to a production 
environment via a custom app that uses slide to move the files in a 
transaction. In addition to moving the files we collect metadata 
about the request from various places and store it in our local database.

On rare occasions these transactions fail (due to various reasons, 
other db's down etc) which seems to leave slide in an unclean state.. 
ie our "work" directory has folders in it from these failed 
transactions. While in this state moving files to these folders 
fails, due to what seems to be time outs. When we get into this state 
we have to restart the app servers and slide cleans itself up and 
everything is fine.

after the restart I see in the logs:

WARN 12:33:41,063 (file-content-store.log():110): ---&gt; Could not 
process URI '/'! Thread Thread[Orion Launcher,5,main] marking 
transaction branch [B@1539d49 for rollback

that transaction branch is the one that failed and is a problem, and 
seems to get rolled back.

So is there anyway to manage/fix these type of problems without doing 
a restart? Is there an API to manually access and rollback transactions?

Any ideas on where to start looking would be very much appreciated.


Thanks

JEFF





---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Slide Client and HttpClient 3.x</title>
<author><name>Ali Naddaf &lt;ali@naddaf.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c470DCF8B.10606@naddaf.org%3e"/>
<id>urn:uuid:%3c470DCF8B-10606@naddaf-org%3e</id>
<updated>2007-10-11T07:23:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks John.
Ali.

John Rousseau wrote:
&gt; After applying the patch found in
&gt; http://issues.apache.org/bugzilla/show_bug.cgi?id=35213, the slide
&gt; client is working well for me.
&gt;
&gt; -John
&gt;
&gt; Ali Naddaf wrote:
&gt;   
&gt;&gt; Hello all.
&gt;&gt;
&gt;&gt; Is there a simple way to get httpclient 3.x to work with Slide 2.2pre? I
&gt;&gt; recently had to move my httpclient to version 3 and that caused problems
&gt;&gt; for my access to my Slide server. If it is not possible, what other
&gt;&gt; (open/free) Java based clients can I use?
&gt;&gt;
&gt;&gt; Thanks
&gt;&gt; Ali.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt;
&gt;   

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Slide Client and HttpClient 3.x</title>
<author><name>John Rousseau &lt;John.Rousseau@hds.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c470D3E91.7070005@hds.com%3e"/>
<id>urn:uuid:%3c470D3E91-7070005@hds-com%3e</id>
<updated>2007-10-10T21:05:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
After applying the patch found in
http://issues.apache.org/bugzilla/show_bug.cgi?id=35213, the slide
client is working well for me.

-John

Ali Naddaf wrote:
&gt; Hello all.
&gt; 
&gt; Is there a simple way to get httpclient 3.x to work with Slide 2.2pre? I
&gt; recently had to move my httpclient to version 3 and that caused problems
&gt; for my access to my Slide server. If it is not possible, what other
&gt; (open/free) Java based clients can I use?
&gt; 
&gt; Thanks
&gt; Ali.
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt; 
&gt; 

-- 
John Rousseau
Technical Lead, Archivas Business Unit
Hitachi Data Systems
+1-781-890-8353 x178
John.Rousseau@hds.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Slide Client and HttpClient 3.x</title>
<author><name>Ali Naddaf &lt;ali@naddaf.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c470D3A4D.9050609@naddaf.org%3e"/>
<id>urn:uuid:%3c470D3A4D-9050609@naddaf-org%3e</id>
<updated>2007-10-10T20:47:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello all.

Is there a simple way to get httpclient 3.x to work with Slide 2.2pre? I 
recently had to move my httpclient to version 3 and that caused problems 
for my access to my Slide server. If it is not possible, what other 
(open/free) Java based clients can I use?

Thanks
Ali.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>I am totally newbie. I am having trouble compiling Slide server with Ant</title>
<author><name>Newbie_han &lt;kimyungh@andrew.cmu.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c13011160.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c13011160-post@talk-nabble-com%3e</id>
<updated>2007-10-03T00:54:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

First of all, I am not familiar with Java open-source and any build script
for Java. I was given this open-source project and need to compile it on my
computer. Before asking specific questions, let me explain what I tried so
far to compile this.

- Downloaded Slide server 2.1 from Jakarta official website as zip file.
- Downloaded Jakarta Ant and install in on my Window PC.
- Installed JDK 1.5 on my PC

According to the installation instructions on the
website(http://jakarta.apache.org/slide/installation.html), I executed "ant"
inside a root directory of slide server ( D:\Fall backup\Independent
study\jakarta-slide-server-src-2.1).

Then, I got the following error messages after failure of compilatoin.

If there is anyone who know how to compile Slide server, give me some help.

-- 
View this message in context: http://www.nabble.com/I-am-totally-newbie.-I-am-having-trouble-compiling-Slide-server-with-Ant-tf4559264.html#a13011160
Sent from the Jakarta Slide - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: PROPFIND 409 conflict ERROR with timeout/deadlock</title>
<author><name>&quot;Miguel Figueiredo&quot; &lt;mfigueiredo@maisis.pt&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200710.mbox/%3c009b01c804d6$3ea67d30$c4c01bac@maisis.local%3e"/>
<id>urn:uuid:%3c009b01c804d6$3ea67d30$c4c01bac@maisis-local%3e</id>
<updated>2007-10-02T09:26:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello again Shakti,

 Maybe you can't start a nested transaction like it happens in the "no"
branch of point 3 and 4 (the 1st transaction happens on point 2).

Hope this helps,
Miguel Figueiredo


-----Original Message-----
From: Shakti Shrivastava [mailto:Shakti.Shrivastava@onassignment.com] 
Sent: sexta-feira, 28 de Setembro de 2007 16:23
To: Slide Users Mailing List
Subject: RE: PROPFIND 409 conflict ERROR with timeout/deadlock

Hi Miguel,

That fixed the issue. Thank you very much. But I still don't understand
why? Can Oliver chime in? I would really want to know.

This is what the code is doing (while trying to upload a resource like
http://host:port/slide/files/user-75/myfile.txt

1. Find collection files (this is http://host:port/slide/files)
2. If found add to a list (cache) and start a transaction (explicitly,
using startTransaction())
3. Check if collection user-57 exists using getChildren() if so add to
list (cache). No (explicit) transaction started here
4. Check if myfile.txt exists. No (explicit) transaction started here *
this is where the timeout is occurring 
5. If no then use putMethod()
6. Complete with commitTransaction()
7. in case of error do abortTransaction()

As you see there isn't an issue of nested transactions. Again, thanks
for your input.


-----Original Message-----
From: Miguel Figueiredo [mailto:mfigueiredo@maisis.pt] 
Sent: Friday, September 28, 2007 2:28 AM
To: 'Slide Users Mailing List'
Subject: RE: PROPFIND 409 conflict ERROR with timeout/deadlock

Hello Shakti,

 Although I'm not familiar with the details (Oliver would), you will be
happy to know that Slide already wraps write requests in internal
transactions. Checkout your Domain.xml, there is a piece of
configuration
that implicitly says just that:

&lt;!-- "false" lets all read-only methods be executed outside of
transactions
--&gt;
&lt;parameter name="all-methods-in-transactions"&gt;false&lt;/parameter&gt;

 From here http://www.checkupdown.com/status/E409.html I deduct that you
might be doing something illegal from the point of view of Slide WebApp.
What can it be?

 Hope this helps,
 Miguel Figueiredo

-----Original Message-----
From: Shakti Shrivastava [mailto:Shakti.Shrivastava@onassignment.com] 
Sent: quinta-feira, 27 de Setembro de 2007 23:30
To: slide-user@jakarta.apache.org
Subject: PROPFIND 409 conflict ERROR with timeout/deadlock

I am getting 409 conflict error when trying to create a WebdavResource
object for a given URL. 

The code is trying to create a file along with any missing collections
(that may not exist). Everything works fine however the code seems to
deadlock when trying to create a WebdavResource object on the filename.
I am using startTransaction and commitTransaction to make sure the file
upload either completes successfully or fails completely. The code runs
fine, in that the file upload completes, but I want to understand the
reason of the timeout here and get rid of it. Can someone please shed
some light on this?

I have googled this and nowhere can I find 409 status code associated
with a PROPFIND. This leads me to believe that this timeout has
something to do with a lock. However, nowhere in my code am I explicitly
locking any resource (may be it's the startTransaction()?).

Thanks in advance.

Using:

Tomcat 5.5.x
Slide version 2.2 (from SVN)
JVM: 1.5.x

 

Here are the logs from the SLIDE server (2 lines prefixed with * are the
ones where the error is happening)

http-8081-Processor25, 25-Sep-2007 18:50:08, unauthenticated, GET, 404
"Not Found", 547 ms, /files/user-docs/user-57
http-8081-Processor24, 25-Sep-2007 18:50:31, unauthenticated, PROPFIND,
404 "Not Found", 781 ms, /files/user-docs/user-57
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 125 ms, /files
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, LOCK, 200
"OK", 31 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 63 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, MKCOL, 201
"Created", 219 ms, /files/user-docs/user-57
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 281 ms, /files/3
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 0 ms, /files/user-docs/user-57
********** 25 Sep 2007 18:52:33 - file-meta-store - INFO - DEADLOCK
VICTIM: Thread Thread[http-8081-Processor23,5,main] marked transaction
branch http-8081-Processor23-1190771433584-32 for rollback
********** http-8081-Processor23, 25-Sep-2007 18:50:33, unauthenticated,
PROPFIND, 409 "Conflict", 120063 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, CHECKOUT,
404 "Not Found", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, GET, 404
"Not Found", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, PUT, 201
"Created", 109 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated,
VERSION-CONTROL, 200 "OK", 453 ms, /files/user-docs/user-57/myfile.txt
http-8081-Processor24, 25-Sep-2007 18:52:35, unauthenticated, UNLOCK,
204 "No Content", 156 ms, /files/user-docs/user-57

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: PROPFIND 409 conflict ERROR with timeout/deadlock</title>
<author><name>&quot;Shakti Shrivastava&quot; &lt;Shakti.Shrivastava@onassignment.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200709.mbox/%3cA9527F0C2C737446872554EBEF28D1FD01810FC4@OASBURBEX01.oaifield.onasgn.com%3e"/>
<id>urn:uuid:%3cA9527F0C2C737446872554EBEF28D1FD01810FC4@OASBURBEX01-oaifield-onasgn-com%3e</id>
<updated>2007-09-28T15:23:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Miguel,

That fixed the issue. Thank you very much. But I still don't understand
why? Can Oliver chime in? I would really want to know.

This is what the code is doing (while trying to upload a resource like
http://host:port/slide/files/user-75/myfile.txt

1. Find collection files (this is http://host:port/slide/files)
2. If found add to a list (cache) and start a transaction (explicitly,
using startTransaction())
3. Check if collection user-57 exists using getChildren() if so add to
list (cache). No (explicit) transaction started here
4. Check if myfile.txt exists. No (explicit) transaction started here *
this is where the timeout is occurring 
5. If no then use putMethod()
6. Complete with commitTransaction()
7. in case of error do abortTransaction()

As you see there isn't an issue of nested transactions. Again, thanks
for your input.


-----Original Message-----
From: Miguel Figueiredo [mailto:mfigueiredo@maisis.pt] 
Sent: Friday, September 28, 2007 2:28 AM
To: 'Slide Users Mailing List'
Subject: RE: PROPFIND 409 conflict ERROR with timeout/deadlock

Hello Shakti,

 Although I'm not familiar with the details (Oliver would), you will be
happy to know that Slide already wraps write requests in internal
transactions. Checkout your Domain.xml, there is a piece of
configuration
that implicitly says just that:

&lt;!-- "false" lets all read-only methods be executed outside of
transactions
--&gt;
&lt;parameter name="all-methods-in-transactions"&gt;false&lt;/parameter&gt;

 From here http://www.checkupdown.com/status/E409.html I deduct that you
might be doing something illegal from the point of view of Slide WebApp.
What can it be?

 Hope this helps,
 Miguel Figueiredo

-----Original Message-----
From: Shakti Shrivastava [mailto:Shakti.Shrivastava@onassignment.com] 
Sent: quinta-feira, 27 de Setembro de 2007 23:30
To: slide-user@jakarta.apache.org
Subject: PROPFIND 409 conflict ERROR with timeout/deadlock

I am getting 409 conflict error when trying to create a WebdavResource
object for a given URL. 

The code is trying to create a file along with any missing collections
(that may not exist). Everything works fine however the code seems to
deadlock when trying to create a WebdavResource object on the filename.
I am using startTransaction and commitTransaction to make sure the file
upload either completes successfully or fails completely. The code runs
fine, in that the file upload completes, but I want to understand the
reason of the timeout here and get rid of it. Can someone please shed
some light on this?

I have googled this and nowhere can I find 409 status code associated
with a PROPFIND. This leads me to believe that this timeout has
something to do with a lock. However, nowhere in my code am I explicitly
locking any resource (may be it's the startTransaction()?).

Thanks in advance.

Using:

Tomcat 5.5.x
Slide version 2.2 (from SVN)
JVM: 1.5.x

 

Here are the logs from the SLIDE server (2 lines prefixed with * are the
ones where the error is happening)

http-8081-Processor25, 25-Sep-2007 18:50:08, unauthenticated, GET, 404
"Not Found", 547 ms, /files/user-docs/user-57
http-8081-Processor24, 25-Sep-2007 18:50:31, unauthenticated, PROPFIND,
404 "Not Found", 781 ms, /files/user-docs/user-57
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 125 ms, /files
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, LOCK, 200
"OK", 31 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 63 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, MKCOL, 201
"Created", 219 ms, /files/user-docs/user-57
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 281 ms, /files/3
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 0 ms, /files/user-docs/user-57
********** 25 Sep 2007 18:52:33 - file-meta-store - INFO - DEADLOCK
VICTIM: Thread Thread[http-8081-Processor23,5,main] marked transaction
branch http-8081-Processor23-1190771433584-32 for rollback
********** http-8081-Processor23, 25-Sep-2007 18:50:33, unauthenticated,
PROPFIND, 409 "Conflict", 120063 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, CHECKOUT,
404 "Not Found", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, GET, 404
"Not Found", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, PUT, 201
"Created", 109 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated,
VERSION-CONTROL, 200 "OK", 453 ms, /files/user-docs/user-57/myfile.txt
http-8081-Processor24, 25-Sep-2007 18:52:35, unauthenticated, UNLOCK,
204 "No Content", 156 ms, /files/user-docs/user-57

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: PROPFIND 409 conflict ERROR with timeout/deadlock</title>
<author><name>&quot;Miguel Figueiredo&quot; &lt;mfigueiredo@maisis.pt&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200709.mbox/%3c001401c801b1$e55e49a0$c4c01bac@maisis.local%3e"/>
<id>urn:uuid:%3c001401c801b1$e55e49a0$c4c01bac@maisis-local%3e</id>
<updated>2007-09-28T09:28:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello Shakti,

 Although I'm not familiar with the details (Oliver would), you will be
happy to know that Slide already wraps write requests in internal
transactions. Checkout your Domain.xml, there is a piece of configuration
that implicitly says just that:

&lt;!-- "false" lets all read-only methods be executed outside of transactions
--&gt;
&lt;parameter name="all-methods-in-transactions"&gt;false&lt;/parameter&gt;

 From here http://www.checkupdown.com/status/E409.html I deduct that you
might be doing something illegal from the point of view of Slide WebApp.
What can it be?

 Hope this helps,
 Miguel Figueiredo

-----Original Message-----
From: Shakti Shrivastava [mailto:Shakti.Shrivastava@onassignment.com] 
Sent: quinta-feira, 27 de Setembro de 2007 23:30
To: slide-user@jakarta.apache.org
Subject: PROPFIND 409 conflict ERROR with timeout/deadlock

I am getting 409 conflict error when trying to create a WebdavResource
object for a given URL. 

The code is trying to create a file along with any missing collections
(that may not exist). Everything works fine however the code seems to
deadlock when trying to create a WebdavResource object on the filename.
I am using startTransaction and commitTransaction to make sure the file
upload either completes successfully or fails completely. The code runs
fine, in that the file upload completes, but I want to understand the
reason of the timeout here and get rid of it. Can someone please shed
some light on this?

I have googled this and nowhere can I find 409 status code associated
with a PROPFIND. This leads me to believe that this timeout has
something to do with a lock. However, nowhere in my code am I explicitly
locking any resource (may be it's the startTransaction()?).

Thanks in advance.

Using:

Tomcat 5.5.x
Slide version 2.2 (from SVN)
JVM: 1.5.x

 

Here are the logs from the SLIDE server (2 lines prefixed with * are the
ones where the error is happening)

http-8081-Processor25, 25-Sep-2007 18:50:08, unauthenticated, GET, 404
"Not Found", 547 ms, /files/user-docs/user-57
http-8081-Processor24, 25-Sep-2007 18:50:31, unauthenticated, PROPFIND,
404 "Not Found", 781 ms, /files/user-docs/user-57
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 125 ms, /files
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, LOCK, 200
"OK", 31 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 63 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, MKCOL, 201
"Created", 219 ms, /files/user-docs/user-57
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 281 ms, /files/3
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 0 ms, /files/user-docs/user-57
********** 25 Sep 2007 18:52:33 - file-meta-store - INFO - DEADLOCK
VICTIM: Thread Thread[http-8081-Processor23,5,main] marked transaction
branch http-8081-Processor23-1190771433584-32 for rollback
********** http-8081-Processor23, 25-Sep-2007 18:50:33, unauthenticated,
PROPFIND, 409 "Conflict", 120063 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, CHECKOUT,
404 "Not Found", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, GET, 404
"Not Found", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, PUT, 201
"Created", 109 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated,
VERSION-CONTROL, 200 "OK", 453 ms, /files/user-docs/user-57/myfile.txt
http-8081-Processor24, 25-Sep-2007 18:52:35, unauthenticated, UNLOCK,
204 "No Content", 156 ms, /files/user-docs/user-57

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>PROPFIND 409 conflict ERROR with timeout/deadlock</title>
<author><name>&quot;Shakti Shrivastava&quot; &lt;Shakti.Shrivastava@onassignment.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200709.mbox/%3cA9527F0C2C737446872554EBEF28D1FD01810F60@OASBURBEX01.oaifield.onasgn.com%3e"/>
<id>urn:uuid:%3cA9527F0C2C737446872554EBEF28D1FD01810F60@OASBURBEX01-oaifield-onasgn-com%3e</id>
<updated>2007-09-27T22:30:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am getting 409 conflict error when trying to create a WebdavResource
object for a given URL. 

The code is trying to create a file along with any missing collections
(that may not exist). Everything works fine however the code seems to
deadlock when trying to create a WebdavResource object on the filename.
I am using startTransaction and commitTransaction to make sure the file
upload either completes successfully or fails completely. The code runs
fine, in that the file upload completes, but I want to understand the
reason of the timeout here and get rid of it. Can someone please shed
some light on this?

I have googled this and nowhere can I find 409 status code associated
with a PROPFIND. This leads me to believe that this timeout has
something to do with a lock. However, nowhere in my code am I explicitly
locking any resource (may be it's the startTransaction()?).

Thanks in advance.

Using:

Tomcat 5.5.x
Slide version 2.2 (from SVN)
JVM: 1.5.x

 

Here are the logs from the SLIDE server (2 lines prefixed with * are the
ones where the error is happening)

http-8081-Processor25, 25-Sep-2007 18:50:08, unauthenticated, GET, 404
"Not Found", 547 ms, /files/user-docs/user-57
http-8081-Processor24, 25-Sep-2007 18:50:31, unauthenticated, PROPFIND,
404 "Not Found", 781 ms, /files/user-docs/user-57
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 125 ms, /files
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, LOCK, 200
"OK", 31 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, PROPFIND,
207 "Multi-Status", 63 ms, /files
25 Sep 2007 18:50:32 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:32, unauthenticated, MKCOL, 201
"Created", 219 ms, /files/user-docs/user-57
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 281 ms, /files/3
25 Sep 2007 18:50:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor25, 25-Sep-2007 18:50:33, unauthenticated, PROPFIND,
207 "Multi-Status", 0 ms, /files/user-docs/user-57
********** 25 Sep 2007 18:52:33 - file-meta-store - INFO - DEADLOCK
VICTIM: Thread Thread[http-8081-Processor23,5,main] marked transaction
branch http-8081-Processor23-1190771433584-32 for rollback
********** http-8081-Processor23, 25-Sep-2007 18:50:33, unauthenticated,
PROPFIND, 409 "Conflict", 120063 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, CHECKOUT,
404 "Not Found", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, GET, 404
"Not Found", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:33 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:33, unauthenticated, PUT, 201
"Created", 109 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 47 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 15 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 0 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated, PROPPATCH,
207 "Multi-Status", 31 ms, /files/user-docs/user-57/myfile.txt
25 Sep 2007 18:52:34 -
org.apache.slide.webdav.method.AbstractWebdavMethod - INFO - Using
external transaction &lt;opaquelocktoken:97995b34f21391315f7f53107fefe0d0&gt;
http-8081-Processor24, 25-Sep-2007 18:52:34, unauthenticated,
VERSION-CONTROL, 200 "OK", 453 ms, /files/user-docs/user-57/myfile.txt
http-8081-Processor24, 25-Sep-2007 18:52:35, unauthenticated, UNLOCK,
204 "No Content", 156 ms, /files/user-docs/user-57

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Authentication with Slide - Slide vs tomcat Realm</title>
<author><name>&quot;Satish&quot; &lt;satish@harbinger-systems.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200709.mbox/%3c024901c8010d$0fa2f6c0$4b00000a@harbinger.com%3e"/>
<id>urn:uuid:%3c024901c8010d$0fa2f6c0$4b00000a@harbinger-com%3e</id>
<updated>2007-09-27T13:48:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Arne,

I got that. I have implemented it and working fine, I could authenticate
with Slide this way. But after that this code is
not working, what I am trying here is get the webdadv resource..

import org.apache.commons.httpclient.HttpURL;



private HttpURL url;

private WebdavResource webdavResource;

this.url = new HttpURL( http://localhost/slide/files/abc.xml);


this.url.setUserinfo("root", "root");


this.webdavResource = new WebdavResource(this.url);



Now this is returning me "Bad Request" when I use
org.apache.commons.httpclient with version 3.1 and worked well when I use

older version of org.apache.commons.httpclient, version is less that 2.0.



Any clue.







----- Original Message ----- 
From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de&gt;
Cc: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org&gt;
Sent: Thursday, September 27, 2007 7:01 PM
Subject: Re: Authentication with Slide - Slide vs tomcat Realm


&gt; Satish schrieb:
&gt; &gt; Hey Arne,
&gt; &gt;
&gt; &gt; Thanks for quick response.
&gt; &gt;
&gt; &gt; Well I am using JAAS module from Slide site, they have made it available
for
&gt; &gt; authentication with Slide.
&gt; &gt; I did all configurations and tested by accessing from the browser and
&gt; &gt; DavExplorer, its working well. JAAS module responding preety good way.
&gt; &gt;
&gt; &gt; I then tried making HTTP based authentication using 3.1 lib and its also
&gt; &gt; working fine.
&gt; &gt;
&gt; &gt; Later I just was requesting webdav resource where 3.1 lib is configured
in
&gt; &gt; my app, and I was getting error with Slide as Bad Request.
&gt; &gt; Then i replaced this http 3.1 lib by older version and could get webdav
&gt; &gt; resource. But now I cant authenticate since AuthScope is not there in
older
&gt; &gt; version.
&gt; &gt;
&gt; Hi Satish,
&gt; As I said I'm using 3.01 and do the authentication that way:
&gt;         HttpClient client = new HttpClient();
&gt;
&gt;         // Authentifizierung bei ews
&gt;         client.getState().setCredentials(
&gt;                 new AuthScope(null,80),
&gt;                 new UsernamePasswordCredentials("Username","UserPasswd")
&gt;         );
&gt;             // Create a method instance.
&gt;             GetMethod method = new GetMethod(downloadURL);
&gt;             method.setDoAuthentication(true);
&gt;
&gt;             int statusCode = client.executeMethod(method);
&gt; That works pretty well.
&gt; Yours
&gt;  Arne
&gt;
&gt; &gt; JAAS is working fine but this is strange problem.
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt; Satish
&gt; &gt;
&gt; &gt;
&gt; &gt; ----- Original Message ----- 
&gt; &gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de&gt;
&gt; &gt; To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org&gt;
&gt; &gt; Sent: Thursday, September 27, 2007 6:24 PM
&gt; &gt; Subject: Re: Authentication with Slide - Slide vs tomcat Realm
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;&gt; Hi Satish,
&gt; &gt;&gt; Satish schrieb:
&gt; &gt;&gt;
&gt; &gt;&gt;&gt; Hi Arne,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; I manage to authenticate with http client 3.1, latest http client
&gt; &gt;&gt;&gt;
&gt; &gt; library
&gt; &gt;
&gt; &gt;&gt;&gt; with JAAS module. But I could not get webdav resource now. Upon
&gt; &gt;&gt;&gt;
&gt; &gt; searching on
&gt; &gt;
&gt; &gt;&gt;&gt; the forum I found Slide is not supporting http client 3.x libraries.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt; We are using http client 3.01 and it works.
&gt; &gt;&gt;
&gt; &gt;&gt;&gt; I am trying with the typical JAAS authentication with LoginContext,
&gt; &gt;&gt;&gt;
&gt; &gt; where I
&gt; &gt;
&gt; &gt;&gt;&gt; am getting error as not able to create LoginContext since could not
able
&gt; &gt;&gt;&gt;
&gt; &gt; to
&gt; &gt;
&gt; &gt;&gt;&gt; locate the login configuration.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt; This looks like a problem on the server side. I implemented my own JAAS
&gt; &gt;&gt; authentication, so it might be different to your case. If would get
that
&gt; &gt;&gt; error-message it will stress on not finding my JAAS implementation. I
&gt; &gt;&gt; your case maybe the JAAS-Implementation you are using has a problem. In
&gt; &gt;&gt; general speaking it could not be a problem of the version of http
&gt; &gt;&gt; client, because basic authentication is standardized and well
&gt; &gt;&gt; implemented in that client.
&gt; &gt;&gt; You should have the same problems with other clients like DAVExplorer
etc.
&gt; &gt;&gt;
&gt; &gt;&gt;&gt; Do you have any idea how we can use the http client library, which is
&gt; &gt;&gt;&gt; easiest way - or it is the limitation of Slide.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Regards,
&gt; &gt;&gt;&gt; Satish
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; ----- Original Message ----- 
&gt; &gt;&gt;&gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de&gt;
&gt; &gt;&gt;&gt; To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt; Sent: Monday, September 17, 2007 2:31 PM
&gt; &gt;&gt;&gt; Subject: Re: Authentication with Slide - Slide vs tomcat Realm
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Hi Satish,
&gt; &gt;&gt;&gt;&gt; we have to discriminate between the client- and the server side.
&gt; &gt;&gt;&gt;&gt; If you have a successful login with DAVExplorer the server side is
now
&gt; &gt;&gt;&gt;&gt; working properly.
&gt; &gt;&gt;&gt;&gt; On client side you can easily access an address that is protected
with
&gt; &gt;&gt;&gt;&gt; basic authentication using the commons-http-client.(see
&gt; &gt;&gt;&gt;&gt; http://jakarta.apache.org/httpcomponents/httpclient-3.x/)
&gt; &gt;&gt;&gt;&gt; For authentication look at
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;
http://jakarta.apache.org/httpcomponents/httpclient-3.x/authentication.html
&gt; &gt;
&gt; &gt;&gt;&gt;&gt; Hope that helps
&gt; &gt;&gt;&gt;&gt;  Arne
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Satish schrieb:
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Hi
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; There were problem in environment variables, I set all environment
&gt; &gt;&gt;&gt;&gt;&gt; variables correctly and its seems to be working :)
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Now tomcat is understanding Slide user database, tomcat-users.xml
not
&gt; &gt;&gt;&gt;&gt;&gt; required anymore for authentication.
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; I was checking this using DAVExplorer but now I need to implement
and
&gt; &gt;&gt;&gt;&gt;&gt; use API for authentication, so
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Is that JAAS package will help me in this, shall I need to use those
&gt; &gt;&gt;&gt;&gt;&gt; API for authentication from my custom jsp client?
&gt; &gt;&gt;&gt;&gt;&gt; Do you have any idea how can I directly use same authentication
way
&gt; &gt;&gt;&gt;&gt;&gt; like DAVExplorer using?
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Regards,
&gt; &gt;&gt;&gt;&gt;&gt; Satish
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     ----- Original Message -----
&gt; &gt;&gt;&gt;&gt;&gt;     *From:* kiltesh patel &lt;mailto:kiltesh@gmail.com&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     *To:* Slide Users Mailing List
&gt; &gt;&gt;&gt;&gt;&gt;     &lt;mailto:slide-user@jakarta.apache.org&gt; ; Satish
&gt; &gt;&gt;&gt;&gt;&gt;     &lt;mailto:satish@harbinger-systems.com&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     *Sent:* Saturday, September 15, 2007 10:15 PM
&gt; &gt;&gt;&gt;&gt;&gt;     *Subject:* Re: Authentication with Slide - Slide vs tomcat Realm
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     Hi Satish,
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     try this...
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     1. 5) Set environment variable
&gt; &gt;&gt;&gt;&gt;&gt;     CATALINA_OPTS=-Djava.security.auth.login
&gt; &gt;&gt;&gt;&gt;&gt;     .config=$CATALINA_HOME/conf/jaas
&gt; &gt;&gt;&gt;&gt;&gt;     .config
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     In place of = use == to set catalina_opts
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     2. Also, appName="slide_login" name should exactly match in
&gt; &gt;&gt;&gt;&gt;&gt;     config.jaas file
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     slide_login {....
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     3. You can also try using JAVA_OPTS instead of CATALINA_OPTS
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     4. Also, check your classpath if it finds jaas.config and
&gt; &gt;&gt;&gt;&gt;&gt;              userClassNames="org.apache.slide.jaas.spi
&gt; &gt;&gt;&gt;&gt;&gt;     .SlidePrincipal"
&gt; &gt;&gt;&gt;&gt;&gt;              roleClassNames="org.apache.slide.jaas.spi.SlideRole"
&gt; &gt;&gt;&gt;&gt;&gt;     are in classpah.
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     Regards
&gt; &gt;&gt;&gt;&gt;&gt;     Kiltesh
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;     On 9/15/07, *Satish* &lt;satish@harbinger-systems.com
&gt; &gt;&gt;&gt;&gt;&gt;     &lt;mailto:satish@harbinger-systems.com&gt;&gt; wrote:
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Hi Arne
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Using your guidelines I tried configuring JAAS with Slide.
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         I did something like:
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         1)
&gt; &gt;&gt;&gt;&gt;&gt;         Configure tomcat web.xml to have
&gt; &gt;&gt;&gt;&gt;&gt;               &lt;Context path="/slide" debug="0" privileged="true"
&gt; &gt;&gt;&gt;&gt;&gt;         useNaming="true"&gt;
&gt; &gt;&gt;&gt;&gt;&gt;                 &lt;Realm
className="org.apache.catalina.realm.JAASRealm
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; "
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;                   appName="slide_login"
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; userClassNames="org.apache.slide.jaas.spi.SlidePrincipal"
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
roleClassNames="org.apache.slide.jaas.spi.SlideRole"
&gt; &gt;&gt;&gt;&gt;&gt;                   name="Slide DAV Server"
&gt; &gt;&gt;&gt;&gt;&gt;                   useContextClassLoader="false" /&gt;
&gt; &gt;&gt;&gt;&gt;&gt;               &lt;/Context&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         in Host.
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         2) Copied jaas.config file in conf folder of tomcat
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         3) Copied slide-jaas-2.1.jar in \\Tomcat 5.5\common\lib
folder
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         4) Uncommented &lt;security-constraint&gt; from Slide web.xml
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         5) Set environment variable
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;
CATALINA_OPTS=-Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         .config
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Retsrated tomcat server and then tried connecting Slide
using
&gt; &gt;&gt;&gt;&gt;&gt;         Web DAV Explorer client provided by Slide, but when I tried
&gt; &gt;&gt;&gt;&gt;&gt;         login, tomcat log says:
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Unable to locate a login configuration...here is the error
for
&gt; &gt;&gt;&gt;&gt;&gt;         details
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Sep 15, 2007 8:26:27 PM org.apache.catalina.realm.JAASRealm
&gt; &gt;&gt;&gt;&gt;&gt;         authenticate
&gt; &gt;&gt;&gt;&gt;&gt;         SEVERE: Unexpected error
&gt; &gt;&gt;&gt;&gt;&gt;         java.lang.SecurityException: Unable to locate a login
&gt; &gt;&gt;&gt;&gt;&gt;         configuration
&gt; &gt;&gt;&gt;&gt;&gt;         at com.sun.security.auth.login.ConfigFile.&lt;init&gt;(Unknown
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; Source)
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt; &gt;&gt;&gt;&gt;&gt;         Method)
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
&gt; &gt;&gt;&gt;&gt;&gt;         Source)
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Source)
&gt; &gt;&gt;&gt;&gt;&gt;         at java.lang.reflect.Constructor.newInstance(Unknown Source)
&gt; &gt;&gt;&gt;&gt;&gt;         at java.lang.Class.newInstance0(Unknown Source)
&gt; &gt;&gt;&gt;&gt;&gt;         at java.lang.Class.newInstance (Unknown Source)
&gt; &gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.Configuration$3.run(Unknown
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; Source)
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at java.security.AccessController.doPrivileged(Native
Method)
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; javax.security.auth.login.Configuration.getConfiguration(Unknown
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Source)
&gt; &gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.LoginContext$1.run(Unknown
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; Source)
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at java.security.AccessController.doPrivileged(Native
Method)
&gt; &gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.LoginContext.init(Unknown
Source)
&gt; &gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.LoginContext .&lt;init&gt;(Unknown
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; Source)
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:355)
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthe
&gt; &gt;
&gt; &gt;&gt;&gt; nticator.java:181)
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
org.apache.catalina.authenticator.AuthenticatorBase.invoke
&gt; &gt;&gt;&gt;&gt;&gt;         (AuthenticatorBase.java:446)
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
&gt; &gt;
&gt; &gt;&gt;&gt; )
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
&gt; &gt;
&gt; &gt;&gt;&gt; )
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at org.apache.catalina.core.StandardEngineValve.invoke
&gt; &gt;&gt;&gt;&gt;&gt;         (StandardEngineValve.java:107)
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
&gt; &gt;
&gt; &gt;&gt;&gt; ction
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         (Http11Protocol.java:738)
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
&gt; &gt;
&gt; &gt;&gt;&gt; a:526)
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
&gt; &gt;
&gt; &gt;&gt;&gt; rkerThread.java:80)
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
&gt; &gt;
&gt; &gt;&gt;&gt; a:684)
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         at java.lang.Thread.run(Unknown Source)
&gt; &gt;&gt;&gt;&gt;&gt;         Caused by: java.io.IOException: Unable to locate a login
&gt; &gt;&gt;&gt;&gt;&gt;         configuration
&gt; &gt;&gt;&gt;&gt;&gt;         at com.sun.security.auth.login.ConfigFile.init (Unknown
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; Source)
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         ... 27 more
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Do you have idea if I am missing out anything here.
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Regards,
&gt; &gt;&gt;&gt;&gt;&gt;         Satish
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         ----- Original Message -----
&gt; &gt;&gt;&gt;&gt;&gt;         From: "Arne v.Irmer" &lt; Arne.vonIrmer@uni-dortmund.de
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:Arne.vonIrmer@uni-dortmund.de&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         To: "Slide Users Mailing List"
&lt;slide-user@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user@jakarta.apache.org&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Sent: Friday, September 14, 2007 4:22 PM
&gt; &gt;&gt;&gt;&gt;&gt;         Subject: Re: Authentication with Slide - Slide vs tomcat
Realm
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; Hi Satish,
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; things are easy, if you look at the used technics:
Silde
is
&gt; &gt;&gt;&gt;&gt;&gt;         a servlet in
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; tomcat and uses the authentication mechanism of tomcat.
This
&gt; &gt;&gt;&gt;&gt;&gt;         includes
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; such nice things like the sso-Valve.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; What you have to implement a user management that does
both:
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; 1. Creating/Deleting the user in silde by just
&gt; &gt;&gt;&gt;&gt;&gt;         creating/deleting a
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; collection with the user name in /user (default value).
Tip:
&gt; &gt;&gt;&gt;&gt;&gt;         Look at the
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; powerful roles mechanism in slide.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; 2. Doing the JAAS-Authentication.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; This is how we did it here.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; Yours
&gt; &gt;&gt;&gt;&gt;&gt;         &gt;  Arne
&gt; &gt;&gt;&gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; Satish schrieb:
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Hey Arne
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Thanks for quick reponse.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Do you mean here that I should take steps below
to
&gt; &gt;&gt;&gt;&gt;&gt;         implemnt authetication,
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; - configure Slide realm, configure tomcat to use
Slide
&gt; &gt;&gt;&gt;&gt;&gt;         users for
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; authentication
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; - configure JAAS for tomcat
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; - use JAAS API to authenticate the requests,
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;   so here JAAS will ask tomcat for authetication
-&gt;
tomcat
&gt; &gt;&gt;&gt;&gt;&gt;         will check Slide
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; user database
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Is is somthing gonna happen...?
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Thanks.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Regards,
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Satish
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; ----- Original Message -----
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:Arne.vonIrmer@uni-dortmund.de&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; To: "Slide Users Mailing List" &lt;
&gt; &gt;&gt;&gt;&gt;&gt;         slide-user@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user@jakarta.apache.org&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Sent: Friday, September 14, 2007 2:50 PM
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Subject: Re: Authentication with Slide - Slide
vs tomcat
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; Realm
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; Hi Satish,
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; look for JAAS-Authentication that is a standard
API
that
&gt; &gt;&gt;&gt;&gt;&gt;         works pretty
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; well with tomcat. A good introduction is found
at
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas.html
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; Yours
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;  Arne
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; Satish schrieb:
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Hi
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; I need to authentication with Slide, there
are two
ways
&gt; &gt;&gt;&gt;&gt;&gt;         I can see
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; I am thinking of using Slide realm and
configuring
&gt; &gt;&gt;&gt;&gt;&gt;         tomcat to use Slide
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; user database for authentication.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Otherwise if I rely completely on tomcat
realm,
typical
&gt; &gt;&gt;&gt;&gt;&gt;         tomcat-users.xml
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; file based, authetication, I need to add user
two
places -
&gt; &gt;&gt;&gt;&gt;&gt;         Slide and
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; tomcat-user, which is problem.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Can any body suggests on
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; #1 how can I configure tomcat to use the
Slide users
for
&gt; &gt;&gt;&gt;&gt;&gt;         authentication?
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; #2 how can I actually autheticate request
of tomcat
&gt; &gt;&gt;&gt;&gt;&gt;         programatically, is
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; any API available?
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; What I am looking for is authenticating
user with
Slide.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Any suggestion is valuable for me.
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Regards,
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Satish
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Disclaimer:
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; This e-mail may contain Privileged/Confidential
&gt; &gt;&gt;&gt;&gt;&gt;         information and is
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; intended only for the individual(s) named. Any
review,
&gt; &gt;&gt;&gt;&gt;&gt;         retransmission,
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; dissemination or other use of, or taking of any
action
in
&gt; &gt;&gt;&gt;&gt;&gt;         reliance upon this
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; information by persons or entities other than
the
intended
&gt; &gt;&gt;&gt;&gt;&gt;         recipient is
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; prohibited. Please notify the sender, if you have
received
&gt; &gt;&gt;&gt;&gt;&gt;         this e-mail by
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; mistake and delete it from your system. Information
in
&gt; &gt;&gt;&gt;&gt;&gt;         this message that
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; does not relate to the official business of the
company
&gt; &gt;&gt;&gt;&gt;&gt;         shall be understood
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; as neither given nor endorsed by it. E-mail transmission
&gt; &gt;&gt;&gt;&gt;&gt;         cannot be
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; guaranteed to be secure or error-free. The sender
does
not
&gt; &gt;&gt;&gt;&gt;&gt;         accept liability
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; for any errors or omissions in the contents of
this
&gt; &gt;&gt;&gt;&gt;&gt;         message which arise as a
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; result of e-mail transmission. If verification
is
required
&gt; &gt;&gt;&gt;&gt;&gt;         please request a
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; hard-copy version. Visit us at
&gt; &gt;&gt;&gt;&gt;&gt;         http://www.harbinger-systems.com/
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt;
&gt;   ---------------------------------------------------------------------
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; To unsubscribe, e-mail:
&gt; &gt;&gt;&gt;&gt;&gt;         slide-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; For additional commands, e-mail:
&gt; &gt;&gt;&gt;&gt;&gt;         slide-user-help@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; Disclaimer:
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt; This e-mail may contain Privileged/Confidential
&gt; &gt;&gt;&gt;&gt;&gt;         information and is intended only for the individual(s)
named.
&gt; &gt;&gt;&gt;&gt;&gt;         Any review, retransmission, dissemination or other use of,
or
&gt; &gt;&gt;&gt;&gt;&gt;         taking of any action in reliance upon this information by
&gt; &gt;&gt;&gt;&gt;&gt;         persons or entities other than the intended recipient is
&gt; &gt;&gt;&gt;&gt;&gt;         prohibited. Please notify the sender, if you have received
&gt; &gt;&gt;&gt;&gt;&gt;         this e-mail by mistake and delete it from your system.
&gt; &gt;&gt;&gt;&gt;&gt;         Information in this message that does not relate to the
&gt; &gt;&gt;&gt;&gt;&gt;         official business of the company shall be understood as
&gt; &gt;&gt;&gt;&gt;&gt;         neither given nor endorsed by it. E-mail transmission cannot
&gt; &gt;&gt;&gt;&gt;&gt;         be guaranteed to be secure or error-free. The sender does
not
&gt; &gt;&gt;&gt;&gt;&gt;         accept liability for any errors or omissions in the contents
&gt; &gt;&gt;&gt;&gt;&gt;         of this message which arise as a result of e-mail
&gt; &gt;&gt;&gt;&gt;&gt;         transmission. If verification is required please request
a
&gt; &gt;&gt;&gt;&gt;&gt;         hard-copy version. Visit us at
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; http://www.harbinger-systems.com/
&gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt;
&gt;   ---------------------------------------------------------------------
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; To unsubscribe, e-mail:
&gt; &gt;&gt;&gt;&gt;&gt;         slide-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt; For additional commands, e-mail:
&gt; &gt;&gt;&gt;&gt;&gt;         slide-user-help@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;&gt;&gt;         Disclaimer:
&gt; &gt;&gt;&gt;&gt;&gt;         This e-mail may contain Privileged/Confidential information
&gt; &gt;&gt;&gt;&gt;&gt;         and is intended only for the individual(s) named. Any
review,
&gt; &gt;&gt;&gt;&gt;&gt;         retransmission, dissemination or other use of, or taking
of
&gt; &gt;&gt;&gt;&gt;&gt;         any action in reliance upon this information by persons
or
&gt; &gt;&gt;&gt;&gt;&gt;         entities other than the intended recipient is prohibited.
&gt; &gt;&gt;&gt;&gt;&gt;         Please notify the sender, if you have received this e-mail
by
&gt; &gt;&gt;&gt;&gt;&gt;         mistake and delete it from your system. Information in this
&gt; &gt;&gt;&gt;&gt;&gt;         message that does not relate to the official business of
the
&gt; &gt;&gt;&gt;&gt;&gt;         company shall be understood as neither given nor endorsed
by
&gt; &gt;&gt;&gt;&gt;&gt;         it. E-mail transmission cannot be guaranteed to be secure
or
&gt; &gt;&gt;&gt;&gt;&gt;         error-free. The sender does not accept liability for any
&gt; &gt;&gt;&gt;&gt;&gt;         errors or omissions in the contents of this message which
&gt; &gt;&gt;&gt;&gt;&gt;         arise as a result of e-mail transmission. If verification
is
&gt; &gt;&gt;&gt;&gt;&gt;         required please request a hard-copy version. Visit us at
&gt; &gt;&gt;&gt;&gt;&gt;         http://www.harbinger-systems.com/
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Disclaimer:
&gt; &gt;&gt;&gt;&gt;&gt; This e-mail may contain Privileged/Confidential information and
&gt; &gt;&gt;&gt;&gt;&gt;  is intended only for the individual(s) named. Any review,
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; retransmission, d
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; issemination or other use of, or taking of any action in reliance
upon
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; this
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; information by persons or entities other than the intended recipient
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; is
&gt; &gt;
&gt; &gt;&gt;&gt; proh
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; ibited. Please notify the sender, if you have received this e-mail
by
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; mistak
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; e and delete it from your system. Information in this message that
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; does
&gt; &gt;
&gt; &gt;&gt;&gt; not
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; relate to the official business of the company shall be understood
as
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; neithe
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; r given nor endorsed by it. E-mail transmission cannot be guaranteed
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; to
&gt; &gt;
&gt; &gt;&gt;&gt; be s
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; ecure or error-free. The sender does not accept liability for any
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; errors
&gt; &gt;
&gt; &gt;&gt;&gt; or
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; omissions in the contents of this message which arise as a result
of
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; e-mail
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; transmission. If verification is required please request a hard-copy
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; version
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; . Visit us at http://www.harbinger-systems.com/
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; -- 
&gt; &gt;&gt;&gt;&gt; Dipl.-Phys. Arne v.Irmer
&gt; &gt;&gt;&gt;&gt; Medienzentrum Universitt Dortmund
&gt; &gt;&gt;&gt;&gt; Am Hauert 12a
&gt; &gt;&gt;&gt;&gt; 44227 Dortmund
&gt; &gt;&gt;&gt;&gt; Tel.: ++49 231 755 7127
&gt; &gt;&gt;&gt;&gt; Fax : ++49 231 755 4597
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt; &gt;&gt;&gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt; Disclaimer:
&gt; &gt;&gt;&gt; This e-mail may contain Privileged/Confidential information and is
&gt; &gt;&gt;&gt;
&gt; &gt; intended only for the individual(s) named. Any review, retransmission,
&gt; &gt; dissemination or other use of, or taking of any action in reliance upon
this
&gt; &gt; information by persons or entities other than the intended recipient is
&gt; &gt; prohibited. Please notify the sender, if you have received this e-mail
by
&gt; &gt; mistake and delete it from your system. Information in this message that
&gt; &gt; does not relate to the official business of the company shall be
understood
&gt; &gt; as neither given nor endorsed by it. E-mail transmission cannot be
&gt; &gt; guaranteed to be secure or error-free. The sender does not accept
liability
&gt; &gt; for any errors or omissions in the contents of this message which arise
as a
&gt; &gt; result of e-mail transmission. If verification is required please
request a
&gt; &gt; hard-copy version. Visit us at http://www.harbinger-systems.com/
&gt; &gt;
&gt; &gt;&gt; -- 
&gt; &gt;&gt; Dipl.-Phys. Arne v.Irmer
&gt; &gt;&gt; Medienzentrum Universitt Dortmund
&gt; &gt;&gt; Am Hauert 12a
&gt; &gt;&gt; 44227 Dortmund
&gt; &gt;&gt; Tel.: ++49 231 755 7127
&gt; &gt;&gt; Fax : ++49 231 755 4597
&gt; &gt;&gt;
&gt; &gt;&gt; ---------------------------------------------------------------------
&gt; &gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt; Disclaimer:
&gt; &gt; This e-mail may contain Privileged/Confidential information and is
intended only for the individual(s) named. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. Please notify the sender, if you have received this e-mail by
mistake and delete it from your system. Information in this message that
does not relate to the official business of the company shall be understood
as neither given nor endorsed by it. E-mail transmission cannot be
guaranteed to be secure or error-free. The sender does not accept liability
for any errors or omissions in the contents of this message which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version. Visit us at http://www.harbinger-systems.com/
&gt; &gt;
&gt;
&gt;
&gt; -- 
&gt; Dipl.-Phys. Arne v.Irmer
&gt; Medienzentrum Universitt Dortmund
&gt; Am Hauert 12a
&gt; 44227 Dortmund
&gt; Tel.: ++49 231 755 7127
&gt; Fax : ++49 231 755 4597
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;

Disclaimer:
This e-mail may contain Privileged/Confidential information and is intended only for the individual(s)
named. Any review, retransmission, dissemination or other use of, or taking of any action
in reliance upon this information by persons or entities other than the intended recipient
is prohibited. Please notify the sender, if you have received this e-mail by mistake and delete
it from your system. Information in this message that does not relate to the official business
of the company shall be understood as neither given nor endorsed by it. E-mail transmission
cannot be guaranteed to be secure or error-free. The sender does not accept liability for
any errors or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version. Visit us at
http://www.harbinger-systems.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Authentication with Slide - Slide vs tomcat Realm</title>
<author><name>&quot;Arne v.Irmer&quot; &lt;Arne.vonIrmer@uni-dortmund.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200709.mbox/%3c46FBB0A6.5080002@uni-dortmund.de%3e"/>
<id>urn:uuid:%3c46FBB0A6-5080002@uni-dortmund-de%3e</id>
<updated>2007-09-27T13:31:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Satish schrieb:
&gt; Hey Arne,
&gt;
&gt; Thanks for quick response.
&gt;
&gt; Well I am using JAAS module from Slide site, they have made it available for
&gt; authentication with Slide.
&gt; I did all configurations and tested by accessing from the browser and
&gt; DavExplorer, its working well. JAAS module responding preety good way.
&gt;
&gt; I then tried making HTTP based authentication using 3.1 lib and its also
&gt; working fine.
&gt;
&gt; Later I just was requesting webdav resource where 3.1 lib is configured in
&gt; my app, and I was getting error with Slide as Bad Request.
&gt; Then i replaced this http 3.1 lib by older version and could get webdav
&gt; resource. But now I cant authenticate since AuthScope is not there in older
&gt; version.
&gt;   
Hi Satish,
As I said I'm using 3.01 and do the authentication that way:
        HttpClient client = new HttpClient();

        // Authentifizierung bei ews
        client.getState().setCredentials(
                new AuthScope(null,80),
                new UsernamePasswordCredentials("Username","UserPasswd")
        );
            // Create a method instance.
            GetMethod method = new GetMethod(downloadURL);
            method.setDoAuthentication(true);

            int statusCode = client.executeMethod(method);
That works pretty well.
Yours
 Arne

&gt; JAAS is working fine but this is strange problem.
&gt;
&gt; Regards,
&gt; Satish
&gt;
&gt;
&gt; ----- Original Message ----- 
&gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de&gt;
&gt; To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org&gt;
&gt; Sent: Thursday, September 27, 2007 6:24 PM
&gt; Subject: Re: Authentication with Slide - Slide vs tomcat Realm
&gt;
&gt;
&gt;   
&gt;&gt; Hi Satish,
&gt;&gt; Satish schrieb:
&gt;&gt;     
&gt;&gt;&gt; Hi Arne,
&gt;&gt;&gt;
&gt;&gt;&gt; I manage to authenticate with http client 3.1, latest http client
&gt;&gt;&gt;       
&gt; library
&gt;   
&gt;&gt;&gt; with JAAS module. But I could not get webdav resource now. Upon
&gt;&gt;&gt;       
&gt; searching on
&gt;   
&gt;&gt;&gt; the forum I found Slide is not supporting http client 3.x libraries.
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt; We are using http client 3.01 and it works.
&gt;&gt;     
&gt;&gt;&gt; I am trying with the typical JAAS authentication with LoginContext,
&gt;&gt;&gt;       
&gt; where I
&gt;   
&gt;&gt;&gt; am getting error as not able to create LoginContext since could not able
&gt;&gt;&gt;       
&gt; to
&gt;   
&gt;&gt;&gt; locate the login configuration.
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt; This looks like a problem on the server side. I implemented my own JAAS
&gt;&gt; authentication, so it might be different to your case. If would get that
&gt;&gt; error-message it will stress on not finding my JAAS implementation. I
&gt;&gt; your case maybe the JAAS-Implementation you are using has a problem. In
&gt;&gt; general speaking it could not be a problem of the version of http
&gt;&gt; client, because basic authentication is standardized and well
&gt;&gt; implemented in that client.
&gt;&gt; You should have the same problems with other clients like DAVExplorer etc.
&gt;&gt;     
&gt;&gt;&gt; Do you have any idea how we can use the http client library, which is
&gt;&gt;&gt; easiest way - or it is the limitation of Slide.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Regards,
&gt;&gt;&gt; Satish
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ----- Original Message ----- 
&gt;&gt;&gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de&gt;
&gt;&gt;&gt; To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org&gt;
&gt;&gt;&gt; Sent: Monday, September 17, 2007 2:31 PM
&gt;&gt;&gt; Subject: Re: Authentication with Slide - Slide vs tomcat Realm
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; Hi Satish,
&gt;&gt;&gt;&gt; we have to discriminate between the client- and the server side.
&gt;&gt;&gt;&gt; If you have a successful login with DAVExplorer the server side is now
&gt;&gt;&gt;&gt; working properly.
&gt;&gt;&gt;&gt; On client side you can easily access an address that is protected with
&gt;&gt;&gt;&gt; basic authentication using the commons-http-client.(see
&gt;&gt;&gt;&gt; http://jakarta.apache.org/httpcomponents/httpclient-3.x/)
&gt;&gt;&gt;&gt; For authentication look at
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         
&gt; http://jakarta.apache.org/httpcomponents/httpclient-3.x/authentication.html
&gt;   
&gt;&gt;&gt;&gt; Hope that helps
&gt;&gt;&gt;&gt;  Arne
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Satish schrieb:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; There were problem in environment variables, I set all environment
&gt;&gt;&gt;&gt;&gt; variables correctly and its seems to be working :)
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Now tomcat is understanding Slide user database, tomcat-users.xml not
&gt;&gt;&gt;&gt;&gt; required anymore for authentication.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I was checking this using DAVExplorer but now I need to implement and
&gt;&gt;&gt;&gt;&gt; use API for authentication, so
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Is that JAAS package will help me in this, shall I need to use those
&gt;&gt;&gt;&gt;&gt; API for authentication from my custom jsp client?
&gt;&gt;&gt;&gt;&gt; Do you have any idea how can I directly use same authentication way
&gt;&gt;&gt;&gt;&gt; like DAVExplorer using?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt; Satish
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     ----- Original Message -----
&gt;&gt;&gt;&gt;&gt;     *From:* kiltesh patel &lt;mailto:kiltesh@gmail.com&gt;
&gt;&gt;&gt;&gt;&gt;     *To:* Slide Users Mailing List
&gt;&gt;&gt;&gt;&gt;     &lt;mailto:slide-user@jakarta.apache.org&gt; ; Satish
&gt;&gt;&gt;&gt;&gt;     &lt;mailto:satish@harbinger-systems.com&gt;
&gt;&gt;&gt;&gt;&gt;     *Sent:* Saturday, September 15, 2007 10:15 PM
&gt;&gt;&gt;&gt;&gt;     *Subject:* Re: Authentication with Slide - Slide vs tomcat Realm
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     Hi Satish,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     try this...
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     1. 5) Set environment variable
&gt;&gt;&gt;&gt;&gt;     CATALINA_OPTS=-Djava.security.auth.login
&gt;&gt;&gt;&gt;&gt;     .config=$CATALINA_HOME/conf/jaas
&gt;&gt;&gt;&gt;&gt;     .config
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     In place of = use == to set catalina_opts
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     2. Also, appName="slide_login" name should exactly match in
&gt;&gt;&gt;&gt;&gt;     config.jaas file
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     slide_login {....
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     3. You can also try using JAVA_OPTS instead of CATALINA_OPTS
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     4. Also, check your classpath if it finds jaas.config and
&gt;&gt;&gt;&gt;&gt;              userClassNames="org.apache.slide.jaas.spi
&gt;&gt;&gt;&gt;&gt;     .SlidePrincipal"
&gt;&gt;&gt;&gt;&gt;              roleClassNames="org.apache.slide.jaas.spi.SlideRole"
&gt;&gt;&gt;&gt;&gt;     are in classpah.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     Regards
&gt;&gt;&gt;&gt;&gt;     Kiltesh
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;     On 9/15/07, *Satish* &lt;satish@harbinger-systems.com
&gt;&gt;&gt;&gt;&gt;     &lt;mailto:satish@harbinger-systems.com&gt;&gt; wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Hi Arne
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Using your guidelines I tried configuring JAAS with Slide.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         I did something like:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         1)
&gt;&gt;&gt;&gt;&gt;         Configure tomcat web.xml to have
&gt;&gt;&gt;&gt;&gt;               &lt;Context path="/slide" debug="0" privileged="true"
&gt;&gt;&gt;&gt;&gt;         useNaming="true"&gt;
&gt;&gt;&gt;&gt;&gt;                 &lt;Realm className="org.apache.catalina.realm.JAASRealm
&gt;&gt;&gt;&gt;&gt;           
&gt; "
&gt;   
&gt;&gt;&gt;&gt;&gt;                   appName="slide_login"
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; userClassNames="org.apache.slide.jaas.spi.SlidePrincipal"
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;                   roleClassNames="org.apache.slide.jaas.spi.SlideRole"
&gt;&gt;&gt;&gt;&gt;                   name="Slide DAV Server"
&gt;&gt;&gt;&gt;&gt;                   useContextClassLoader="false" /&gt;
&gt;&gt;&gt;&gt;&gt;               &lt;/Context&gt;
&gt;&gt;&gt;&gt;&gt;         in Host.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         2) Copied jaas.config file in conf folder of tomcat
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         3) Copied slide-jaas-2.1.jar in \\Tomcat 5.5\common\lib folder
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         4) Uncommented &lt;security-constraint&gt; from Slide web.xml
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         5) Set environment variable
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; CATALINA_OPTS=-Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         .config
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Retsrated tomcat server and then tried connecting Slide using
&gt;&gt;&gt;&gt;&gt;         Web DAV Explorer client provided by Slide, but when I tried
&gt;&gt;&gt;&gt;&gt;         login, tomcat log says:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Unable to locate a login configuration...here is the error for
&gt;&gt;&gt;&gt;&gt;         details
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Sep 15, 2007 8:26:27 PM org.apache.catalina.realm.JAASRealm
&gt;&gt;&gt;&gt;&gt;         authenticate
&gt;&gt;&gt;&gt;&gt;         SEVERE: Unexpected error
&gt;&gt;&gt;&gt;&gt;         java.lang.SecurityException: Unable to locate a login
&gt;&gt;&gt;&gt;&gt;         configuration
&gt;&gt;&gt;&gt;&gt;         at com.sun.security.auth.login.ConfigFile.&lt;init&gt;(Unknown
&gt;&gt;&gt;&gt;&gt;           
&gt; Source)
&gt;   
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;         sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt;&gt;&gt;&gt;&gt;         Method)
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;         sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
&gt;&gt;&gt;&gt;&gt;         Source)
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         Source)
&gt;&gt;&gt;&gt;&gt;         at java.lang.reflect.Constructor.newInstance(Unknown Source)
&gt;&gt;&gt;&gt;&gt;         at java.lang.Class.newInstance0(Unknown Source)
&gt;&gt;&gt;&gt;&gt;         at java.lang.Class.newInstance (Unknown Source)
&gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.Configuration$3.run(Unknown
&gt;&gt;&gt;&gt;&gt;           
&gt; Source)
&gt;   
&gt;&gt;&gt;&gt;&gt;         at java.security.AccessController.doPrivileged(Native Method)
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; javax.security.auth.login.Configuration.getConfiguration(Unknown
&gt;   
&gt;&gt;&gt;&gt;&gt;         Source)
&gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.LoginContext$1.run(Unknown
&gt;&gt;&gt;&gt;&gt;           
&gt; Source)
&gt;   
&gt;&gt;&gt;&gt;&gt;         at java.security.AccessController.doPrivileged(Native Method)
&gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.LoginContext.init(Unknown Source)
&gt;&gt;&gt;&gt;&gt;         at javax.security.auth.login.LoginContext .&lt;init&gt;(Unknown
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; Source)
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:355)
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthe
&gt;   
&gt;&gt;&gt; nticator.java:181)
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at org.apache.catalina.authenticator.AuthenticatorBase.invoke
&gt;&gt;&gt;&gt;&gt;         (AuthenticatorBase.java:446)
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
&gt;   
&gt;&gt;&gt; )
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
&gt;   
&gt;&gt;&gt; )
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at org.apache.catalina.core.StandardEngineValve.invoke
&gt;&gt;&gt;&gt;&gt;         (StandardEngineValve.java:107)
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
&gt;   
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
&gt;   
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
&gt;   
&gt;&gt;&gt; ction
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         (Http11Protocol.java:738)
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
&gt;   
&gt;&gt;&gt; a:526)
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
&gt;   
&gt;&gt;&gt; rkerThread.java:80)
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
&gt;   
&gt;&gt;&gt; a:684)
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         at java.lang.Thread.run(Unknown Source)
&gt;&gt;&gt;&gt;&gt;         Caused by: java.io.IOException: Unable to locate a login
&gt;&gt;&gt;&gt;&gt;         configuration
&gt;&gt;&gt;&gt;&gt;         at com.sun.security.auth.login.ConfigFile.init (Unknown
&gt;&gt;&gt;&gt;&gt;           
&gt; Source)
&gt;   
&gt;&gt;&gt;&gt;&gt;         ... 27 more
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Do you have idea if I am missing out anything here.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Regards,
&gt;&gt;&gt;&gt;&gt;         Satish
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         ----- Original Message -----
&gt;&gt;&gt;&gt;&gt;         From: "Arne v.Irmer" &lt; Arne.vonIrmer@uni-dortmund.de
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:Arne.vonIrmer@uni-dortmund.de&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user@jakarta.apache.org&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         Sent: Friday, September 14, 2007 4:22 PM
&gt;&gt;&gt;&gt;&gt;         Subject: Re: Authentication with Slide - Slide vs tomcat Realm
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; Hi Satish,
&gt;&gt;&gt;&gt;&gt;         &gt; things are easy, if you look at the used technics: Silde
is
&gt;&gt;&gt;&gt;&gt;         a servlet in
&gt;&gt;&gt;&gt;&gt;         &gt; tomcat and uses the authentication mechanism of tomcat.
This
&gt;&gt;&gt;&gt;&gt;         includes
&gt;&gt;&gt;&gt;&gt;         &gt; such nice things like the sso-Valve.
&gt;&gt;&gt;&gt;&gt;         &gt; What you have to implement a user management that does both:
&gt;&gt;&gt;&gt;&gt;         &gt; 1. Creating/Deleting the user in silde by just
&gt;&gt;&gt;&gt;&gt;         creating/deleting a
&gt;&gt;&gt;&gt;&gt;         &gt; collection with the user name in /user (default value).
Tip:
&gt;&gt;&gt;&gt;&gt;         Look at the
&gt;&gt;&gt;&gt;&gt;         &gt; powerful roles mechanism in slide.
&gt;&gt;&gt;&gt;&gt;         &gt; 2. Doing the JAAS-Authentication.
&gt;&gt;&gt;&gt;&gt;         &gt; This is how we did it here.
&gt;&gt;&gt;&gt;&gt;         &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; Yours
&gt;&gt;&gt;&gt;&gt;         &gt;  Arne
&gt;&gt;&gt;&gt;&gt;         &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; Satish schrieb:
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Hey Arne
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Thanks for quick reponse.
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Do you mean here that I should take steps below to
&gt;&gt;&gt;&gt;&gt;         implemnt authetication,
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; - configure Slide realm, configure tomcat to use Slide
&gt;&gt;&gt;&gt;&gt;         users for
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; authentication
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; - configure JAAS for tomcat
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; - use JAAS API to authenticate the requests,
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;   so here JAAS will ask tomcat for authetication -&gt;
tomcat
&gt;&gt;&gt;&gt;&gt;         will check Slide
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; user database
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Is is somthing gonna happen...?
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Thanks.
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Regards,
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Satish
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; ----- Original Message -----
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:Arne.vonIrmer@uni-dortmund.de&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; To: "Slide Users Mailing List" &lt;
&gt;&gt;&gt;&gt;&gt;         slide-user@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user@jakarta.apache.org&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Sent: Friday, September 14, 2007 2:50 PM
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Subject: Re: Authentication with Slide - Slide vs tomcat
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; Realm
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; Hi Satish,
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; look for JAAS-Authentication that is a standard
API that
&gt;&gt;&gt;&gt;&gt;         works pretty
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; well with tomcat. A good introduction is found
at
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt; http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas.html
&gt;   
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; Yours
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;  Arne
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; Satish schrieb:
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; I need to authentication with Slide, there
are two ways
&gt;&gt;&gt;&gt;&gt;         I can see
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; I am thinking of using Slide realm and configuring
&gt;&gt;&gt;&gt;&gt;         tomcat to use Slide
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; user database for authentication.
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Otherwise if I rely completely on tomcat realm,
typical
&gt;&gt;&gt;&gt;&gt;         tomcat-users.xml
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; file based, authetication, I need to add user two places
-
&gt;&gt;&gt;&gt;&gt;         Slide and
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; tomcat-user, which is problem.
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Can any body suggests on
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; #1 how can I configure tomcat to use the Slide
users for
&gt;&gt;&gt;&gt;&gt;         authentication?
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; #2 how can I actually autheticate request of
tomcat
&gt;&gt;&gt;&gt;&gt;         programatically, is
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; any API available?
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; What I am looking for is authenticating user
with Slide.
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Any suggestion is valuable for me.
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Regards,
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Satish
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; Disclaimer:
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt; This e-mail may contain Privileged/Confidential
&gt;&gt;&gt;&gt;&gt;         information and is
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; intended only for the individual(s) named. Any review,
&gt;&gt;&gt;&gt;&gt;         retransmission,
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; dissemination or other use of, or taking of any action
in
&gt;&gt;&gt;&gt;&gt;         reliance upon this
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; information by persons or entities other than the intended
&gt;&gt;&gt;&gt;&gt;         recipient is
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; prohibited. Please notify the sender, if you have received
&gt;&gt;&gt;&gt;&gt;         this e-mail by
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; mistake and delete it from your system. Information
in
&gt;&gt;&gt;&gt;&gt;         this message that
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; does not relate to the official business of the company
&gt;&gt;&gt;&gt;&gt;         shall be understood
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; as neither given nor endorsed by it. E-mail transmission
&gt;&gt;&gt;&gt;&gt;         cannot be
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; guaranteed to be secure or error-free. The sender does
not
&gt;&gt;&gt;&gt;&gt;         accept liability
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; for any errors or omissions in the contents of this
&gt;&gt;&gt;&gt;&gt;         message which arise as a
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; result of e-mail transmission. If verification is required
&gt;&gt;&gt;&gt;&gt;         please request a
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; hard-copy version. Visit us at
&gt;&gt;&gt;&gt;&gt;         http://www.harbinger-systems.com/
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;   ---------------------------------------------------------------------
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; To unsubscribe, e-mail:
&gt;&gt;&gt;&gt;&gt;         slide-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt; For additional commands, e-mail:
&gt;&gt;&gt;&gt;&gt;         slide-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; Disclaimer:
&gt;&gt;&gt;&gt;&gt;         &gt; &gt; This e-mail may contain Privileged/Confidential
&gt;&gt;&gt;&gt;&gt;         information and is intended only for the individual(s) named.
&gt;&gt;&gt;&gt;&gt;         Any review, retransmission, dissemination or other use of, or
&gt;&gt;&gt;&gt;&gt;         taking of any action in reliance upon this information by
&gt;&gt;&gt;&gt;&gt;         persons or entities other than the intended recipient is
&gt;&gt;&gt;&gt;&gt;         prohibited. Please notify the sender, if you have received
&gt;&gt;&gt;&gt;&gt;         this e-mail by mistake and delete it from your system.
&gt;&gt;&gt;&gt;&gt;         Information in this message that does not relate to the
&gt;&gt;&gt;&gt;&gt;         official business of the company shall be understood as
&gt;&gt;&gt;&gt;&gt;         neither given nor endorsed by it. E-mail transmission cannot
&gt;&gt;&gt;&gt;&gt;         be guaranteed to be secure or error-free. The sender does not
&gt;&gt;&gt;&gt;&gt;         accept liability for any errors or omissions in the contents
&gt;&gt;&gt;&gt;&gt;         of this message which arise as a result of e-mail
&gt;&gt;&gt;&gt;&gt;         transmission. If verification is required please request a
&gt;&gt;&gt;&gt;&gt;         hard-copy version. Visit us at
&gt;&gt;&gt;&gt;&gt;           
&gt; http://www.harbinger-systems.com/
&gt;   
&gt;&gt;&gt;&gt;&gt;         &gt; &gt;
&gt;&gt;&gt;&gt;&gt;         &gt;
&gt;&gt;&gt;&gt;&gt;         &gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;   ---------------------------------------------------------------------
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;         &gt; To unsubscribe, e-mail:
&gt;&gt;&gt;&gt;&gt;         slide-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt;&gt;&gt;&gt;&gt;         &gt; For additional commands, e-mail:
&gt;&gt;&gt;&gt;&gt;         slide-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;         &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt;&gt;&gt;&gt;&gt;         &gt;
&gt;&gt;&gt;&gt;&gt;         Disclaimer:
&gt;&gt;&gt;&gt;&gt;         This e-mail may contain Privileged/Confidential information
&gt;&gt;&gt;&gt;&gt;         and is intended only for the individual(s) named. Any review,
&gt;&gt;&gt;&gt;&gt;         retransmission, dissemination or other use of, or taking of
&gt;&gt;&gt;&gt;&gt;         any action in reliance upon this information by persons or
&gt;&gt;&gt;&gt;&gt;         entities other than the intended recipient is prohibited.
&gt;&gt;&gt;&gt;&gt;         Please notify the sender, if you have received this e-mail by
&gt;&gt;&gt;&gt;&gt;         mistake and delete it from your system. Information in this
&gt;&gt;&gt;&gt;&gt;         message that does not relate to the official business of the
&gt;&gt;&gt;&gt;&gt;         company shall be understood as neither given nor endorsed by
&gt;&gt;&gt;&gt;&gt;         it. E-mail transmission cannot be guaranteed to be secure or
&gt;&gt;&gt;&gt;&gt;         error-free. The sender does not accept liability for any
&gt;&gt;&gt;&gt;&gt;         errors or omissions in the contents of this message which
&gt;&gt;&gt;&gt;&gt;         arise as a result of e-mail transmission. If verification is
&gt;&gt;&gt;&gt;&gt;         required please request a hard-copy version. Visit us at
&gt;&gt;&gt;&gt;&gt;         http://www.harbinger-systems.com/
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Disclaimer:
&gt;&gt;&gt;&gt;&gt; This e-mail may contain Privileged/Confidential information and
&gt;&gt;&gt;&gt;&gt;  is intended only for the individual(s) named. Any review,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; retransmission, d
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; issemination or other use of, or taking of any action in reliance upon
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; this
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; information by persons or entities other than the intended recipient
&gt;&gt;&gt;&gt;&gt;           
&gt; is
&gt;   
&gt;&gt;&gt; proh
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; ibited. Please notify the sender, if you have received this e-mail by
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; mistak
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; e and delete it from your system. Information in this message that
&gt;&gt;&gt;&gt;&gt;           
&gt; does
&gt;   
&gt;&gt;&gt; not
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; relate to the official business of the company shall be understood as
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; neithe
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; r given nor endorsed by it. E-mail transmission cannot be guaranteed
&gt;&gt;&gt;&gt;&gt;           
&gt; to
&gt;   
&gt;&gt;&gt; be s
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; ecure or error-free. The sender does not accept liability for any
&gt;&gt;&gt;&gt;&gt;           
&gt; errors
&gt;   
&gt;&gt;&gt; or
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; omissions in the contents of this message which arise as a result of
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; e-mail
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; transmission. If verification is required please request a hard-copy
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; version
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt; . Visit us at http://www.harbinger-systems.com/
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; -- 
&gt;&gt;&gt;&gt; Dipl.-Phys. Arne v.Irmer
&gt;&gt;&gt;&gt; Medienzentrum Universitt Dortmund
&gt;&gt;&gt;&gt; Am Hauert 12a
&gt;&gt;&gt;&gt; 44227 Dortmund
&gt;&gt;&gt;&gt; Tel.: ++49 231 755 7127
&gt;&gt;&gt;&gt; Fax : ++49 231 755 4597
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt; Disclaimer:
&gt;&gt;&gt; This e-mail may contain Privileged/Confidential information and is
&gt;&gt;&gt;       
&gt; intended only for the individual(s) named. Any review, retransmission,
&gt; dissemination or other use of, or taking of any action in reliance upon this
&gt; information by persons or entities other than the intended recipient is
&gt; prohibited. Please notify the sender, if you have received this e-mail by
&gt; mistake and delete it from your system. Information in this message that
&gt; does not relate to the official business of the company shall be understood
&gt; as neither given nor endorsed by it. E-mail transmission cannot be
&gt; guaranteed to be secure or error-free. The sender does not accept liability
&gt; for any errors or omissions in the contents of this message which arise as a
&gt; result of e-mail transmission. If verification is required please request a
&gt; hard-copy version. Visit us at http://www.harbinger-systems.com/
&gt;   
&gt;&gt; -- 
&gt;&gt; Dipl.-Phys. Arne v.Irmer
&gt;&gt; Medienzentrum Universitt Dortmund
&gt;&gt; Am Hauert 12a
&gt;&gt; 44227 Dortmund
&gt;&gt; Tel.: ++49 231 755 7127
&gt;&gt; Fax : ++49 231 755 4597
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;     
&gt;
&gt; Disclaimer:
&gt; This e-mail may contain Privileged/Confidential information and is intended only for
the individual(s) named. Any review, retransmission, dissemination or other use of, or taking
of any action in reliance upon this information by persons or entities other than the intended
recipient is prohibited. Please notify the sender, if you have received this e-mail by mistake
and delete it from your system. Information in this message that does not relate to the official
business of the company shall be understood as neither given nor endorsed by it. E-mail transmission
cannot be guaranteed to be secure or error-free. The sender does not accept liability for
any errors or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version. Visit us at
http://www.harbinger-systems.com/
&gt;   


-- 
Dipl.-Phys. Arne v.Irmer
Medienzentrum Universitt Dortmund
Am Hauert 12a
44227 Dortmund
Tel.: ++49 231 755 7127
Fax : ++49 231 755 4597

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Authentication with Slide - Slide vs tomcat Realm</title>
<author><name>&quot;Satish&quot; &lt;satish@harbinger-systems.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200709.mbox/%3c020601c80108$21c84bc0$4b00000a@harbinger.com%3e"/>
<id>urn:uuid:%3c020601c80108$21c84bc0$4b00000a@harbinger-com%3e</id>
<updated>2007-09-27T13:13:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hey Arne,

Thanks for quick response.

Well I am using JAAS module from Slide site, they have made it available for
authentication with Slide.
I did all configurations and tested by accessing from the browser and
DavExplorer, its working well. JAAS module responding preety good way.

I then tried making HTTP based authentication using 3.1 lib and its also
working fine.

Later I just was requesting webdav resource where 3.1 lib is configured in
my app, and I was getting error with Slide as Bad Request.
Then i replaced this http 3.1 lib by older version and could get webdav
resource. But now I cant authenticate since AuthScope is not there in older
version.

JAAS is working fine but this is strange problem.

Regards,
Satish


----- Original Message ----- 
From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de&gt;
To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org&gt;
Sent: Thursday, September 27, 2007 6:24 PM
Subject: Re: Authentication with Slide - Slide vs tomcat Realm


&gt; Hi Satish,
&gt; Satish schrieb:
&gt; &gt; Hi Arne,
&gt; &gt;
&gt; &gt; I manage to authenticate with http client 3.1, latest http client
library
&gt; &gt; with JAAS module. But I could not get webdav resource now. Upon
searching on
&gt; &gt; the forum I found Slide is not supporting http client 3.x libraries.
&gt; &gt;
&gt; We are using http client 3.01 and it works.
&gt; &gt; I am trying with the typical JAAS authentication with LoginContext,
where I
&gt; &gt; am getting error as not able to create LoginContext since could not able
to
&gt; &gt; locate the login configuration.
&gt; &gt;
&gt; This looks like a problem on the server side. I implemented my own JAAS
&gt; authentication, so it might be different to your case. If would get that
&gt; error-message it will stress on not finding my JAAS implementation. I
&gt; your case maybe the JAAS-Implementation you are using has a problem. In
&gt; general speaking it could not be a problem of the version of http
&gt; client, because basic authentication is standardized and well
&gt; implemented in that client.
&gt; You should have the same problems with other clients like DAVExplorer etc.
&gt; &gt; Do you have any idea how we can use the http client library, which is
&gt; &gt; easiest way - or it is the limitation of Slide.
&gt; &gt;
&gt; &gt;
&gt; &gt; Regards,
&gt; &gt; Satish
&gt; &gt;
&gt; &gt;
&gt; &gt; ----- Original Message ----- 
&gt; &gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de&gt;
&gt; &gt; To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org&gt;
&gt; &gt; Sent: Monday, September 17, 2007 2:31 PM
&gt; &gt; Subject: Re: Authentication with Slide - Slide vs tomcat Realm
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;&gt; Hi Satish,
&gt; &gt;&gt; we have to discriminate between the client- and the server side.
&gt; &gt;&gt; If you have a successful login with DAVExplorer the server side is now
&gt; &gt;&gt; working properly.
&gt; &gt;&gt; On client side you can easily access an address that is protected with
&gt; &gt;&gt; basic authentication using the commons-http-client.(see
&gt; &gt;&gt; http://jakarta.apache.org/httpcomponents/httpclient-3.x/)
&gt; &gt;&gt; For authentication look at
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
http://jakarta.apache.org/httpcomponents/httpclient-3.x/authentication.html
&gt; &gt;
&gt; &gt;&gt; Hope that helps
&gt; &gt;&gt;  Arne
&gt; &gt;&gt;
&gt; &gt;&gt; Satish schrieb:
&gt; &gt;&gt;
&gt; &gt;&gt;&gt; Hi
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; There were problem in environment variables, I set all environment
&gt; &gt;&gt;&gt; variables correctly and its seems to be working :)
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Now tomcat is understanding Slide user database, tomcat-users.xml not
&gt; &gt;&gt;&gt; required anymore for authentication.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; I was checking this using DAVExplorer but now I need to implement and
&gt; &gt;&gt;&gt; use API for authentication, so
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Is that JAAS package will help me in this, shall I need to use those
&gt; &gt;&gt;&gt; API for authentication from my custom jsp client?
&gt; &gt;&gt;&gt; Do you have any idea how can I directly use same authentication way
&gt; &gt;&gt;&gt; like DAVExplorer using?
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Regards,
&gt; &gt;&gt;&gt; Satish
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     ----- Original Message -----
&gt; &gt;&gt;&gt;     *From:* kiltesh patel &lt;mailto:kiltesh@gmail.com&gt;
&gt; &gt;&gt;&gt;     *To:* Slide Users Mailing List
&gt; &gt;&gt;&gt;     &lt;mailto:slide-user@jakarta.apache.org&gt; ; Satish
&gt; &gt;&gt;&gt;     &lt;mailto:satish@harbinger-systems.com&gt;
&gt; &gt;&gt;&gt;     *Sent:* Saturday, September 15, 2007 10:15 PM
&gt; &gt;&gt;&gt;     *Subject:* Re: Authentication with Slide - Slide vs tomcat Realm
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     Hi Satish,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     try this...
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     1. 5) Set environment variable
&gt; &gt;&gt;&gt;     CATALINA_OPTS=-Djava.security.auth.login
&gt; &gt;&gt;&gt;     .config=$CATALINA_HOME/conf/jaas
&gt; &gt;&gt;&gt;     .config
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     In place of = use == to set catalina_opts
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     2. Also, appName="slide_login" name should exactly match in
&gt; &gt;&gt;&gt;     config.jaas file
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     slide_login {....
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     3. You can also try using JAVA_OPTS instead of CATALINA_OPTS
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     4. Also, check your classpath if it finds jaas.config and
&gt; &gt;&gt;&gt;              userClassNames="org.apache.slide.jaas.spi
&gt; &gt;&gt;&gt;     .SlidePrincipal"
&gt; &gt;&gt;&gt;              roleClassNames="org.apache.slide.jaas.spi.SlideRole"
&gt; &gt;&gt;&gt;     are in classpah.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     Regards
&gt; &gt;&gt;&gt;     Kiltesh
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;     On 9/15/07, *Satish* &lt;satish@harbinger-systems.com
&gt; &gt;&gt;&gt;     &lt;mailto:satish@harbinger-systems.com&gt;&gt; wrote:
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         Hi Arne
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         Using your guidelines I tried configuring JAAS with Slide.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         I did something like:
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         1)
&gt; &gt;&gt;&gt;         Configure tomcat web.xml to have
&gt; &gt;&gt;&gt;               &lt;Context path="/slide" debug="0" privileged="true"
&gt; &gt;&gt;&gt;         useNaming="true"&gt;
&gt; &gt;&gt;&gt;                 &lt;Realm className="org.apache.catalina.realm.JAASRealm
"
&gt; &gt;&gt;&gt;                   appName="slide_login"
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt; userClassNames="org.apache.slide.jaas.spi.SlidePrincipal"
&gt; &gt;
&gt; &gt;&gt;&gt;                   roleClassNames="org.apache.slide.jaas.spi.SlideRole"
&gt; &gt;&gt;&gt;                   name="Slide DAV Server"
&gt; &gt;&gt;&gt;                   useContextClassLoader="false" /&gt;
&gt; &gt;&gt;&gt;               &lt;/Context&gt;
&gt; &gt;&gt;&gt;         in Host.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         2) Copied jaas.config file in conf folder of tomcat
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         3) Copied slide-jaas-2.1.jar in \\Tomcat 5.5\common\lib folder
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         4) Uncommented &lt;security-constraint&gt; from Slide web.xml
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         5) Set environment variable
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt; CATALINA_OPTS=-Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas
&gt; &gt;
&gt; &gt;&gt;&gt;         .config
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         Retsrated tomcat server and then tried connecting Slide using
&gt; &gt;&gt;&gt;         Web DAV Explorer client provided by Slide, but when I tried
&gt; &gt;&gt;&gt;         login, tomcat log says:
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         Unable to locate a login configuration...here is the error for
&gt; &gt;&gt;&gt;         details
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         Sep 15, 2007 8:26:27 PM org.apache.catalina.realm.JAASRealm
&gt; &gt;&gt;&gt;         authenticate
&gt; &gt;&gt;&gt;         SEVERE: Unexpected error
&gt; &gt;&gt;&gt;         java.lang.SecurityException: Unable to locate a login
&gt; &gt;&gt;&gt;         configuration
&gt; &gt;&gt;&gt;         at com.sun.security.auth.login.ConfigFile.&lt;init&gt;(Unknown
Source)
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;         sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
&gt; &gt;&gt;&gt;         Method)
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;         sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
&gt; &gt;&gt;&gt;         Source)
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt; sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
&gt; &gt;
&gt; &gt;&gt;&gt;         Source)
&gt; &gt;&gt;&gt;         at java.lang.reflect.Constructor.newInstance(Unknown Source)
&gt; &gt;&gt;&gt;         at java.lang.Class.newInstance0(Unknown Source)
&gt; &gt;&gt;&gt;         at java.lang.Class.newInstance (Unknown Source)
&gt; &gt;&gt;&gt;         at javax.security.auth.login.Configuration$3.run(Unknown
Source)
&gt; &gt;&gt;&gt;         at java.security.AccessController.doPrivileged(Native Method)
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
javax.security.auth.login.Configuration.getConfiguration(Unknown
&gt; &gt;&gt;&gt;         Source)
&gt; &gt;&gt;&gt;         at javax.security.auth.login.LoginContext$1.run(Unknown
Source)
&gt; &gt;&gt;&gt;         at java.security.AccessController.doPrivileged(Native Method)
&gt; &gt;&gt;&gt;         at javax.security.auth.login.LoginContext.init(Unknown Source)
&gt; &gt;&gt;&gt;         at javax.security.auth.login.LoginContext .&lt;init&gt;(Unknown
&gt; &gt;&gt;&gt;
&gt; &gt; Source)
&gt; &gt;
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt; org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:355)
&gt; &gt;
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthe
&gt; &gt; nticator.java:181)
&gt; &gt;
&gt; &gt;&gt;&gt;         at org.apache.catalina.authenticator.AuthenticatorBase.invoke
&gt; &gt;&gt;&gt;         (AuthenticatorBase.java:446)
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
&gt; &gt; )
&gt; &gt;
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
&gt; &gt; )
&gt; &gt;
&gt; &gt;&gt;&gt;         at org.apache.catalina.core.StandardEngineValve.invoke
&gt; &gt;&gt;&gt;         (StandardEngineValve.java:107)
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
&gt; &gt;
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
&gt; &gt;
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
&gt; &gt; ction
&gt; &gt;
&gt; &gt;&gt;&gt;         (Http11Protocol.java:738)
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
&gt; &gt; a:526)
&gt; &gt;
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
&gt; &gt; rkerThread.java:80)
&gt; &gt;
&gt; &gt;&gt;&gt;         at
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
&gt; &gt; a:684)
&gt; &gt;
&gt; &gt;&gt;&gt;         at java.lang.Thread.run(Unknown Source)
&gt; &gt;&gt;&gt;         Caused by: java.io.IOException: Unable to locate a login
&gt; &gt;&gt;&gt;         configuration
&gt; &gt;&gt;&gt;         at com.sun.security.auth.login.ConfigFile.init (Unknown
Source)
&gt; &gt;&gt;&gt;         ... 27 more
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         Do you have idea if I am missing out anything here.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         Regards,
&gt; &gt;&gt;&gt;         Satish
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         ----- Original Message -----
&gt; &gt;&gt;&gt;         From: "Arne v.Irmer" &lt; Arne.vonIrmer@uni-dortmund.de
&gt; &gt;&gt;&gt;         &lt;mailto:Arne.vonIrmer@uni-dortmund.de&gt;&gt;
&gt; &gt;&gt;&gt;         To: "Slide Users Mailing List" &lt;slide-user@jakarta.apache.org
&gt; &gt;&gt;&gt;         &lt;mailto:slide-user@jakarta.apache.org&gt;&gt;
&gt; &gt;&gt;&gt;         Sent: Friday, September 14, 2007 4:22 PM
&gt; &gt;&gt;&gt;         Subject: Re: Authentication with Slide - Slide vs tomcat Realm
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; Hi Satish,
&gt; &gt;&gt;&gt;         &gt; things are easy, if you look at the used technics: Silde is
&gt; &gt;&gt;&gt;         a servlet in
&gt; &gt;&gt;&gt;         &gt; tomcat and uses the authentication mechanism of tomcat. This
&gt; &gt;&gt;&gt;         includes
&gt; &gt;&gt;&gt;         &gt; such nice things like the sso-Valve.
&gt; &gt;&gt;&gt;         &gt; What you have to implement a user management that does both:
&gt; &gt;&gt;&gt;         &gt; 1. Creating/Deleting the user in silde by just
&gt; &gt;&gt;&gt;         creating/deleting a
&gt; &gt;&gt;&gt;         &gt; collection with the user name in /user (default value). Tip:
&gt; &gt;&gt;&gt;         Look at the
&gt; &gt;&gt;&gt;         &gt; powerful roles mechanism in slide.
&gt; &gt;&gt;&gt;         &gt; 2. Doing the JAAS-Authentication.
&gt; &gt;&gt;&gt;         &gt; This is how we did it here.
&gt; &gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;         &gt; Yours
&gt; &gt;&gt;&gt;         &gt;  Arne
&gt; &gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;         &gt; Satish schrieb:
&gt; &gt;&gt;&gt;         &gt; &gt; Hey Arne
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; Thanks for quick reponse.
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; Do you mean here that I should take steps below to
&gt; &gt;&gt;&gt;         implemnt authetication,
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; - configure Slide realm, configure tomcat to use Slide
&gt; &gt;&gt;&gt;         users for
&gt; &gt;&gt;&gt;         &gt; &gt; authentication
&gt; &gt;&gt;&gt;         &gt; &gt; - configure JAAS for tomcat
&gt; &gt;&gt;&gt;         &gt; &gt; - use JAAS API to authenticate the requests,
&gt; &gt;&gt;&gt;         &gt; &gt;   so here JAAS will ask tomcat for authetication -&gt;
tomcat
&gt; &gt;&gt;&gt;         will check Slide
&gt; &gt;&gt;&gt;         &gt; &gt; user database
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; Is is somthing gonna happen...?
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; Thanks.
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; Regards,
&gt; &gt;&gt;&gt;         &gt; &gt; Satish
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; ----- Original Message -----
&gt; &gt;&gt;&gt;         &gt; &gt; From: "Arne v.Irmer" &lt;Arne.vonIrmer@uni-dortmund.de
&gt; &gt;&gt;&gt;         &lt;mailto:Arne.vonIrmer@uni-dortmund.de&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt; To: "Slide Users Mailing List" &lt;
&gt; &gt;&gt;&gt;         slide-user@jakarta.apache.org
&gt; &gt;&gt;&gt;         &lt;mailto:slide-user@jakarta.apache.org&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt; Sent: Friday, September 14, 2007 2:50 PM
&gt; &gt;&gt;&gt;         &gt; &gt; Subject: Re: Authentication with Slide - Slide vs tomcat
&gt; &gt;&gt;&gt;
&gt; &gt; Realm
&gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt; Hi Satish,
&gt; &gt;&gt;&gt;         &gt; &gt;&gt; look for JAAS-Authentication that is a standard API
that
&gt; &gt;&gt;&gt;         works pretty
&gt; &gt;&gt;&gt;         &gt; &gt;&gt; well with tomcat. A good introduction is found at
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;
http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas.html
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt; Yours
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;  Arne
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt; Satish schrieb:
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; Hi
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; I need to authentication with Slide, there are
two ways
&gt; &gt;&gt;&gt;         I can see
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; I am thinking of using Slide realm and configuring
&gt; &gt;&gt;&gt;         tomcat to use Slide
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt; user database for authentication.
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; Otherwise if I rely completely on tomcat realm,
typical
&gt; &gt;&gt;&gt;         tomcat-users.xml
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt; file based, authetication, I need to add user two places
-
&gt; &gt;&gt;&gt;         Slide and
&gt; &gt;&gt;&gt;         &gt; &gt; tomcat-user, which is problem.
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; Can any body suggests on
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; #1 how can I configure tomcat to use the Slide
users for
&gt; &gt;&gt;&gt;         authentication?
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; #2 how can I actually autheticate request of tomcat
&gt; &gt;&gt;&gt;         programatically, is
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt; any API available?
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; What I am looking for is authenticating user with
Slide.
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; Any suggestion is valuable for me.
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; Regards,
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; Satish
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; Disclaimer:
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt; This e-mail may contain Privileged/Confidential
&gt; &gt;&gt;&gt;         information and is
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt; intended only for the individual(s) named. Any review,
&gt; &gt;&gt;&gt;         retransmission,
&gt; &gt;&gt;&gt;         &gt; &gt; dissemination or other use of, or taking of any action
in
&gt; &gt;&gt;&gt;         reliance upon this
&gt; &gt;&gt;&gt;         &gt; &gt; information by persons or entities other than the intended
&gt; &gt;&gt;&gt;         recipient is
&gt; &gt;&gt;&gt;         &gt; &gt; prohibited. Please notify the sender, if you have received
&gt; &gt;&gt;&gt;         this e-mail by
&gt; &gt;&gt;&gt;         &gt; &gt; mistake and delete it from your system. Information in
&gt; &gt;&gt;&gt;         this message that
&gt; &gt;&gt;&gt;         &gt; &gt; does not relate to the official business of the company
&gt; &gt;&gt;&gt;         shall be understood
&gt; &gt;&gt;&gt;         &gt; &gt; as neither given nor endorsed by it. E-mail transmission
&gt; &gt;&gt;&gt;         cannot be
&gt; &gt;&gt;&gt;         &gt; &gt; guaranteed to be secure or error-free. The sender does
not
&gt; &gt;&gt;&gt;         accept liability
&gt; &gt;&gt;&gt;         &gt; &gt; for any errors or omissions in the contents of this
&gt; &gt;&gt;&gt;         message which arise as a
&gt; &gt;&gt;&gt;         &gt; &gt; result of e-mail transmission. If verification is required
&gt; &gt;&gt;&gt;         please request a
&gt; &gt;&gt;&gt;         &gt; &gt; hard-copy version. Visit us at
&gt; &gt;&gt;&gt;         http://www.harbinger-systems.com/
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;   ---------------------------------------------------------------------
&gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt; To unsubscribe, e-mail:
&gt; &gt;&gt;&gt;         slide-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt;&gt;         &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt; For additional commands, e-mail:
&gt; &gt;&gt;&gt;         slide-user-help@jakarta.apache.org
&gt; &gt;&gt;&gt;         &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;&gt;
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt; &gt; Disclaimer:
&gt; &gt;&gt;&gt;         &gt; &gt; This e-mail may contain Privileged/Confidential
&gt; &gt;&gt;&gt;         information and is intended only for the individual(s) named.
&gt; &gt;&gt;&gt;         Any review, retransmission, dissemination or other use of, or
&gt; &gt;&gt;&gt;         taking of any action in reliance upon this information by
&gt; &gt;&gt;&gt;         persons or entities other than the intended recipient is
&gt; &gt;&gt;&gt;         prohibited. Please notify the sender, if you have received
&gt; &gt;&gt;&gt;         this e-mail by mistake and delete it from your system.
&gt; &gt;&gt;&gt;         Information in this message that does not relate to the
&gt; &gt;&gt;&gt;         official business of the company shall be understood as
&gt; &gt;&gt;&gt;         neither given nor endorsed by it. E-mail transmission cannot
&gt; &gt;&gt;&gt;         be guaranteed to be secure or error-free. The sender does not
&gt; &gt;&gt;&gt;         accept liability for any errors or omissions in the contents
&gt; &gt;&gt;&gt;         of this message which arise as a result of e-mail
&gt; &gt;&gt;&gt;         transmission. If verification is required please request a
&gt; &gt;&gt;&gt;         hard-copy version. Visit us at
http://www.harbinger-systems.com/
&gt; &gt;&gt;&gt;         &gt; &gt;
&gt; &gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;
&gt; &gt;   ---------------------------------------------------------------------
&gt; &gt;
&gt; &gt;&gt;&gt;         &gt; To unsubscribe, e-mail:
&gt; &gt;&gt;&gt;         slide-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt;&gt;         &lt;mailto:slide-user-unsubscribe@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;         &gt; For additional commands, e-mail:
&gt; &gt;&gt;&gt;         slide-user-help@jakarta.apache.org
&gt; &gt;&gt;&gt;         &lt;mailto:slide-user-help@jakarta.apache.org&gt;
&gt; &gt;&gt;&gt;         &gt;
&gt; &gt;&gt;&gt;         Disclaimer:
&gt; &gt;&gt;&gt;         This e-mail may contain Privileged/Confidential information
&gt; &gt;&gt;&gt;         and is intended only for the individual(s) named. Any review,
&gt; &gt;&gt;&gt;         retransmission, dissemination or other use of, or taking of
&gt; &gt;&gt;&gt;         any action in reliance upon this information by persons or
&gt; &gt;&gt;&gt;         entities other than the intended recipient is prohibited.
&gt; &gt;&gt;&gt;         Please notify the sender, if you have received this e-mail by
&gt; &gt;&gt;&gt;         mistake and delete it from your system. Information in this
&gt; &gt;&gt;&gt;         message that does not relate to the official business of the
&gt; &gt;&gt;&gt;         company shall be understood as neither given nor endorsed by
&gt; &gt;&gt;&gt;         it. E-mail transmission cannot be guaranteed to be secure or
&gt; &gt;&gt;&gt;         error-free. The sender does not accept liability for any
&gt; &gt;&gt;&gt;         errors or omissions in the contents of this message which
&gt; &gt;&gt;&gt;         arise as a result of e-mail transmission. If verification is
&gt; &gt;&gt;&gt;         required please request a hard-copy version. Visit us at
&gt; &gt;&gt;&gt;         http://www.harbinger-systems.com/
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Disclaimer:
&gt; &gt;&gt;&gt; This e-mail may contain Privileged/Confidential information and
&gt; &gt;&gt;&gt;  is intended only for the individual(s) named. Any review,
&gt; &gt;&gt;&gt;
&gt; &gt; retransmission, d
&gt; &gt;
&gt; &gt;&gt;&gt; issemination or other use of, or taking of any action in reliance upon
&gt; &gt;&gt;&gt;
&gt; &gt; this
&gt; &gt;
&gt; &gt;&gt;&gt; information by persons or entities other than the intended recipient
is
&gt; &gt;&gt;&gt;
&gt; &gt; proh
&gt; &gt;
&gt; &gt;&gt;&gt; ibited. Please notify the sender, if you have received this e-mail by
&gt; &gt;&gt;&gt;
&gt; &gt; mistak
&gt; &gt;
&gt; &gt;&gt;&gt; e and delete it from your system. Information in this message that
does
&gt; &gt;&gt;&gt;
&gt; &gt; not
&gt; &gt;
&gt; &gt;&gt;&gt; relate to the official business of the company shall be understood as
&gt; &gt;&gt;&gt;
&gt; &gt; neithe
&gt; &gt;
&gt; &gt;&gt;&gt; r given nor endorsed by it. E-mail transmission cannot be guaranteed
to
&gt; &gt;&gt;&gt;
&gt; &gt; be s
&gt; &gt;
&gt; &gt;&gt;&gt; ecure or error-free. The sender does not accept liability for any
errors
&gt; &gt;&gt;&gt;
&gt; &gt; or
&gt; &gt;
&gt; &gt;&gt;&gt; omissions in the contents of this message which arise as a result of
&gt; &gt;&gt;&gt;
&gt; &gt; e-mail
&gt; &gt;
&gt; &gt;&gt;&gt; transmission. If verification is required please request a hard-copy
&gt; &gt;&gt;&gt;
&gt; &gt; version
&gt; &gt;
&gt; &gt;&gt;&gt; . Visit us at http://www.harbinger-systems.com/
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt; -- 
&gt; &gt;&gt; Dipl.-Phys. Arne v.Irmer
&gt; &gt;&gt; Medienzentrum Universitt Dortmund
&gt; &gt;&gt; Am Hauert 12a
&gt; &gt;&gt; 44227 Dortmund
&gt; &gt;&gt; Tel.: ++49 231 755 7127
&gt; &gt;&gt; Fax : ++49 231 755 4597
&gt; &gt;&gt;
&gt; &gt;&gt; ---------------------------------------------------------------------
&gt; &gt;&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt; Disclaimer:
&gt; &gt; This e-mail may contain Privileged/Confidential information and is
intended only for the individual(s) named. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. Please notify the sender, if you have received this e-mail by
mistake and delete it from your system. Information in this message that
does not relate to the official business of the company shall be understood
as neither given nor endorsed by it. E-mail transmission cannot be
guaranteed to be secure or error-free. The sender does not accept liability
for any errors or omissions in the contents of this message which arise as a
result of e-mail transmission. If verification is required please request a
hard-copy version. Visit us at http://www.harbinger-systems.com/
&gt; &gt;
&gt;
&gt;
&gt; -- 
&gt; Dipl.-Phys. Arne v.Irmer
&gt; Medienzentrum Universitt Dortmund
&gt; Am Hauert 12a
&gt; 44227 Dortmund
&gt; Tel.: ++49 231 755 7127
&gt; Fax : ++49 231 755 4597
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: slide-user-help@jakarta.apache.org
&gt;

Disclaimer:
This e-mail may contain Privileged/Confidential information and is intended only for the individual(s)
named. Any review, retransmission, dissemination or other use of, or taking of any action
in reliance upon this information by persons or entities other than the intended recipient
is prohibited. Please notify the sender, if you have received this e-mail by mistake and delete
it from your system. Information in this message that does not relate to the official business
of the company shall be understood as neither given nor endorsed by it. E-mail transmission
cannot be guaranteed to be secure or error-free. The sender does not accept liability for
any errors or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version. Visit us at
http://www.harbinger-systems.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
</feed>
